Recent

Author Topic: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX  (Read 292644 times)

nomorelogic

  • Full Member
  • ***
  • Posts: 165
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #30 on: April 17, 2012, 08:49:56 am »
It is a really great tool!
I used it to set up 2 lazarus envorinmant on linux 64bit: 2.6 and development and all goes well.
Only one thing to note: in the second installation I used "lazlinkname=..." option to create an alternative link in desktop but this has not been created. Solved manually.

I would suggest to consider installation of some components ie: --components=Indy10,LazReport

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #31 on: April 17, 2012, 09:09:18 am »
@NoMoreLogic: the components can be installed using fpcup.ini. See the readme and the html filein the source directory for details. If you need more directives/macros, please let us know...
I get e.g. synapse, tiopf along with documentation etc.

Re lazlinkname: what version of fpcup are you using? If the precompiled version, the compilation date that is shown when running fpcup --help indicates the version.

Thanks,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

nomorelogic

  • Full Member
  • ***
  • Posts: 165
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #32 on: April 17, 2012, 09:21:29 am »
is a precompiled version, follow output of: fcpup --help

Quote
fpcup
An FPC/Lazarus downloader/updater/installer
Open source freeware (modified LGPL/BSD), see:
https://bitbucket.org/reiniero/fpcup

This program will download the FPC and Lazarus sources
from the source Subversion/SVN repositories,
compile, and install.
Result: you get a fresh, up-to-date Lazarus/FPC installation.
fpcup compiled on 2012/03/11 09:23:55 with FPC 2.6.0
for CPU: x86_64 on Linux

thanks

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #33 on: April 17, 2012, 10:12:55 am »
Hi logic,

You might want to try with the newest source code. That version does work with lazlinkname on my Windows version.
If it still doesn't work, let me know and I'll raise a bug and look into it.

Thanks,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

nomorelogic

  • Full Member
  • ***
  • Posts: 165
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #34 on: April 19, 2012, 10:15:49 am »
hi BigChimp
looking at https://bitbucket.org/reiniero/fpcup/downloads
I find that fpcup_linux_x64 reports same version I used few days ago (2012-03-11)

downloading sources at
https://bitbucket.org/reiniero/fpcup/src
I'll have the newest release?

thanks

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #35 on: April 19, 2012, 12:14:16 pm »
That's right!

Thanks,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

nomorelogic

  • Full Member
  • ***
  • Posts: 165
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #36 on: April 19, 2012, 08:04:33 pm »
hi BigChimp
I've downloaded fpcup source, recompiled and executed

once launched with parameters, fpcup, ask to me for confirmation as follow:

Code: [Select]
fpcup
An FPC/Lazarus downloader/updater/installer
Open source freeware (modified LGPL/BSD), see:
https://bitbucket.org/reiniero/fpcup

This program will download the FPC and Lazarus sources
from the source Subversion/SVN repositories,
compile, and install.
Result: you get a fresh, up-to-date Lazarus/FPC installation.
fpcup compiled on 2012/04/19 12:32:43 with FPC 2.7.1
for CPU: x86_64 on Linux
Info: 19-4-12 12:45:18: fpcup started.
The "binutilsdir" parameter is not necessary or supported on this system.
The parameter will be ignored.Warning

Options:
Bootstrap compiler dir: /home/username/fpcbootstrap/
Lazarus shortcut name:  /home/username/Scrivania/lazarus_dev2
Shortcut fpcup name:    /home/username/Scrivania/lazarus_dev2_Update
FPC URL:                http://svn.freepascal.org/svn/fpc/trunk
FPC options:           
FPC directory:          /home/username/lazdev2/fpc
Lazarus directory:      /home/username/lazdev2/lazarus
Lazarus primary config path:
(Lazarus settings path) /home/username/.config/lazarusdevsettings
Lazarus URL:            http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:       
Keep local changes:     no
Parameter list:         --fpcdir="/home/username/lazdev2/fpc" --lazdir="/home/username/lazdev2/lazarus" --fpcURL="http://svn.freepascal.org/svn/fpc/trunk" --lazlinkname="/home/username/Scrivania/lazarus_dev2"



