Recent

Author Topic: Fpcupdeluxe  (Read 628656 times)

af0815

  • Hero Member
  • *****
  • Posts: 772
Re: Fpcupdeluxe
« Reply #1965 on: October 17, 2021, 03:49:09 pm »
pas2js is on gitlab, so use a git client (no svn anymore).
regards
Andreas

prof7bit

  • Full Member
  • ***
  • Posts: 144
Re: Fpcupdeluxe
« Reply #1966 on: October 17, 2021, 04:03:01 pm »
pas2js is on gitlab, so use a git client (no svn anymore).
I know.

And fpcupdeluxe is still trying to checkout with svn and therefore failing.

Alextp

  • Hero Member
  • *****
  • Posts: 1483
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #1967 on: October 17, 2021, 04:19:21 pm »
The last fpcupdeluxe still supports SVN? I don't see that in UI, sorry. V2.2.0c.

prof7bit

  • Full Member
  • ***
  • Posts: 144
Re: Fpcupdeluxe
« Reply #1968 on: October 17, 2021, 04:22:55 pm »
The last fpcupdeluxe still supports SVN? I don't see that in UI, sorry. V2.2.0c.
Go to the modules tab and try to install the pas2js packages

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 736
Re: Fpcupdeluxe
« Reply #1969 on: October 25, 2021, 09:14:31 am »
I try to rebuild fpc + lazarus by selecting the "rebuild only" option in fpcupdeluxe, which fails with: 'C:\apps\fpcupdeluxe\lazarus\ide\lazarus.pp(83,2) Fatal: (2013) Cannot open include file "revision.inc"' and some follow-up errors. How can I rebuild without redownloading the source? Make, in which directories?

lainz

  • Hero Member
  • *****
  • Posts: 3874
Re: Fpcupdeluxe
« Reply #1970 on: October 26, 2021, 11:17:14 pm »
Cross compiling win32 to linux64 gives me this error:
Code: Pascal  [Select][+][-]
  1. Debug: C:\fpcupdeluxe\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lXtst

af0815

  • Hero Member
  • *****
  • Posts: 772
Re: Fpcupdeluxe
« Reply #1971 on: October 27, 2021, 12:44:51 pm »
Cross compiling win32 to linux64 gives me this error:
Code: Pascal  [Select][+][-]
  1. Debug: C:\fpcupdeluxe\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lXtst
The libXtst.so in 64 Bit is missing. I normally copy the missing/needed libs from the targetsystem back to compiling PC. I have stored in by brain, this is needed by the the mouseandKeyinput unit. Exactly it is needed in XKeyInput.pas
regards
Andreas

lainz

  • Hero Member
  • *****
  • Posts: 3874
Re: Fpcupdeluxe
« Reply #1972 on: October 27, 2021, 05:15:20 pm »
Cross compiling win32 to linux64 gives me this error:
Code: Pascal  [Select][+][-]
  1. Debug: C:\fpcupdeluxe\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lXtst
The libXtst.so in 64 Bit is missing. I normally copy the missing/needed libs from the targetsystem back to compiling PC. I have stored in by brain, this is needed by the the mouseandKeyinput unit. Exactly it is needed in XKeyInput.pas

I hope that file can be added to the main download. Because I cross compile to Linux 32 and everything is fine.

Anyways I need to find that .so in the system..

af0815

  • Hero Member
  • *****
  • Posts: 772
Re: Fpcupdeluxe
« Reply #1973 on: October 27, 2021, 05:50:25 pm »
IMHO is fpcupdeluxe not responsible for external libraries used by some componets. fpcupdeluxe install all it need to bootstrap a compiler and lazarus.

I know the problem, because i compile from windows to arm-linux, x86_64-linux. If you copy the ibraries, you must look not to copy only a link. And dont forget, sometimes a library depends on another library. I have seen this can be sometimes a library-hell.
regards
Andreas

kjteng

  • Full Member
  • ***
  • Posts: 208
questions relating to fpcupdelux
« Reply #1974 on: October 30, 2021, 09:28:31 am »
I have just installed lazarus using fpcupdeluxe and need help on the following:
1. I got error message (expected another 6 array elements) when installing additional components (namely rxlib, fpspread, ibx) in the following pas file:
  IBCustomDataSet.pas -  DefaultFieldClasses: array[TFieldType] of TFieldClass = (...)   
  ex_rx_xml_datapacket.pas -  XMLFieldtypenames : Array [TFieldType] of String[15] =    (...) 
  zAbstractRODataset.pas -   BaseFieldTypes: array[TFieldType] of TFieldType = ( ...)   

