Recent

Author Topic: Fpcupdeluxe  (Read 792622 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #180 on: December 05, 2016, 05:53:41 pm »
I think that would be a very valid action.

Info: (lazarus) Executable="/home/mike/Apps/lazarus/fpc/bin/x86_64-linux/fpc.sh" ok !
Info: (lazarus) Param[7]="-Fi/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux" ???
Info: (lazarus) Param[8]="-Fl/home/mike/Apps/fpcup/arm-libs" ???
Info: (lazarus) Param[9]="-Fl/opt/gnome/lib" ???
Info: (lazarus) Param[14]="-Fu/home/mike/source/Lazarus/CrossCompHW2/" ???
Info: (lazarus) Param[15]="-FU/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux/" ???

macmike

  • Jr. Member
  • **
  • Posts: 85
    • Soft-Practice
Re: Fpcupdeluxe
« Reply #181 on: December 05, 2016, 09:22:34 pm »
Ok, totally fresh install. I even made a new helloworld project.

Native compiler for Linux64 installed and worked perfectly.
Cross-compiler installed without any error messages.

I haven't changed any settings, options or config.
I added a build mode for linux-arm and then tried to cross-compile, still had those two warnings and an unspecified error:

Code: Pascal  [Select][+][-]
  1. Compile Project, Mode: RPi, CPU: arm, Target: helloworld2-arm-linux: Exit code 256, Errors: 1, Warnings: 2
  2. helloworld2.lpr(22,0) Warning: "crti.o" not found, this will probably cause a linking failure
  3. helloworld2.lpr(22,0) Warning: "crtn.o" not found, this will probably cause a linking failure
  4. helloworld2.lpr(22,0) Error: Error while linking
  5.  

My install dir is: /home/mike/Apps/fpcup/crosslaz
My project source is in: /home/mike/source/Lazarus/HelloWorld2CrossComileTest (with a spelling mistake) which explains 13 and 14 below

Code: Pascal  [Select][+][-]
  1. using config file /home/mike/Apps/fpcup/crosslaz/lazarus/lazarus.cfg
  2. Adding "--primary-config-path=/home/mike/Apps/fpcup/crosslaz/config_lazarus" as a parameter
  3.  is a file
  4. SetPrimaryConfigPath NewValue="/home/mike/Apps/fpcup/crosslaz/config_lazarus" -> "/home/mike/Apps/fpcup/crosslaz/config_lazarus"
  5. TLazarusManager.Run starting /home/mike/Apps/fpcup/crosslaz/lazarus/lazarus ...
  6. using config file /home/mike/Apps/fpcup/crosslaz/lazarus/lazarus.cfg
  7. SetPrimaryConfigPath NewValue="/home/mike/Apps/fpcup/crosslaz/config_lazarus" -> "/home/mike/Apps/fpcup/crosslaz/config_lazarus"
  8. SetPrimaryConfigPath NewValue="/home/mike/Apps/fpcup/crosslaz/config_lazarus" -> "/home/mike/Apps/fpcup/crosslaz/config_lazarus"
  9. Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/mike/Apps/fpcup/crosslaz/config_lazarus/"
  10. Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
  11. Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New=x86_64-linux-gtk2 FPC=True LCL=False
  12. Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New=arm-linux-gtk2 FPC=True LCL=False
  13. TLazSourceFileManager.LoadLFM Creating designer for hidden component of /home/mike/source/Lazarus/HelloWorld2CrossComileTest/ufrmmain.pas
  14. TLazSourceFileManager.InitOpenedProjectFile select form in designer: frmMain:TfrmMain TDesigner
  15. Hint: (lazarus) [TMainIDE.DoRunProject] INIT
  16. Hint: (lazarus) Project needs building: Compile was incomplete for Project
  17. [TCompiler.Compile] CmdLine="/home/mike/Apps/fpcup/crosslaz/fpc/bin/x86_64-linux/fpc.sh  -Tlinux -Parm -MObjFPC -Scghi -O1 -l -vewnhibq -Fi/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux -Fl/opt/gnome/lib -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux/gtk2 -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/components/lazutils/lib/arm-linux -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/packager/units/arm-linux -Fu/home/mike/source/Lazarus/HelloWorld2CrossComileTest/ -FU/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux/ -ohelloworld2-arm-linux -dLCL -dLCLgtk2 helloworld2.lpr"
  18. Info: (lazarus) Execute Title="Compile Project, Mode: RPi, CPU: arm, Target: helloworld2-arm-linux"
  19. Info: (lazarus) Working Directory="/home/mike/source/Lazarus/HelloWorld2CrossComileTest/"
  20. Info: (lazarus) Executable="/home/mike/Apps/fpcup/crosslaz/fpc/bin/x86_64-linux/fpc.sh"
  21. Info: (lazarus) Param[0]="-Tlinux"
  22. Info: (lazarus) Param[1]="-Parm"
  23. Info: (lazarus) Param[2]="-MObjFPC"
  24. Info: (lazarus) Param[3]="-Scghi"
  25. Info: (lazarus) Param[4]="-O1"
  26. Info: (lazarus) Param[5]="-l"
  27. Info: (lazarus) Param[6]="-vewnhibq"
  28. Info: (lazarus) Param[7]="-Fi/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux"
  29. Info: (lazarus) Param[8]="-Fl/opt/gnome/lib"
  30. Info: (lazarus) Param[9]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux/gtk2"
  31. Info: (lazarus) Param[10]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux"
  32. Info: (lazarus) Param[11]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/components/lazutils/lib/arm-linux"
  33. Info: (lazarus) Param[12]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/packager/units/arm-linux"
  34. Info: (lazarus) Param[13]="-Fu/home/mike/source/Lazarus/HelloWorld2CrossComileTest/"
  35. Info: (lazarus) Param[14]="-FU/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux/"
  36. Info: (lazarus) Param[15]="-ohelloworld2-arm-linux"
  37. Info: (lazarus) Param[16]="-dLCL"
  38. Info: (lazarus) Param[17]="-dLCLgtk2"
  39. Info: (lazarus) Param[18]="helloworld2.lpr"
  40. [TCompiler.Compile] end
  41. Hint: (lazarus) [TMainIDE.DoBuildProject] compiler time in s: 0.349999987520278
  42. Error: (lazarus) [TMainIDE.DoBuildProject] Compile failed
  43.  

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #182 on: December 05, 2016, 09:37:02 pm »
Would you mind posting your fpc.cfg ?

macmike

  • Jr. Member
  • **
  • Posts: 85
    • Soft-Practice
Re: Fpcupdeluxe
« Reply #183 on: December 05, 2016, 09:52:26 pm »
I don't have a ~/.fpc.cfg or a PPC_CONFIG_PATH env variable set.

I've got a fpc.cfg in /etc :
Code: Pascal  [Select][+][-]
  1. #
  2. # Config file generated by fpcmkcfg on 15-11-16 - 17:45:04
  3. # Example fpc.cfg for Free Pascal Compiler
  4. #
  5.  
  6. # ----------------------
  7. # Defines (preprocessor)
  8. # ----------------------
  9.  
  10. #
  11. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  12. #
  13. # -d is the same as #DEFINE
  14. # -u is the same as #UNDEF
  15. #
  16.  
  17. #
  18. # Some examples (for switches see below, and the -? helppages)
  19. #
  20. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  21. #
  22.  
  23. # For a release compile with optimizes and strip debuginfo
  24. #IFDEF RELEASE
  25.   -O2
  26.   -Xs
  27.   #WRITE Compiling Release Version
  28. #ENDIF
  29.  
  30. # For a debug version compile with debuginfo and all codegeneration checks on
  31. #IFDEF DEBUG
  32.   -gl
  33.   -Crtoi
  34.   #WRITE Compiling Debug Version
  35. #ENDIF
  36.  
  37. # assembling
  38. #ifdef darwin
  39. # use pipes instead of temporary files for assembling
  40. -ap
  41. # path to Xcode 4.3+ utilities (no problem if it doesn't exist)
  42. -FD/Applications/Xcode.app/Contents/Developer/usr/bin
  43. #endif
  44.  
  45. # ----------------
  46. # Parsing switches
  47. # ----------------
  48.  
  49. # Pascal language mode
  50. #      -Mfpc      free pascal dialect (default)
  51. #      -Mobjfpc   switch some Delphi 2 extensions on
  52. #      -Mdelphi   tries to be Delphi compatible
  53. #      -Mtp       tries to be TP/BP 7.0 compatible
  54. #      -Mgpc      tries to be gpc compatible
  55. #      -Mmacpas   tries to be compatible to the macintosh pascal dialects
  56. #
  57. # Turn on Object Pascal extensions by default
  58. #-Mobjfpc
  59.  
  60. # Assembler reader mode
  61. #      -Rdefault  use default assembler
  62. #      -Ratt      read AT&T style assembler
  63. #      -Rintel    read Intel style assembler
  64. #
  65. # All assembler blocks are AT&T styled by default
  66. #-Ratt
  67.  
  68. # Semantic checking
  69. #      -S2        same as -Mobjfpc
  70. #      -Sc        supports operators like C (*=,+=,/= and -=)
  71. #      -Sa        include assertion code.
  72. #      -Sd        same as -Mdelphi
  73. #      -Se<x>     error options. <x> is a combination of the following:
  74. #         <n> : compiler stops after <n> errors (default is 1)
  75. #         w   : compiler stops also after warnings
  76. #         n   : compiler stops also after notes
  77. #         h   : compiler stops also after hints
  78. #      -Sg        allow LABEL and GOTO
  79. #      -Sh        Use ansistrings
  80. #      -Si        support C++ styled INLINE
  81. #      -Sk        load fpcylix unit
  82. #      -SI<x>     set interface style to <x>
  83. #         -SIcom    COM compatible interface (default)
  84. #         -SIcorba  CORBA compatible interface
  85. #      -Sm        support macros like C (global)
  86. #      -So        same as -Mtp
  87. #      -Sp        same as -Mgpc
  88. #      -Ss        constructor name must be init (destructor must be done)
  89. #      -Sx        enable exception keywords (default in Delphi/ObjFPC modes)
  90. #
  91. # Allow goto, inline, C-operators, C-vars
  92. -Sgic
  93.  
  94. # ---------------
  95. # Code generation
  96. # ---------------
  97.  
  98. # Uncomment the next line if you always want static/dynamic units by default
  99. # (can be overruled with -CD, -CS at the commandline)
  100. #-CS
  101. #-CD
  102.  
  103. # Set the default heapsize to 8Mb
  104. #-Ch8000000
  105.  
  106. # Set default codegeneration checks (iocheck, overflow, range, stack)
  107. #-Ci
  108. #-Co
  109. #-Cr
  110. #-Ct
  111.  
  112. # Optimizer switches
  113. # -Os        generate smaller code
  114. # -Oa=N      set alignment to N
  115. # -O1        level 1 optimizations (quick optimizations, debuggable)
  116. # -O2        level 2 optimizations (-O1 + optimizations which make debugging more difficult)
  117. # -O3        level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)
  118. # -Oo<x>     switch on optimalization x. See fpc -i for possible values
  119. # -OoNO<x>   switch off optimalization x. See fpc -i for possible values
  120. # -Op<x>     set target cpu for optimizing, see fpc -i for possible values
  121.  
  122. #ifdef darwin
  123. #ifdef cpui386
  124. -Cppentiumm
  125. -Oppentiumm
  126. #endif
  127. #endif
  128.  
  129. # -----------------------
  130. # Set Filenames and Paths
  131. # -----------------------
  132.  
  133. # Both slashes and backslashes are allowed in paths
  134.  
  135. # path to the messagefile, not necessary anymore but can be used to override
  136. # the default language
  137. #-Fr/usr/lib/fpc/$fpcversion/msg/errore.msg
  138. #-Fr/usr/lib/fpc/$fpcversion/msg/errorn.msg
  139. #-Fr/usr/lib/fpc/$fpcversion/msg/errores.msg
  140. #-Fr/usr/lib/fpc/$fpcversion/msg/errord.msg
  141. #-Fr/usr/lib/fpc/$fpcversion/msg/errorr.msg
  142.  
  143. # search path for unicode binary files (FPC 2.x does not know this switch)
  144. #ifndef VER2
  145. -FM/usr/lib/fpc/../../share/fpc/$fpcversion/unicode/
  146. #endif
  147.  
  148. # searchpath for units and other system dependent things
  149. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
  150. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
  151. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
  152.  
  153. #ifdef cpui8086
  154. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/$fpcsubarch-$fpcmemorymodel
  155. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/*
  156. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/rtl
  157. #endif
  158.  
  159. #IFDEF FPCAPACHE_1_3
  160. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd13/
  161. #ELSE
  162. #IFDEF FPCAPACHE_2_0
  163. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd20
  164. #ELSE
  165. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd22
  166. #ENDIF
  167. #ENDIF
  168.  
  169. # searchpath for fppkg user-specific packages
  170. -Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/*
  171.  
  172. # path to the gcclib
  173. #ifdef cpui386
  174. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  175. #endif
  176. #ifdef cpux86_64
  177. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  178. #endif
  179.  
  180. # searchpath for libraries
  181. #-Fl/usr/lib/fpc/$fpcversion/lib
  182. #-Fl/lib;/usr/lib
  183. -Fl/usr/lib/fpc/$fpcversion/lib/$FPCTARGET
  184.  
  185. # searchpath for tools
  186. -FD/usr/lib/fpc/$fpcversion/bin/$FPCTARGET
  187.  
  188. #IFNDEF CPUI386
  189. #IFNDEF CPUAMD64
  190. #DEFINE NEEDCROSSBINUTILS
  191. #ENDIF
  192. #ENDIF
  193.  
  194. #IFNDEF Linux
  195. #DEFINE NEEDCROSSBINUTILS
  196. #ENDIF
  197.  
  198. # never need cross-prefix when targeting the JVM
  199. # (no native compiler, always cross-compiling)
  200. #ifdef cpujvm
  201. #undef NEEDCROSSBINUTILS
  202. #endif
  203.  
  204. # for android cross-prefix is set by compiler
  205. #ifdef android
  206. #undef NEEDCROSSBINUTILS
  207. #endif
  208.  
  209. # never need cross-prefix when targeting the i8086
  210. # (no native compiler, always cross-compiling)
  211. #ifdef cpui8086
  212. #undef NEEDCROSSBINUTILS
  213. #endif
  214.  
  215. # never need cross-prefix when targeting the i8086
  216. # (no native compiler, always cross-compiling)
  217. #ifdef cpujvm
  218. #undef NEEDCROSSBINUTILS
  219. #endif
  220.  
  221. # binutils prefix for cross compiling
  222. #IFDEF FPC_CROSSCOMPILING
  223. #IFDEF NEEDCROSSBINUTILS
  224.  -XP$FPCTARGET-
  225. #ENDIF
  226. #ENDIF
  227.  
  228.  
  229. # -------------
  230. # Linking
  231. # -------------
  232.  
  233. # generate always debugging information for GDB (slows down the compiling
  234. # process)
  235. #      -gc        generate checks for pointers
  236. #      -gd        use dbx
  237. #      -gg        use gsym
  238. #      -gh        use heap trace unit (for memory leak debugging)
  239. #      -gl        use line info unit to show more info for backtraces
  240. #      -gv        generates programs tracable with valgrind
  241. #      -gw        generate dwarf debugging info
  242. #
  243. # Enable debuginfo and use the line info unit by default
  244. #-gl
  245.  
  246. # always pass an option to the linker
  247. #-k-s
  248.  
  249. # Always strip debuginfo from the executable
  250. -Xs
  251.  
  252. # Always use smartlinking on i8086, because the system unit exceeds the 64kb
  253. # code limit
  254. #ifdef cpui8086
  255. -CX
  256. -XX
  257. #endif
  258.  
  259.  
  260. # -------------
  261. # Miscellaneous
  262. # -------------
  263.  
  264. # Write always a nice FPC logo ;)
  265. -l
  266.  
  267. # Verbosity
  268. #      e : Show errors (default)       d : Show debug info
  269. #      w : Show warnings               u : Show unit info
  270. #      n : Show notes                  t : Show tried/used files
  271. #      h : Show hints                  s : Show time stamps
  272. #      i : Show general info           q : Show message numbers
  273. #      l : Show linenumbers            c : Show conditionals
  274. #      a : Show everything             0 : Show nothing (except errors)
  275. #      b : Write file names messages   r : Rhide/GCC compatibility mode
  276. #          with full path              x : Executable info (Win32 only)
  277. #      v : write fpcdebug.txt with     p : Write tree.log with parse tree
  278. #          lots of debugging info
  279. #
  280. # Display Info, Warnings and Notes
  281. -viwn
  282. # If you don't want so much verbosity use
  283. #-vw
  284.  

and one created by fpcupdeluxe in ~/Apps/fpcupdeluxe/crosslaz/fpc/bin/x86_64-linux:

Code: Pascal  [Select][+][-]
  1. #
  2. # Config file generated by fpcmkcfg on 5-12-16 - 19:59:44
  3. # Example fpc.cfg for Free Pascal Compiler
  4. #
  5.  
  6. # ----------------------
  7. # Defines (preprocessor)
  8. # ----------------------
  9.  
  10. #
  11. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  12. #
  13. # -d is the same as #DEFINE
  14. # -u is the same as #UNDEF
  15. #
  16.  
  17. #
  18. # Some examples (for switches see below, and the -? helppages)
  19. #
  20. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  21. #
  22.  
  23. # For a release compile with optimizes and strip debuginfo
  24. #IFDEF RELEASE
  25.   -O2
  26.   -Xs
  27.   #WRITE Compiling Release Version
  28. #ENDIF
  29.  
  30. # For a debug version compile with debuginfo and all codegeneration checks on
  31. #IFDEF DEBUG
  32.   -gl
  33.   -Crtoi
  34.   #WRITE Compiling Debug Version
  35. #ENDIF
  36.  
  37. # assembling
  38. #ifdef darwin
  39. # use pipes instead of temporary files for assembling
  40. #IFNDEF FPC_CROSSCOMPILING
  41. -ap
  42. #ENDIF
  43. # path to Xcode 4.3+ utilities (no problem if it doesn't exist)
  44. -FD/Applications/Xcode.app/Contents/Developer/usr/bin
  45. #endif
  46.  
  47. # ----------------
  48. # Parsing switches
  49. # ----------------
  50.  
  51. # Pascal language mode
  52. #      -Mfpc      free pascal dialect (default)
  53. #      -Mobjfpc   switch some Delphi 2 extensions on
  54. #      -Mdelphi   tries to be Delphi compatible
  55. #      -Mtp       tries to be TP/BP 7.0 compatible
  56. #      -Mgpc      tries to be gpc compatible
  57. #      -Mmacpas   tries to be compatible to the macintosh pascal dialects
  58. #
  59. # Turn on Object Pascal extensions by default
  60. #-Mobjfpc
  61.  
  62. # Assembler reader mode
  63. #      -Rdefault  use default assembler
  64. #      -Ratt      read AT&T style assembler
  65. #      -Rintel    read Intel style assembler
  66. #
  67. # All assembler blocks are AT&T styled by default
  68. #-Ratt
  69.  
  70. # Semantic checking
  71. #      -S2        same as -Mobjfpc
  72. #      -Sc        supports operators like C (*=,+=,/= and -=)
  73. #      -Sa        include assertion code.
  74. #      -Sd        same as -Mdelphi
  75. #      -Se<x>     error options. <x> is a combination of the following:
  76. #         <n> : compiler stops after <n> errors (default is 1)
  77. #         w   : compiler stops also after warnings
  78. #         n   : compiler stops also after notes
  79. #         h   : compiler stops also after hints
  80. #      -Sg        allow LABEL and GOTO
  81. #      -Sh        Use ansistrings
  82. #      -Si        support C++ styled INLINE
  83. #      -Sk        load fpcylix unit
  84. #      -SI<x>     set interface style to <x>
  85. #         -SIcom    COM compatible interface (default)
  86. #         -SIcorba  CORBA compatible interface
  87. #      -Sm        support macros like C (global)
  88. #      -So        same as -Mtp
  89. #      -Sp        same as -Mgpc
  90. #      -Ss        constructor name must be init (destructor must be done)
  91. #      -Sx        enable exception keywords (default in Delphi/ObjFPC modes)
  92. #
  93. # Allow goto, inline, C-operators, C-vars
  94. -Sgic
  95.  
  96. # ---------------
  97. # Code generation
  98. # ---------------
  99.  
  100. # Uncomment the next line if you always want static/dynamic units by default
  101. # (can be overruled with -CD, -CS at the commandline)
  102. #-CS
  103. #-CD
  104.  
  105. # Set the default heapsize to 8Mb
  106. #-Ch8000000
  107.  
  108. # Set default codegeneration checks (iocheck, overflow, range, stack)
  109. #-Ci
  110. #-Co
  111. #-Cr
  112. #-Ct
  113.  
  114. # Optimizer switches
  115. # -Os        generate smaller code
  116. # -Oa=N      set alignment to N
  117. # -O1        level 1 optimizations (quick optimizations, debuggable)
  118. # -O2        level 2 optimizations (-O1 + optimizations which make debugging more difficult)
  119. # -O3        level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)
  120. # -Oo<x>     switch on optimalization x. See fpc -i for possible values
  121. # -OoNO<x>   switch off optimalization x. See fpc -i for possible values
  122. # -Op<x>     set target cpu for optimizing, see fpc -i for possible values
  123.  
  124. #ifdef darwin
  125. #ifdef cpui386
  126. -Cppentiumm
  127. -Oppentiumm
  128. #endif
  129. #endif
  130.  
  131. # -----------------------
  132. # Set Filenames and Paths
  133. # -----------------------
  134.  
  135. # Both slashes and backslashes are allowed in paths
  136.  
  137. # path to the messagefile, not necessary anymore but can be used to override
  138. # the default language
  139. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errore.msg
  140. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errorn.msg
  141. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errores.msg
  142. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errord.msg
  143. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errorr.msg
  144.  
  145. # search path for unicode binary files (FPC 2.x does not know this switch)
  146. #ifndef VER2
  147. -FM/unicode/
  148. #endif
  149.  
  150. # searchpath for units and other system dependent things
  151. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget
  152. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/*
  153. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/rtl
  154.  
  155. #ifdef cpui8086
  156. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/$fpcsubarch-$fpcmemorymodel
  157. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/*
  158. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/rtl
  159. #endif
  160.  
  161. #IFDEF FPCAPACHE_1_3
  162. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/httpd13/
  163. #ELSE
  164. #IFDEF FPCAPACHE_2_0
  165. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/httpd20
  166. #ELSE
  167. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/httpd22
  168. #ENDIF
  169. #ENDIF
  170.  
  171. # searchpath for fppkg user-specific packages
  172. -Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/*
  173.  
  174. # path to the gcclib
  175. #ifdef cpui386
  176. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  177. #endif
  178. #ifdef cpux86_64
  179. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  180. #endif
  181.  
  182. # searchpath for libraries
  183. #-Fl/home/mike/Apps/fpcup/crosslaz/fpc/lib
  184. #-Fl/lib;/usr/lib
  185. -Fl/home/mike/Apps/fpcup/crosslaz/fpc/lib/$FPCTARGET
  186.  
  187. # searchpath for tools
  188. -FD/home/mike/Apps/fpcup/crosslaz/fpc/bin/$FPCTARGET
  189.  
  190. #IFNDEF CPUI386
  191. #IFNDEF CPUAMD64
  192. #DEFINE NEEDCROSSBINUTILS
  193. #ENDIF
  194. #ENDIF
  195.  
  196. #IFNDEF Linux
  197. #DEFINE NEEDCROSSBINUTILS
  198. #ENDIF
  199.  
  200. # never need cross-prefix when targeting the JVM
  201. # (no native compiler, always cross-compiling)
  202. #ifdef cpujvm
  203. #undef NEEDCROSSBINUTILS
  204. #endif
  205.  
  206. # for android cross-prefix is set by compiler
  207. #ifdef android
  208. #undef NEEDCROSSBINUTILS
  209. #endif
  210.  
  211. # never need cross-prefix when targeting the i8086
  212. # (no native compiler, always cross-compiling)
  213. #ifdef cpui8086
  214. #undef NEEDCROSSBINUTILS
  215. #endif
  216.  
  217. # never need cross-prefix when targeting the i8086
  218. # (no native compiler, always cross-compiling)
  219. #ifdef cpujvm
  220. #undef NEEDCROSSBINUTILS
  221. #endif
  222.  
  223. # binutils prefix for cross compiling
  224. #IFDEF FPC_CROSSCOMPILING
  225. #IFDEF NEEDCROSSBINUTILS
  226.  -XP$FPCTARGET-
  227. #ENDIF
  228. #ENDIF
  229.  
  230.  
  231. # -------------
  232. # Linking
  233. # -------------
  234.  
  235. # generate always debugging information for GDB (slows down the compiling
  236. # process)
  237. #      -gc        generate checks for pointers
  238. #      -gd        use dbx
  239. #      -gg        use gsym
  240. #      -gh        use heap trace unit (for memory leak debugging)
  241. #      -gl        use line info unit to show more info for backtraces
  242. #      -gv        generates programs tracable with valgrind
  243. #      -gw        generate dwarf debugging info
  244. #
  245. # Enable debuginfo and use the line info unit by default
  246. #-gl
  247.  
  248. # always pass an option to the linker
  249. #-k-s
  250.  
  251. # Always strip debuginfo from the executable
  252. -Xs
  253.  
  254. # Always use smartlinking on i8086, because the system unit exceeds the 64kb
  255. # code limit
  256. #ifdef cpui8086
  257. -CX
  258. -XX
  259. #endif
  260.  
  261.  
  262. # -------------
  263. # Miscellaneous
  264. # -------------
  265.  
  266. # Write always a nice FPC logo ;)
  267. -l
  268.  
  269. # Verbosity
  270. #      e : Show errors (default)       d : Show debug info
  271. #      w : Show warnings               u : Show unit info
  272. #      n : Show notes                  t : Show tried/used files
  273. #      h : Show hints                  s : Show time stamps
  274. #      i : Show general info           q : Show message numbers
  275. #      l : Show linenumbers            c : Show conditionals
  276. #      a : Show everything             0 : Show nothing (except errors)
  277. #      b : Write file names messages   r : Rhide/GCC compatibility mode
  278. #          with full path              x : Executable info (Win32 only)
  279. #      v : write fpcdebug.txt with     p : Write tree.log with parse tree
  280. #          lots of debugging info
  281. #
  282. # Display Info, Warnings and Notes
  283. -viwn
  284. # If you don't want so much verbosity use
  285. #-vw
  286. # fpcup:
  287. # Adding binary tools paths to
  288. # plain bin dir and architecture bin dir so
  289. # fpc 3.1+ fpcres etc can be found.
  290. -FD/home/mike/Apps/fpcup/crosslaz/fpc/bin/x86_64-linux/;/home/mike/Apps/fpcup/crosslaz/fpc/bin/
  291. # library search path
  292. -Fl/usr/lib/$FPCTARGET;/usr/lib/$FPCTARGET-gnu;/lib/$FPCTARGET;/lib/$FPCTARGET-gnu;/usr/lib/gcc/x86_64-linux-gnu/4.8.4
  293.  
  294.  
  295. # begin fpcup do not remove arm-linux
  296. #cross compile settings dependent on both target OS and target CPU
  297. #IFDEF FPC_CROSSCOMPILING
  298. #IFDEF CPUARM
  299. #IFDEF LINUX
  300. # Inserted by fpcup 5-12-16 20:09:45
  301. -CpARMV7A
  302. -CfVFPV3
  303. -OoFASTMATH
  304. -CaEABIHF
  305. -FD/home/mike/Apps/lazarus/cross/bin/arm-linux/
  306. -XParm-linux-gnueabihf-
  307. -Xd
  308. -Fl/usr/local/lib/
  309. -Xr/usr/lib
  310. #ENDIF
  311. #ENDIF
  312. #ENDIF
  313. # end fpcup do not remove
  314.  

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #184 on: December 05, 2016, 10:01:07 pm »
All clear now.
Will solve ... tomorrow !

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #185 on: December 06, 2016, 10:21:32 am »
@macmike: as promissed.

Your fpc.cfg says it all:
Code: Pascal  [Select][+][-]
  1. -FD/home/mike/Apps/lazarus/cross/bin/arm-linux/
  2. -Fl/usr/local/lib/
  3.  
It should have been:
Code: Pascal  [Select][+][-]
  1. -FD/home/mike/Apps/lazarus/cross/bin/arm-linux/
  2. -Fl/home/mike/Apps/lazarus/cross/lib/arm-linux/
  3.  
AFAIK, this could only have happened if you have choosen the full-auto option for the location of the bins and libs.
There was a mistake in the search system for the libs when this option was choosen.
(but it would have been better if I knew about this setting earlier)

More accurate:
Fpcupdeluxe did download the cross-bins, but not the cross-libs due to the fact that it found (wrong) libs in /usr/local/lib.

A new version of fpcupdeluxe is available online:
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0d
Please download and run the cross-installer again.
If all goes well, it will download the correct libs, and set your fpc.cfg correct.
Cross-compile (with {$linklib libc_nonshared.a}) should now function.

mdalacu

  • Full Member
  • ***
  • Posts: 233
    • dmSimpleApps
Re: Fpcupdeluxe
« Reply #186 on: December 06, 2016, 11:30:04 am »
I have this problem in every fpcdeluxe version. I don't know what to do. I have configured proxy and i also have env variables for proxy. Ubuntu 16.10 x64.
Please help
Quote
Going to install/update FPC and Lazarus with given options.
FPCUP(deluxe) is starting up.

Bootstrap dir:      /home/mdalacu/fpcupdeluxe/fpcbootstrap
FPC URL:               http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
FPC options:           
FPC source directory:  /home/mdalacu/fpcupdeluxe/fpc
FPC install directory: /home/mdalacu/fpcupdeluxe/fpc
Lazarus URL:        http://svn.freepascal.org/svn/lazarus/branches/fixes_1_6
Lazarus options:   
Lazarus directory:  /home/mdalacu/fpcupdeluxe/lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 6-12-16 12:21:31: fpcup010 (20161204) started.
Executing : as "--version" (working dir: )
GNU assembler (GNU Binutils for Ubuntu) 2.27
Copyright (C) 2016 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-gnu'.
Executing : unzip "-v" (working dir: )
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with gcc 5.2.1 20151119 for Unix (Linux ELF).

UnZip special compilation options:
        ACORN_FTYPE_NFS
        COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
        SET_DIR_ATTRIB
        SYMLINKS (symbolic links supported, if RTL and file system permit)
        TIMESTAMP
        UNIXBACKUP
        USE_EF_UT_TIME
        USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
        USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
        UNICODE_SUPPORT [wide-chars, char coding: UTF-8] (handle UTF-8 paths)
        LARGE_FILE_SUPPORT (large files over 2 GiB supported)
        ZIP64_SUPPORT (archives using Zip64 for large files supported)
        USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.6, 6-Sept-2010)
        VMS_TEXT_CONV
        WILD_STOP_AT_DIR
        [decryption, version 2.11 of 05 Jan 2007]

UnZip and ZipInfo environment options:
           UNZIP:  [none]
        UNZIPOPT:  [none]
         ZIPINFO:  [none]
      ZIPINFOOPT:  [none]
fpcupdeluxe: info: SVN client found: /usr/bin/svn
Executing : bunzip2 "--help" (working dir: )
bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.

   usage: bunzip2 [flags and input files in any order]

   -h --help           print this message
   -d --decompress     force decompression
   -z --compress       force compression
   -k --keep           keep (don't delete) input files
   -f --force          overwrite existing output files
   -t --test           test compressed file integrity
   -c --stdout         output to standard out
   -q --quiet          suppress noncritical error messages
   -v --verbose        be verbose (a 2nd -v gives more)
   -L --license        display software version & license
   -V --version        display software version & license
   -s --small          use less memory (at most 2500k)
   -1 .. -9            set block size to 100k .. 900k
   --fast              alias for -1
   --best              alias for -9

   If invoked as `bzip2', default action is to compress.
              as `bunzip2',  default action is to decompress.
              as `bzcat', default action is to decompress to stdout.

   If no file names are given, bzip2 compresses or decompresses
   from standard input to standard output.  You can combine
   short flags, so `-v -4' means the same as -v4 or -4v, &c.

Executing : tar "--version" (working dir: )
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
Executing : make "-v" (working dir: )
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
fpcupdeluxe: WARNING: TFPCInstaller: clean module FPC directory /home/mdalacu/fpcupdeluxe/fpc does not exist. Exiting CleanModule.
fpcupdeluxe: info: Checking out/updating FPC sources...
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
fpcupdeluxe: info: INFO: directory /home/mdalacu/fpcupdeluxe/fpc is not an SVN repository (or a repository with the wrong remote URL).
fpcupdeluxe: info: INFO: creating directory /home/mdalacu/fpcupdeluxe/fpc for SVN checkout.
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
fpcupdeluxe: info: Running SVN checkout or update.
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
Executing : /usr/bin/svn "checkout" "--quiet" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/branches/fixes_3_0/" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "update" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Path: /home/mdalacu/fpcupdeluxe/fpc
Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35077
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 34961
Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)

fpcupdeluxe: info: FPC was at: failure
fpcupdeluxe: info: FPC is now at: branch revision 34961 (repository revision 35077)
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/mdalacu/fpcupdeluxe/fpc) with version: 3.0.1
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/ppcx64 "-iV" (working dir: )
fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.4
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.2
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.4
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.2
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for a bootstrap compiler from Github FPCUP releases.
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_1_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_1_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_8-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_6-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_0-x86_64-linux-ppcx64
« Last Edit: December 06, 2016, 11:33:14 am by mdalacu »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #187 on: December 06, 2016, 12:06:00 pm »
@mdalacu.
Error is clear. Will try to solve. New version will follow if ok.

halim

  • New Member
  • *
  • Posts: 11
Re: Fpcupdeluxe
« Reply #188 on: December 06, 2016, 12:43:46 pm »
i got this error message when install newpascal
oing to install NewPascal release.
FPCUP(deluxe) is starting up.

Binutils/make dir:  C:\fpcupdeluxe\fpcbootstrap
Bootstrap dir:      C:\fpcupdeluxe\fpcbootstrap
FPC URL:               https://github.com/newpascal/freepascal/branches/release
FPC options:           
FPC source directory:  C:\fpcupdeluxe\fpc
FPC install directory: C:\fpcupdeluxe\fpc
Lazarus URL:        https://github.com/newpascal/lazarus/branches/release
Lazarus options:   
Lazarus directory:  C:\fpcupdeluxe\lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 12/6/2016 19:32:36: fpcup010 (20161204) started.
fpcupdeluxe: info: Windows major version: 6
fpcupdeluxe: info: Windows minor version: 1
fpcupdeluxe: info: Windows build number:  7601
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\7Zip\" "C:\fpcupdeluxe\fpcbootstrap\7Zip\7za920.zip" (working dir: )
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\unrar\" "C:\fpcupdeluxe\fpcbootstrap\unrar\unrar-3.4.3-bin.zip" (working dir: )
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-v" (working dir: )
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.



DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #189 on: December 06, 2016, 12:54:17 pm »
@halim.
Would you mind checking the contents of C:\fpcupdeluxe\fpcbootstrap
This directory should contain unzip.exe and few more tools.

halim

  • New Member
  • *
  • Posts: 11
Re: Fpcupdeluxe
« Reply #190 on: December 06, 2016, 01:22:37 pm »
thanks for quick reply DonAlfredo
i already check C:\fpcupdeluxe\fpcbootstrap , but only 3 file patch.exe,patch.manifest,unzip.exe adn 2 folder 7zip and unrar
i have delete previous fpcupdeluxe but some error appear again

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #191 on: December 06, 2016, 01:36:19 pm »
@halim
That folder looks ok then.

But now it becomes a very strange problem:
a) unzip.exe is available in the right directory.
b) executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-v" does not give any output ??!!

I guess that the 2 adn folders 7zip and unrar are empty ?

Does fpcupdeluxe work if you run as administrator ?

halim

  • New Member
  • *
  • Posts: 11
Re: Fpcupdeluxe
« Reply #192 on: December 06, 2016, 01:47:03 pm »
both folder are not empty
i try to run fpcdeluxe 2nd time..then my PC got freeze..i'm wait for 45 minutes but my keyboard is freeze too
so i have to restart my pc

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #193 on: December 06, 2016, 01:54:17 pm »
That is bad ... sorry about that.
If folders 7zip and unrar are non-empty, what is their contents ?
And what is your OS exactly ?

halim

  • New Member
  • *
  • Posts: 11
Re: Fpcupdeluxe
« Reply #194 on: December 06, 2016, 02:37:40 pm »
1st folder are 7zip and it contain 7-zip.exe,7za.exe,readme and license (i think this corret file)
2nd folder are unrar, it contain folder bin,contrib,include, man and manifest (it look like the source code of unrar)
no file except that folder

my PC : AMD A8-7650K,8GB RAM, OS Win7

i'm running fpcupdeluxe in my laptop too(Intel Core2Duo 1.7GHz, 3GB RAM, OS Win 7)  are ok, but previously i have been install newpascal with fpcupdeluxe ver 20161024

 

TinyPortal © 2005-2018