Continue (Y/n): Info: 19-4-12 12:45:20: fpcup finished.

then fpcup executes all steps and this is what I get on terminal:

Quote
Info: Module FPC: Getting/compiling FPC...
Info: /home/username/fpcbootstrap/x86_64-linux-ppcx64 is not a valid x86_64-linux-ppcx64 application (x86_64-linux-ppcx64 result code was: 1)
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Going to download /tmp/TMP00000.tmp from URL: ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/x86_64-linux-ppcx64.bz2
Info: Going to move /tmp/TMP00000.tmp.out to /home/username/fpcbootstrap/x86_64-linux-ppcx64
Info: FPC: running make distclean before checkout/update:
Info: Checking out/updating FPC sources...
Info: FPC was at revision: -1
Info: No updates for FPC found.
Info: Running make all for FPC:
Info: Running make install for FPC:
Info: Created launcher script for FPC:/home/username/lazdev2/fpc/bin/x86_64-linux/fpc.sh
Info: Creating fpc.cfg:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running make distclean all:
Info: Checking out/updating Lazarus sources:
Info: Lazarus was at revision: -1
Info: No updates for Lazarus found.
Info: lazarus: running make all:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running make distclean bigideclean:
Info: BIGIDE: running make bigide:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running lazbuild to get IDE with user-specified packages:
Info: Lazarus: creating desktop shortcut:
Info: Getting module lhelp
Info: Building module lhelp
Info: HELPLAZARUS: initializing module...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: HELPLAZARUS: documentation directory: /home/username/lazdev2/lazarus/docs/html/
Info: Going to download /tmp/TMP00000.tmp.zip from URL: http://garr.dl.sourceforge.net/project/freepascal/Documentation/2.6.0/doc-chm.zip
Info: HELPLAZARUS: initializing module...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: HELPLAZARUS: documentation directory: /home/username/lazdev2/lazarus/docs/html/
Info: helplazarus: compiling build_lcl_docs help compiler:
Info: helplazarus: compiling chm help docs:
Info: helplazarus: moving lcl.chm to docs directory
Info: Getting module lazdatadesktop
Info: Building module lazdatadesktop
Info: Getting module doceditor
Info: Building module doceditor
Info: Getting module fpcdocs
Info: Building module fpcdocs
Info: Getting module lazres
Info: Building module lazres
Info: Getting module tiopf_source
Info: Building module tiopf_source
Info: Error running fpcup. Technical details: error executing sequence tiopf_source; line: 4, param: tiopf_source
Info: Error running fpcup. Technical details: error executing sequence tiopf; line: 2, param: tiopf_source
Info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 7, param: tiopf
Info: Error running fpcup. Technical details: error executing sequence Default; line: 10, param: UniversalDefault
FPCUp failed.
Please check log for details. Possible troubleshooting steps:
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential subversion
- try removing all intermediate files by running fpcup with the --uninstall option
- if that does not work: use the --uninstall option to remove all files (including your FPC and lazarus directories)
- remove the bootstrap compiler. fpcup will download it if required.
Info: 19-4-12 13:16:34: fpcup finished.
Info: Checking out/updating Lazarus sources:
Info: Lazarus was at revision: -1
Info: No updates for Lazarus found.
Info: lazarus: running make all:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running make distclean bigideclean:
Info: BIGIDE: running make bigide:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running lazbuild to get IDE with user-specified packages:
Info: Lazarus: creating desktop shortcut:
Info: Getting module lhelp
Info: Building module lhelp
Info: HELPLAZARUS: initializing module...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: HELPLAZARUS: documentation directory: /home/username/lazdev2/lazarus/docs/html/
Info: helplazarus: skipping docs download: FPC rtl.chm and fcl.chm already present in docs directory /home/username/lazdev2/lazarus/docs/html/
Info: HELPLAZARUS: initializing module...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: HELPLAZARUS: documentation directory: /home/username/lazdev2/lazarus/docs/html/
Info: helplazarus: compiling build_lcl_docs help compiler:
Info: helplazarus: not building LCL.chm as it is quite recent: 20120419
Info: Getting module lazdatadesktop
Info: Building module lazdatadesktop
Info: Getting module doceditor
Info: Building module doceditor
Info: Getting module fpcdocs
Info: Building module fpcdocs
Info: Getting module lazres
Info: Building module lazres
Info: Getting module tiopf_source
Info: Building module tiopf_source
Info: Error running fpcup. Technical details: error executing sequence tiopf_source; line: 4, param: tiopf_source
Info: Error running fpcup. Technical details: error executing sequence tiopf; line: 2, param: tiopf_source
Info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 7, param: tiopf
Info: Error running fpcup. Technical details: error executing sequence Default; line: 10, param: UniversalDefault
FPCUp failed.
Please check log for details. Possible troubleshooting steps:
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential subversion
- try removing all intermediate files by running fpcup with the --uninstall option
- if that does not work: use the --uninstall option to remove all files (including your FPC and lazarus directories)
- remove the bootstrap compiler. fpcup will download it if required.
Info: 19-4-12 13:20:48: fpcup finished.
Info: Checking out/updating FPC sources...