Although I manage to install these component by inserting addition element to this file (either  insert '', ftUnknown or nil), I wish to know what is the correct thing to be done here.

2. Using fpcupdeluxe, Will it be possible for me to update selected package (eg. fcl-db) later  instead of installing the whole fpc/lazarus again ?

wp

  • Hero Member
  • *****
  • Posts: 9029
Re: questions relating to fpcupdelux
« Reply #1975 on: October 30, 2021, 12:25:09 pm »
Did you select the trunk/main version of FPC in FPCUpDeluxe? When you need third-party packages, too, there is the risk that some packages are not up-to-date with FPC trunk/main; the package maintainer may either have abandoned his project or does not work with FPC/main because it sometimes introduces temporary issues.

If you have problems with such packages I'd recommend to install only a bare FPC/Lazarus and add third-party packages step by step later. Omit a package which causes problems. Remember that you still have your primary Lazarus/FPC installation to continue your work with it.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

kjteng

  • Full Member
  • ***
  • Posts: 208
Re: Fpcupdeluxe
« Reply #1976 on: October 31, 2021, 02:14:40 am »
Yes I selected the trunk version for both fpc and lazarus but did not select any of the thing from the 'Modules' tab.  After that I install the ibx, zeoslib packages from the file that I downloaded from other site.
It appears to work after I added some 6 null elements to those arrays mentioned earlier.  But I  wish to know why this happens and whether it may cause problem in future.

So it is better to keep the primary Lazarus installation just in case?

af0815

  • Hero Member
  • *****
  • Posts: 772
Re: Fpcupdeluxe
« Reply #1977 on: October 31, 2021, 07:58:42 am »
A IMHO good combination is fpcupdeluxe an OPM in Lazarus itself.

I install fpc and Lazarus with fpcupdeluxe and then i activate Online Package Manager (OPM) and install the needed Packages.
regards
Andreas

ttomas

  • Full Member
  • ***
  • Posts: 233
Re: Fpcupdeluxe
« Reply #1978 on: November 15, 2021, 09:33:19 pm »
Can't build FPC fixes-3.2 / Lazarus fixes-2.0 from GitLab. Win32 version on W10 64bit.
FPC build is broken for fixes-3.2. Look like FPC source problem.
running
Code: Pascal  [Select][+][-]
  1. C:\Lazarus\Lfix2.0_Ffix3.2\fpcbootstrap\make.exe install INSTALL_PREFIX=C:\Lazarus\Lfix2.0_Ffix3.2\fpc
Show same error when buildrtl
Code: Pascal  [Select][+][-]
  1. C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/compiler/ppc2.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/rtl/units/i386-win32 -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
  2. sysutils.pp(1513,7) Fatal: Internal error 309993
  3. Fatal: Compilation aborted
  4. make[7]: *** [buildrtl.ppu] Error 1
  5. make[7]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/rtl/win32'
  6. make[6]: *** [win32_all] Error 2
  7. make[6]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/rtl'
  8. make[5]: *** [rtl] Error 2
  9. make[5]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/compiler'
  10. make[4]: *** [next] Error 2
  11. make[4]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/compiler'
  12. make[3]: *** [ppc3.exe] Error 2
  13. make[3]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/compiler'
  14. make[2]: *** [cycle] Error 2
  15. make[2]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc/compiler'
  16. make[1]: *** [compiler_cycle] Error 2
  17. make[1]: Leaving directory `C:/Lazarus/Lfix2.0_Ffix3.2/fpcsrc'
  18. make: *** [build-stamp.i386-win32] Error 2
  19.  
FPC 3.2.2/Lazarus fixes-2.0 is OK

Edited:
Just see the same problem as Issue
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/465
I can't see Issue in FPC repo!
« Last Edit: November 15, 2021, 09:44:40 pm by ttomas »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1511
Re: Fpcupdeluxe
« Reply #1979 on: November 16, 2021, 11:02:16 am »
Quote
sysutils.pp(1513,7) Fatal: Internal error 309993
Besides this issue, there are more problems on Windows with fixes 3.2.
I am looking into them and will file a bugger if I know more.

 

TinyPortal © 2005-2018