Recent

Author Topic: Fpcupdeluxe  (Read 794088 times)

TheWolf

  • New Member
  • *
  • Posts: 26
Re: Fpcupdeluxe
« Reply #15 on: November 01, 2016, 08:33:32 pm »
No, only press button for trunk installation

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Fpcupdeluxe
« Reply #16 on: November 01, 2016, 08:36:59 pm »
@DonAflredo:
Just got this error when trying to install FPC stable + Laz stable on my Debian Jessie x86_64:

Code: Pascal  [Select][+][-]
  1. Free Pascal Compiler version 3.0.0 [2016/11/01] for x86_64
  2. Copyright (c) 1993-2015 by Florian Klaempfl and others
  3. (1002) Target OS: Linux for x86-64
  4. (3104) Compiling turbopoweripro.pas
  5. (1008) 25 lines compiled, 0.2 sec
  6. TProject.DoLoadStateFile Statefile not found: /home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/lib/x86_64-linux/lhelp.compiled
  7. Info: (lazarus) Execute Title="Compile Project, Mode: default, Target: lhelp"
  8. Info: (lazarus) Working Directory="/home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/"
  9. Info: (lazarus) Executable="/home/me/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.sh"
  10. Info: (lazarus) Param[0]="-B"
  11. Info: (lazarus) Param[1]="-MObjFPC"
  12. Info: (lazarus) Param[2]="-Sghi"
  13. Info: (lazarus) Param[3]="-Cg"
  14. Info: (lazarus) Param[4]="-O3"
  15. Info: (lazarus) Param[5]="-Xs"
  16. Info: (lazarus) Param[6]="-l"
  17. Info: (lazarus) Param[7]="-vewnhibq"
  18. Info: (lazarus) Param[8]="-Fl/opt/gnome/lib"
  19. Info: (lazarus) Param[9]="-Fu/home/me/fpcupdeluxe/lazarus/components/turbopower_ipro/units/x86_64-linux/gtk2"
  20. Info: (lazarus) Param[10]="-Fu/home/me/fpcupdeluxe/lazarus/components/printers/lib/x86_64-linux/gtk2"
  21. Info: (lazarus) Param[11]="-Fu/home/me/fpcupdeluxe/lazarus/components/chmhelp/packages/help/lib/x86_64-linux/gtk2"
  22. Info: (lazarus) Param[12]="-Fu/home/me/fpcupdeluxe/lazarus/components/cairocanvas/lib/x86_64-linux/gtk2"
  23. Info: (lazarus) Param[13]="-Fu/home/me/fpcupdeluxe/lazarus/lcl/units/x86_64-linux/gtk2"
  24. Info: (lazarus) Param[14]="-Fu/home/me/fpcupdeluxe/lazarus/lcl/units/x86_64-linux"
  25. Info: (lazarus) Param[15]="-Fu/home/me/fpcupdeluxe/lazarus/components/lazutils/lib/x86_64-linux"
  26. Info: (lazarus) Param[16]="-Fu/home/me/fpcupdeluxe/lazarus/packager/units/x86_64-linux"
  27. Info: (lazarus) Param[17]="-Fu/home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/"
  28. Info: (lazarus) Param[18]="-FU/home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/lib/x86_64-linux/"
  29. Info: (lazarus) Param[19]="-dLCL"
  30. Info: (lazarus) Param[20]="-dLCLgtk2"
  31. Info: (lazarus) Param[21]="lhelpAn unhandled exception occurred at $0000000000000000:
  32. EAccessViolation: Access violation
  33.   $0000000000000000
  34.   $000000000056FE87
  35.   $0000000000571091
  36.  
  37. fpclazup: info: InstallerUniversal: warning: running /home/me/fpcupdeluxe/lazarus/lazbuild --primary-config-path=/home/me/fpcupdeluxe/config_lazarus /home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/lhelp.lpr returned an error.
  38. fpclazup: info: Error running fpcup. Technical details: error executing sequence lhelp; line: 4, param: lhelp
  39. fpclazup: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 3, param: lhelp
  40. fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 6, param: UniversalDefault
  41.  
  42.  
  43. ERROR: Fpclazupdeluxe failed.
  44.  

I have selected stable for both FPC and Laz, CPU x8664 and OS Linux then Start regular fpcup.

Edit: I am on KDE, could it be the problem?
« Last Edit: November 01, 2016, 08:43:01 pm by MementoMojito »


DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #18 on: November 01, 2016, 08:52:24 pm »
@MementoMojito
Thanks for the info. I will try to reproduce !

But, in the meantime, would you mind to try fixes ?
Fixes is, in most cases, better than stable.
And for FPC fixes, it will be release soon (I hope).

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Fpcupdeluxe
« Reply #19 on: November 01, 2016, 09:02:42 pm »
\o/
Code: Pascal  [Select][+][-]
  1. SUCCESS: Fpclazupdeluxe ended without errors.
  2.  