Info: FPC: WARNING: found modified files.
/home/username/lazdev2/fpc/utils/fpcmkcfg/fppkg.inc
Diff with last revision stored in /home/username/lazdev2/fpc/REV-1.diff
FPC: reverting before updating.

Info: FPC was at revision: -1
Info: No updates for FPC found.
Info: Running make all for FPC:
Info: Running make install for FPC:
Info: fpc.sh launcher script already exists (/home/username/lazdev2/fpc/bin/x86_64-linux/fpc.sh); trying to overwrite it.
Info: Created launcher script for FPC:/home/username/lazdev2/fpc/bin/x86_64-linux/fpc.sh
Info: fpc.cfg already exists; leaving it alone.
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running make distclean all:
Info: Checking out/updating Lazarus sources:
Info: Lazarus was at revision: -1
Info: No updates for Lazarus found.
Info: lazarus: running make all:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running make distclean bigideclean:
Info: BIGIDE: running make bigide:
Info: Module LAZARUS: Getting/compiling Lazarus...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: Lazarus: running lazbuild to get IDE with user-specified packages:
Info: Lazarus: creating desktop shortcut:
Info: Getting module lhelp
Info: Building module lhelp
Info: HELPLAZARUS: initializing module...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: HELPLAZARUS: documentation directory: /home/username/lazdev2/lazarus/docs/html/
Info: helplazarus: skipping docs download: FPC rtl.chm and fcl.chm already present in docs directory /home/username/lazdev2/lazarus/docs/html/
Info: HELPLAZARUS: initializing module...
Info: Found valid unzip application.
Info: Found valid bunzip2 application.
Info: Found valid tar application.
Info: HELPLAZARUS: documentation directory: /home/username/lazdev2/lazarus/docs/html/
Info: helplazarus: compiling build_lcl_docs help compiler:
Info: helplazarus: not building LCL.chm as it is quite recent: 20120419
Info: Getting module lazdatadesktop
Info: Building module lazdatadesktop
Info: Getting module doceditor
Info: Building module doceditor
Info: Getting module fpcdocs
Info: Building module fpcdocs
Info: Getting module lazres
Info: Building module lazres
Info: Getting module tiopf_source
Info: Building module tiopf_source
Info: Error running fpcup. Technical details: error executing sequence tiopf_source; line: 4, param: tiopf_source
Info: Error running fpcup. Technical details: error executing sequence tiopf; line: 2, param: tiopf_source
Info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 7, param: tiopf
Info: Error running fpcup. Technical details: error executing sequence Default; line: 10, param: UniversalDefault
FPCUp failed.
Please check log for details. Possible troubleshooting steps:
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential subversion
- try removing all intermediate files by running fpcup with the --uninstall option
- if that does not work: use the --uninstall option to remove all files (including your FPC and lazarus directories)
- remove the bootstrap compiler. fpcup will download it if required.
Info: 19-4-12 13:27:23: fpcup finished.

with this release I've got some "Info: Error running fpcup" errors (but none of these with precompiled binary) but lazarus starts

