Recent

Author Topic: Fpcupdeluxe  (Read 794444 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #60 on: November 05, 2016, 12:08:56 pm »
Mmmm ... I need to remember mysef to update the version numbering next time ... and to add the system.

So, this is the newest release:
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99
Just get it ... ;-)

And yes, fpcupdeluxe will pickup any existing svn client on your system.
If not available, it will download one itself.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Fpcupdeluxe
« Reply #61 on: November 05, 2016, 12:27:32 pm »
Hi
I tried three times, but still no luck.
I suspect my A/V is causing the problem, but a bit reluctant to disable it. The VirusTotal report showing one malware (probably a flase positive) is probably causing the problem.
I will wait until next release; as I have found sometimes just a recompile can solve the false positive problem.

Josh
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Fpcupdeluxe
« Reply #62 on: November 05, 2016, 08:23:57 pm »
I have to give up on fpcupdeluxe for a bit.  It consistently fails when it gets to the 'compiling Lazarus' stage at the end.  It may be a Win64 issue.
I tried v0.99 both without and with 'Repo' option in the latest version.  Always the same result.

I notice that it installs components before the first Laz compile - maybe that's the weak point?

If it fails to make startlazarus, the user has no option but to junk >1GB of download and start again.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #63 on: November 05, 2016, 08:49:28 pm »
Problem with cross compiled binary from Windows (Lazarus 32 bit) to Linux:

When I try to run a binary made with the cross compiler i386 linux, it get's compiled, but when I try to run that binary under Ubuntu 32 bits it says that the file can't be executed. I've set the property that allows to run it and also set permissions but nothing works.

Edit: The program is an empty project and also I've added the right settings as explained here
http://forum.lazarus-ide.org/index.php/topic,34681.msg227856.html#msg227856

« Last Edit: November 05, 2016, 08:52:12 pm by lainz »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #64 on: November 06, 2016, 08:48:00 am »
@lainz

When cross-compiling, the libraries must be available on the compiling system.
The libraries that come with fpcupdeluxe are based on Arch Linux.
So, you binary gets linked with the help of these libraries.
For fpcupdeluxe, the output of
Code: Pascal  [Select][+][-]
  1. ldd ./fpcupdeluxe-arm-linux
looks like this:

Code: Text  [Select][+][-]
  1.         linux-vdso.so.1 (0x7ee9f000)
  2.         libGLESv2.so => /usr/lib/libGLESv2.so (0x76f33000)
  3.         libdl.so.2 => /usr/lib/libdl.so.2 (0x76f1e000)
  4.         libpthread.so.0 => /usr/lib/libpthread.so.0 (0x76ef5000)
  5.         libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x76e54000)
  6.         libX11.so.6 => /usr/lib/libX11.so.6 (0x76d37000)
  7.         libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x76d05000)
  8.         libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x76965000)
  9.         libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x7690e000)
  10.         libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7680e000)
  11.         libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x767fc000)
  12.         libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x767e8000)
  13.         libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x76798000)
  14.         libcairo.so.2 => /usr/lib/libcairo.so.2 (0x766a1000)
  15.         libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x76674000)
  16.         libc.so.6 => /usr/lib/libc.so.6 (0x76538000)
  17.         libdrm.so.2 => /usr/lib/libdrm.so.2 (0x7651c000)
  18.         libm.so.6 => /usr/lib/libm.so.6 (0x7649c000)
  19.         libglapi.so.0 => /usr/lib/libglapi.so.0 (0x76458000)
  20.         /lib/ld-linux-armhf.so.3 (0x76f61000)
  21.         libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x7643e000)
  22.         libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x762ef000)
  23.         libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x762a7000)
  24.         libXrender.so.1 => /usr/lib/libXrender.so.1 (0x7628e000)
  25.         libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x76f81000)
  26.         libXi.so.6 => /usr/lib/libXi.so.6 (0x76271000)
  27.         libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x76257000)
  28.         libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x76246000)
  29.         libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x7623b000)
  30.         libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x76230000)
  31.         libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x76224000)
  32.         libXext.so.6 => /usr/lib/libXext.so.6 (0x7620c000)
  33.         libxcb.so.1 => /usr/lib/libxcb.so.1 (0x761e0000)
  34.         libpng16.so.16 => /usr/lib/libpng16.so.16 (0x761a5000)
  35.         libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x76184000)
  36.         libffi.so.6 => /usr/lib/libffi.so.6 (0x76174000)
  37.         libpcre.so.1 => /usr/lib/libpcre.so.1 (0x760ff000)
  38.         libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x760d2000)
  39.         libthai.so.0 => /usr/lib/libthai.so.0 (0x760ba000)
  40.         libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x76043000)
  41.         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x75f9c000)
  42.         libEGL.so.1 => /usr/lib/libEGL.so.1 (0x75f65000)
  43.         libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x75f51000)
  44.         libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x75f37000)
  45.         libz.so.1 => /usr/lib/libz.so.1 (0x75f14000)
  46.         libGL.so.1 => /usr/lib/libGL.so.1 (0x75eaf000)
  47.         librt.so.1 => /usr/lib/librt.so.1 (0x75e98000)
  48.         libresolv.so.2 => /usr/lib/libresolv.so.2 (0x75e71000)
  49.         libexpat.so.1 => /usr/lib/libexpat.so.1 (0x75e3e000)
  50.         libXau.so.6 => /usr/lib/libXau.so.6 (0x75e34000)
  51.         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x75e1f000)
  52.         libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x75da0000)
  53.         libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x75d89000)
  54.         libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x75d78000)
  55.         libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x75d66000)
  56.         libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0x75d52000)
  57.         libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0x75d3f000)
  58.         libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0x75d2b000)
  59.         libxcb-randr.so.0 => /usr/lib/libxcb-randr.so.0 (0x75d10000)
  60.         libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x75cfa000)
  61.         libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x75ce7000)
  62.         libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x75cd2000)
  63.         libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0x75cbf000)
  64.         libgbm.so.1 => /usr/lib/libgbm.so.1 (0x75ca4000)
  65.         libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x75c8a000)
  66.         libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x75c6e000)
  67.         libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0x75c4c000)
  68.         libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x75c36000)
  69.         libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x75c05000)

This linking works in most cases. But Linux distros differ. And thus also the libraries.
It could be that in your case, the libs differ to much to be compatible.
If you are planning to use your app on a certain distro, you could always use the libs of this distro.
Just copy them (hardlinks, no softlinks) into cross\lib\linux..... on your Windows system.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #65 on: November 06, 2016, 09:00:13 am »
@minesadorada
The difference between repo yes or no.

repo yes:
sources get checked-out, and on every subsequent run, they get update.
only the updates are downloaded
the first checkout will be huge, the following updates will be (very) small

repo no:
only the files are downloaded (a svn export)
this is a not that big download
because fpcup has no way of knowing if and when there were updates, the sources get downloaded again on every subsequent run

Repo yes is the default behavior and has been for fpcup as long as its existence.
Hence fpcUP(DATE).

Repo no is available for non changing sources like stable, or old versions. These do not change anymore.
Repo no has been added to keep things small, for small systems.
Repo no is also (at the moment) the default for modules (packages).
Perhaps a warning should have to be shown when choosing repo no for FPC and/or Lazarus..

@all
Due to the fact that fpcupdeluxe gives you a choice of sources, please state your choice in any (bug) report.
I need to know to be able to reproduce/investigate.

edit: I will remove repo-checkbox from the front-page and move it towards setup+.
« Last Edit: November 06, 2016, 09:34:23 am by DonAlfredo »

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Fpcupdeluxe
« Reply #66 on: November 06, 2016, 10:46:03 am »
@DonAlfredo: I am a believer in your GUI project, but I have yet to get a usable Lazarus setup in my Windows 10 64-bit system.

I'm willing to test some more, but I need an indication as to what information you need in order to diagnose and fix.  I don't think I have an unusual system environment, but maybe some wrong assumption or other ignorance is denying you the information you might need.

If other Win 10/64-bit users are achieving success, then it's not your problem, but mine.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #67 on: November 06, 2016, 10:50:42 am »
Well, I have it working on Win10/64, but I am not representative ... ;-)

Again, what are you trying to install (FPC/Laz) ?
trunk/trunk ?
fixes,fixes ?
fixes,trunk ?
...

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Fpcupdeluxe
« Reply #68 on: November 06, 2016, 11:01:44 am »
Well, I have it working on Win10/64, but I am not representative ... ;-)