Just to know, Fixes is Stables + the fixes released since?
Also let me know if you need any more info to repro with Stable.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #20 on: November 01, 2016, 09:10:04 pm »
Yes. Fixes is the latest stable release with bugfixes that have been discovered after its release.
In general, I prefer fixes, even when not yet released.

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Fpcupdeluxe
« Reply #21 on: November 01, 2016, 09:15:09 pm »
Ok thanks.
So I have just tried to install some modules but here is what I get:

Code: Pascal  [Select][+][-]
  1. /usr/bin/ld: cannot find -lXtst
  2. make[2]: *** [lazarus] Error 1
  3. make[1]: *** [idepkg] Error 2
  4. make: *** [idepkg] Error 2
  5. /home/me/fpcupdeluxe/lazarus/ide/lazarus.pp(154,1) Error: (9013) Error while linking
  6. /home/me/fpcupdeluxe/lazarus/ide/lazarus.pp(154,1) Fatal: (10026) There were 1 errors compiling module, stopping
  7. Fatal: (1018) Compilation aborted
  8. Error: /home/me/fpcupdeluxe/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
  9. Makefile:4004: recipe for target 'lazarus' failed
  10. make[2]: Leaving directory '/home/me/fpcupdeluxe/lazarus/ide'
  11. Makefile:4430: recipe for target 'idepkg' failed
  12. make[1]: Leaving directory '/home/me/fpcupdeluxe/lazarus/ide'
  13. Makefile:3074: recipe for target 'idepkg' failed
  14. make: Leaving directory '/home/me/fpcupdeluxe/lazarus'
  15. Error: (lazarus) Build IDE: stopped with exit code 512
  16. Error: (lazarus) Building IDE: Building IDE failed.
  17.  
  18. fpclazup: info: InstallerUniversal: error trying to rebuild Lazarus.
  19. Details:
  20. fpclazup: info: Error running fpcup. Technical details: error executing sequence bgracontrols; line: 6, param: bgracontrols
  21. fpclazup: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: bgracontrols
  22.  
  23.  
  24. ERROR: Fpclazupdeluxe failed.
  25.  

Edit: I am installing libxtst-dev, will let you know
« Last Edit: November 01, 2016, 09:18:07 pm by MementoMojito »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #22 on: November 01, 2016, 09:17:23 pm »
The error is clear : you need libXtst (or libXtst-dev).

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #23 on: November 01, 2016, 10:13:31 pm »
@all
About 64 bit -> 32 bit ... see this (bug-) report:

http://bugs.freepascal.org/view.php?id=29892
http://lists.freepascal.org/pipermail/fpc-pascal/2016-March/047298.html

So it's not possible! registered in the bugtracker in 2007, and still today is not possible.

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Fpcupdeluxe
« Reply #24 on: November 01, 2016, 10:14:51 pm »
Sorry for coming back only now but I couldn't install any modules after it was broken due to the missing lib.
I would get this error all the time:

Code: Pascal  [Select][+][-]
  1. fpclazup: info: TUniversalInstaller: building module bgracontrols running all InstallExecute commands in:
  2. Name=bgracontrols
  3. Description="Custom drawn controls. Requires bgrabitmap."
  4. Requires=lazpaint
  5. Installdir=$(fpcdir)/../ccr/$(name)
  6. Enabled=0
  7. GITURL=https://github.com/bgrabitmap/bgracontrols
  8. SVNURL=svn://svn.code.sf.net/p/bgra-controls/code/
  9. ArchiveURL=https://github.com/bgrabitmap/bgracontrols/archive/master.zip
  10. AddPackage=$(Installdir)/bgracontrols.lpk
  11. UnInstall=rm -Rf $(Installdir)
  12.  
  13. fpclazup: info: Installing bgracontrols version 4.3.1
  14. Executing : /home/me/fpcupdeluxe/lazarus/lazbuild "--pcp=/home/me/fpcupdeluxe/config_lazarus" "--add-package" "/home/me/fpcupdeluxe/ccr/bgracontrols/bgracontrols.lpk" (working dir: )
  15. using config file /home/me/fpcupdeluxe/lazarus/lazarus.cfg
  16. SetPrimaryConfigPath NewValue="/home/me/fpcupdeluxe/config_lazarus" -> "/home/me/fpcupdeluxe/config_lazarus"
  17. fpclazup: info: TUniversalInstaller: checking lpl file for bgracontrols
  18. fpclazup: info: InstallerUniversal: going to rebuild Lazarus because packages were installed.
  19. Executing : /home/me/fpcupdeluxe/lazarus/lazbuild "--pcp=/home/me/fpcupdeluxe/config_lazarus" "--build-ide=-dKeepInstalledPackages " "--build-mode=" (working dir: /home/me/fpcupdeluxe/lazarus)
  20. using config file /home/me/fpcupdeluxe/lazarus/lazarus.cfg
  21. SetPrimaryConfigPath NewValue="/home/me/fpcupdeluxe/config_lazarus" -> "/home/me/fpcupdeluxe/config_lazarus"
  22. ERROR: Broken dependency: bgragames 1.0->BGRABitmapPack4LCL_OpenGL
  23.  
  24. fpclazup: info: InstallerUniversal: error trying to rebuild Lazarus.
  25. Details:
  26. fpclazup: info: Error running fpcup. Technical details: error executing sequence bgracontrols; line: 6, param: bgracontrols
  27. fpclazup: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: bgracontrols
  28.  
  29.  
  30. ERROR: Fpclazupdeluxe failed.
  31.  