other strange messages are:
- binutils: I have binutils installed
- windres: not installed (need to install and retry? with precompiled binary this error was not raised)
- svn client: is installed (and fpcup correctly checkout all sources)
-option --lazlinkname="/home/username/Scrivania/lazarus_dev2" creates a link (both lazarus_dev2 and lazarus_dev2_Update) but in the following path: /home/username/home/username/Scrivania

If you need more info I'm here :)

thanks

calebs

  • Full Member
  • ***
  • Posts: 191
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #37 on: April 20, 2012, 01:51:55 am »
Hello! Downloaded fpcup for windows 7 64 and puted on a folder with no spaces on the path and runned it...leaved all options to defaults
No lazarus_trunk icon on desktop here is the log file

Code: [Select]
------------------------------------------------
19/04/2012 20:25:50: fpcup started.
Bootstrap compiler dir: C:\development\fpcbootstrap\
FPC URL:                http://svn.freepascal.org/svn/fpc/branches/fixes_2_6
FPC options:           
FPC directory:          C:\development\fpc
Make/binutils path:     C:\development\fpcbootstrap\
External program path:  C:\development\fpcbootstrap\;C:\development\fpcbootstrap\;;C:\development\fpc\bin\i386-win32
FPC: update succeeded at revision numLazarus directory:      C:\development\lazarus
Lazarus URL:            http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:       
External program path:  C:\development\fpc\bin\i386-win32\bin\i386-win32;C:\development\fpcbootstrap\;;C:\development\lazarus
ERROR running C:\development\fpcbootstrap\make.exe "FPC=C:\development\fpc\bin\i386-win32\fpc" "--directory=C:\development\lazarus" "FPCDIR=C:\development\fpc" "UPXPROG=echo" "COPYTREE=echo" "all"
Command returned non-zero ExitStatus: 2
Command path set to: C:\development\fpc\bin\i386-win32Error running fpcup. Technical details: error executing sequence lazarus; line: 4, param: lazarus
Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 4, param: lazarus
19/04/2012 20:42:21: fpcup finished.
------------------------------------------------

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #38 on: April 20, 2012, 01:57:50 pm »
other strange messages are:
- binutils: I have binutils installed
- windres: not installed (need to install and retry? with precompiled binary this error was not raised)
- svn client: is installed (and fpcup correctly checkout all sources)
If you're referring to this:
Code: [Select]
FPCUp failed.
Please check log for details. Possible troubleshooting steps:
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential subversion
- try removing all intermediate files by running fpcup with the --uninstall option
- if that does not work: use the --uninstall option to remove all files (including your FPC and lazarus directories)
- remove the bootstrap compiler. fpcup will download it if required.
... that's only possible troubleshooting steps. Not all of them will apply in all situations...
Yes, windres was added to the list; can be useful when compiling some projects/components... but probably not essential (if there are problems, you will get errors to do with resource compilation)
-option --lazlinkname="/home/username/Scrivania/lazarus_dev2" creates a link (both lazarus_dev2 and lazarus_dev2_Update) but in the following path: /home/username/home/username/Scrivania
IIRC, you can only specify the filename part of the link, not the full path.

... seems the installer is having trouble with tiopf... I'll have to look into that.
For now, you can disable tiopf in fpcup.ini, e.g. from:
Code: [Select]
[general]
; Users: you can override if a module is executed, e.g. to run the synapse module regardless of the fpcup maintainers settings below:
;Synapse=1
tiopf=1
to...
Code: [Select]
[general]
; Users: you can override if a module is executed, e.g. to run the synapse module regardless of the fpcup maintainers settings below:
;Synapse=1
tiopf=0
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #39 on: April 20, 2012, 02:00:31 pm »
Hello! Downloaded fpcup for windows 7 64 and puted on a folder with no spaces on the path and runned it...leaved all options to defaults
No lazarus_trunk icon on desktop here is the log file

Thanks calebs, seems like Lazarus compilation failed, but I will need more detail to see what's going on. Use fpcup --verbose to show more info.
Also, please be aware there's a known bug in current fpcup source right now that will lead to errors in building the 64 bit LCL, leading to a failure message. If using that, you could try the binary download version...