Again, what are you trying to install (FPC/Laz) ?
trunk/trunk ?
fixes,fixes ?
fixes,trunk ?
...
Before any new attempt, I delete the old Lazarus install folder and all fpcupdeluxe logfiles and inifiles.  I haven't deleted the 2 dll files (libeay32.dll and ssleay.dll) - perhaps I should?
I have tried:
1. fpc 3.1.1 + laz 1.7 (because I have a working NewPascal environment using these versions, so it seemed a reasonable test)
2. fpc 3.0 + laz 1.6 (because I have a working wininstaller environment using these versions, so it seemed a reasonable test)
3. fpc trunk + laz trunk (because this is what I would actually want fpcupdeluxe for)

All have worked fine until the final Lazarus compile.  Then failed with Error #2.

Haven't all us software developers said at least one time (in exasperation); "Well, it works on my machine!"  :D

Re: GUI choices, it would be fairly straightforward to have hints activated for each element.  A refactoring job after beta, I assume.  With complicated GUI's I favour 'beginner/normal and advanced/expert' modes via user choice.  It makes the design so much simpler as in one mode you only display essentials, whilst in the other you can display everything you have.
 
« Last Edit: November 06, 2016, 11:17:18 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #69 on: November 06, 2016, 12:22:26 pm »
Testing now !
Please try to remove fpcup.ini also, when starting new.
This fpcup.ini does not get updated when you use a new fpcupdeluxe version.
And changes inside of fpcup.ini could be important.

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Fpcupdeluxe
« Reply #70 on: November 06, 2016, 02:00:41 pm »
@all
Due to the fact that fpcupdeluxe gives you a choice of sources, please state your choice in any (bug) report.
I need to know to be able to reproduce/investigate.
I've seen this project and want to test it on Linux. I wasn't able to start on a 32bit Linux Mint 17.3 KDE GTK2 the file fpcupdeluxe-i386-linux, nor I was able to start on a 64bit Linux Mint 17.3 KDE GTK2 the file fpcupdeluxe-x86_64-linux. I'm not a Linux guru, I'm mostly on Windows. Maybe I missed something.

So I decided to download the source and compile the project for myself on Linux. As I can see, you developed your app on trunk. But I want to run your app to get the trunk %). However, I changed the source a bit, so I could compile it on stable Lazarus 1.6 on stable FPC 3.0.0. Now, with your app, I could easy install Lazarus trunk on FPC trunk. :D

Just a suggestion: Maybe in the future, is it possible to develop your app on the latest stable release of FreePascal and Lazarus, so it is compilable for everybody out of the box?

Seems to be a nice tool! I'll test it further. Thank you very much. :)
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #71 on: November 06, 2016, 02:06:53 pm »
Thanks ! Please send me the changes, I will include them.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #72 on: November 06, 2016, 02:14:30 pm »
You should think on supporting Debian/Ubuntu/Linux Mint, seems that we want to install / cross compile to these platforms.
https://distrowatch.com/dwres.php?resource=popularity

If you can, add a i386 Linux (Distro name here) to Cross Compiler. If not well we can at least install it on taget system compiling then Michl gives you the changes  8)

Sorry If I'm promoting the laziness, but is not related with the objetive of this app  :-[

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #73 on: November 06, 2016, 03:01:11 pm »
That is perhaps a good idea.
Privately, I have different libraries for both RPi (Arch) and Beaglebone (Ubuntu) when crossing towards Linux Arm.
So, this would be a natural extension.

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Fpcupdeluxe
« Reply #74 on: November 06, 2016, 07:51:53 pm »
Thanks ! Please send me the changes, I will include them.
Oh, sorry. I think, you will not include my changes, cause it was done, just to compile your project. I simply compiled your source and inserted the four not compilable files from trunk and renamed it, so that one are used (IniFiles.pas, fphttpclient.pas, sslsockets.pas, ssockets.pas) and a own definied TStringArray = Array of string. Thats it. It compiles and it work, but is absolutely not recommended and there is no guarantee it works everywhere. Sorry, if I give you a false impression. My hint was just for you, to think about, if you want that your code compiles on everybodys computer.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

 

TinyPortal © 2005-2018