So I have tried to reinstall FPC and Lazarus by unselecting all the modules and running Fixes but it would fail for the same reasons so I have had to manually remove my fpcupdelux folder from my home folder then reinstall it with the modules and it worked.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #25 on: November 01, 2016, 10:22:31 pm »
Code: Pascal  [Select][+][-]
  1. ERROR: Broken dependency: bgragames 1.0->BGRABitmapPack4LCL_OpenGL

I need to fix that. Thanks for reporting. Just don't install bgragames.

Edit: It was already fixed on git. Don't use anymore the svn of: BGRABitmap, BGRAControls, BGRAGames, these are outdated! Please use GitHub only from now.
« Last Edit: November 01, 2016, 10:24:34 pm by lainz »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #26 on: November 01, 2016, 10:25:27 pm »
The list of modules is long. The list of FPC versions and Lazarus versions is also long.
More often than not you will encounter errrors with modules (packages) due to non-compatible versions.

Naturally, you should always have the method of removing the packages through Lazarus itself.
This would be easier than installing everything new. (install/uninstall packages)

As a last resort, you can always remove the config_lazarus directory and rebuild all with fpcupdeluxe.
Nothing will be downloaded. The install should be again pristine (I hope).

@lainz : I will update !!

MementoMojito

  • Jr. Member
  • **
  • Posts: 63
Re: Fpcupdeluxe
« Reply #27 on: November 01, 2016, 11:32:43 pm »
@lainz: No problem at all and sorry if it was misleading

@DonAlfredo: Thanks for the hints :) I am a total newb regarding fpcup as it's the very first time I am using it as you could quite obviously notice. However, I will test the trunk and will let you know if you are interested into getting feedbacks for Debian with KDE?

Edit: The compilation just finished it's all good for Trunk.
« Last Edit: November 02, 2016, 12:12:25 am by MementoMojito »

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Fpcupdeluxe
« Reply #28 on: November 02, 2016, 04:22:41 am »
This is a great effort!
Everything worked for me except the cross-install from Linux64 -> Linux32 (which is a problem I have with a regular install on my system - Puppy Linux 64-bit)

Some suggestions for the GUI (tested in linux):

The main window title could be 'Lazarus and Freepascal installer and updater'

The buttons [Start fpcup, fpc only ] and [Start regular fpcup] would be better labelled
[Install or update fpc] and [Install or update Lazarus] I think.

For first time use,
1. An information dialog at startup would be handy. The GUI looks overwhelming for a beginner running it for the first time.
2. (Linux) After installing Lazarus, an info dialog showing how to run Lazarus (e.g. location of startlazarus)  or.. Is it possible to make a desktop icon?
2a. or.. Maybe even a button to start Lazarus from your GUI

The scrolling textwindow - does it always need to be shown, or could it be an option?  For a beginner, it's not really useful other than to show that something is happening.
A simple modal dialog showing the action in progress (i.e. Downloading, Copying files, Installing etc) would look better and be just as useful. (I did spot the labels, but a dialog looks more.. GUI-like)

Would it be possible to capture only error messages to a logfile, so that the user could have a better idea of what went wrong?

The group of buttons at the bottom: Could the group panel have the caption 'Install or Update'?

I hope you don't mind me giving unasked-for suggestions!

I am already loving this utility  :)

Once all the bugs are out, the Lazarus team should consider including this on their main page IMO. fpcupdeluxe is a country mile better than their regular installer.  Perhaps it could be offered as the 'Advanced installer and Updater'?
« Last Edit: November 02, 2016, 04:52:27 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

edwinyzh

  • New Member
  • *
  • Posts: 43
Re: Fpcupdeluxe
« Reply #29 on: November 02, 2016, 09:50:55 am »
Hello Afred,

Very nice tool!

Can you make the font size of the command output memo a little larger? The window title in the attached screensont is the correct font size on my 125% Win 7 system.

More importantly, is it possible to use a proxy? I'm experiencing the
Code: Pascal  [Select][+][-]
  1. fpclazup: info: DownloadFromSVN: SVN gave error code: 1
network error here in China, where the Internet is sadlly semi-blocked by the GFW (The Great Firewall), which makes the VPN greatly unstable... I might asking too much in this regard, and I'm completely understand and expect the answer would be a "no", I'm just asking :)
« Last Edit: November 02, 2016, 10:35:27 am by edwinyzh »

 

TinyPortal © 2005-2018