Thanks,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

calebs

  • Full Member
  • ***
  • Posts: 191
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #40 on: April 20, 2012, 03:29:07 pm »
Oh thanks bigchimp i didn't see that there was problems with 64 bit version of windows... anyway i don't mind usind 32 bits lazarus... in fact, i think i'm using binaries of 32 bits.
I'll try with --cputarget=i386 to generate a 32 bits lazarus... or is different?
Im installing it on linux 32 bits right now.
I'll see what happens

calebs

  • Full Member
  • ***
  • Posts: 191
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #41 on: April 20, 2012, 03:57:39 pm »
No luck with --cputarget=i386 on win 7 x64...
trying now with --cputarget=i386 --ostarget=win32 --verbose...
where do i post the log if it doesn't works? it seems to be extensive...

calebs

  • Full Member
  • ***
  • Posts: 191
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #42 on: April 20, 2012, 04:57:07 pm »
No luck on debian x86 either...
runned "fpcup_linux_x86 --lazdir=/home/multisistema/lazarus-trunk"
(because lazarus dir existed with current lazarus)
and won't compile lazarus this is the last part of log
Code: [Select]
lclintf.inc(195,45) Warning: Symbol "FontCanUTF8" is deprecated
lclintf.inc(334,49) Warning: Symbol "IntfSendsUTF8KeyPress" is deprecated
rasterimage.inc(472,19) Warning: Function result variable does not seem to initialized
rasterimage.inc(759,3) Note: Local variable "x" not used
rasterimage.inc(759,6) Note: Local variable "y" not used
font.inc(1210,22) Warning: Symbol "FontCanUTF8" is deprecated
canvas.inc(706,3) Note: Local variable "lDestWidth" is assigned but never used
canvas.inc(706,15) Note: Local variable "lDestHeight" is assigned but never used
graphics.pp(726,5) Note: Private field "TRegion.RegionOperations" is never used
graphics.pp(727,5) Note: Private field "TRegion.SubRegions" is never used
intfgraphics.pas(823,14) Warning: Function result variable does not seem to initialized
intfgraphics.pas(841,14) Warning: Function result variable does not seem to initialized
intfgraphics.pas(849,14) Warning: Function result variable does not seem to initialized
Compiling controls.pp
Compiling imglist.pp
Compiling lclclasses.pp
Compiling ./widgetset/wslclclasses.pp
Compiling lclclasses.pp
Compiling ./widgetset/wsimglist.pp
Compiling ./widgetset/wsproc.pp
Compiling controls.pp
Compiling propertystorage.pas
Compiling menus.pp
Compiling actnlist.pas
Compiling ./widgetset/wsmenus.pp
Compiling ./widgetset/wsfactory.pas
Compiling forms.pp
Compiling customtimer.pas
Compiling clipbrd.pp
Compiling helpintfs.pas
Compiling controls.pp
Compiling ./widgetset/wscontrols.pp
Compiling ./widgetset/wsimglist.pp
Compiling ./widgetset/wsproc.pp
wsimglist.pp(176,14) Warning: Function result variable does not seem to initialized
Compiling forms.pp
Compiling ./widgetset/wsforms.pp
Compiling extctrls.pp
Compiling stdctrls.pp
Compiling extendedstrings.pas
Compiling textstrings.pas
Compiling ./widgetset/wsstdctrls.pp
Compiling popupnotifier.pas
Compiling ./widgetset/wsextctrls.pp
Compiling dialogs.pp
Compiling buttons.pp
Compiling imagelistcache.pas
Compiling ./widgetset/wsbuttons.pp
Compiling buttonpanel.pas
Compiling ./widgetset/wsdialogs.pp
Compiling checklst.pas
Compiling ./widgetset/wschecklst.pp
Compiling colorbox.pas
Compiling comctrls.pp
Compiling toolwin.pp
Compiling ./widgetset/wscomctrls.pp
Compiling ./widgetset/wstoolwin.pp
comctrls.pp(698,5) Note: Private field "TTabControl.FOnPaint" is never used
Compiling dbactns.pp
Compiling dbctrls.pp
Compiling maskedit.pp
Compiling calendar.pp
Compiling ./widgetset/wscalendar.pp
Compiling dbgrids.pas
Compiling grids.pas
Compiling dynamicarray.pas
Compiling ./widgetset/wsgrids.pp
Compiling defaulttranslator.pas
Compiling translations.pas
Compiling stringhashlist.pas
Compiling dynhasharray.pp
Compiling editbtn.pas
Compiling extdlgs.pas
Compiling ./widgetset/wsextdlgs.pp
extdlgs.pas(128,5) Note: Private field "TCalculatorDialog.FTitle" is never used
Compiling ./forms/calendarpopup.pas
Compiling extgraphics.pas
Compiling filectrl.pp
Compiling shellctrls.pas
Compiling graphutil.pp
Compiling inipropstorage.pas
Compiling lazhelphtml.pas
Compiling lazhelpintf.pas
Compiling lazlinkedlist.pas
Compiling lclmemmanager.pas
Compiling lclmessageglue.pas
Compiling ./nonwin32/messages.pp
Compiling lclunicodedata.pas
Compiling pairsplitter.pas
Compiling ./widgetset/wspairsplitter.pp
Compiling postscriptcanvas.pas
Compiling printers.pas
Compiling postscriptunicode.pas
Compiling postscriptprinter.pas
Compiling rubberband.pas
Compiling ./widgetset/wsdesigner.pp
Compiling spin.pp
Compiling ./widgetset/wsspin.pp
Compiling stdactns.pas
Compiling utrace.pp
Compiling xmlpropstorage.pas
Compiling ./widgetset/wsarrow.pp
Compiling arrow.pp
Compiling ./widgetset/wsarrow.pp
Compiling asyncprocess.pp
Compiling registerlcl.pas
Compiling valedit.pas
Compiling lazcanvas.pas
Compiling lazregions.pas
lazcanvas.pas(624,3) Note: Local variable "lx" not used
lazcanvas.pas(624,7) Note: Local variable "ly" not used
Compiling lazdialogs.pas
Compiling customdrawn_common.pas
Fatal: Can't find unit windows used by customdrawn_common
Fatal: Compilation aborted
Error: /home/multisistema/fpc/bin/i386-linux/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
make[1]: *** [alllclunits.ppu] Error 1
make[1]: se sale del directorio `/home/multisistema/lazarus-trunk/lcl'
make: *** [lazbuild] Error 2
make: se sale del directorio `/home/multisistema/lazarus-trunk'

Info: Error running fpcup. Technical details: error executing sequence lazarus; line: 4, param: lazarus
Info: Error running fpcup. Technical details: error executing sequence Default; line: 5, param: lazarus
fpcup failed.
Please check log for details. Possible troubleshooting steps:
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential subversion
- try removing all intermediate files by running fpcup with the --uninstall option
- if that does not work: use the --uninstall option to remove all files (including your FPC and lazarus directories)
- remove the bootstrap compiler. fpcup will download it if required.
FPCUp finished.


miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #43 on: April 20, 2012, 05:01:17 pm »
calebs,

i will try to install fpcup.exe now on my win7-64....

Cheers,
Miquel.
--
Cheers.
Miquel.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #44 on: April 20, 2012, 05:23:04 pm »
Oh thanks bigchimp i didn't see that there was problems with 64 bit version of windows... anyway i don't mind usind 32 bits lazarus... in fact, i think i'm using binaries of 32 bits.
I'll try with --cputarget=i386 to generate a 32 bits lazarus... or is different?
Im installing it on linux 32 bits right now.
I'll see what happens
The problems should only occur when running fpcup on Windows when compiling the x64 LCL...
If on Windows, rather than using --cputarget=i386, you should probably use --skip=crosswin32-64 (see fpcup --help, in the list of all available modules)... see the bug report there...

Edit: FYI, if you build fpcup on Windows with the 64 bit compiler, IIRC, you should get a totally 64 bit environment, not 32.
« Last Edit: April 20, 2012, 05:24:56 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018