* * *

Author Topic: Fpcupdeluxe  (Read 44246 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #450 on: March 19, 2017, 12:45:56 pm »
@josh
Use Setup+ to enable rebuild only.
See included screenshot.

@bart
My advice towards josh was just meant as a work-around.
I still have no clear view of it.
If I have, will file the report.


josh

  • Sr. Member
  • ****
  • Posts: 327
Re: Fpcupdeluxe
« Reply #451 on: March 19, 2017, 01:51:13 pm »
Hi
Well I am getting further, but still am getting build problems.

I have attached part of the log file, problem in DateTimeCtrlsDsgn

Code: [Select]
using config file /Users/josh/lazarus_trunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/josh/lazarus_trunk/config_lazarus" -> "/Users/josh/lazarus_trunk/config_lazarus"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "compilertest.pas"
fpcupdeluxe: info: TUniversalInstaller: checking lpl file for datetimectrls
fpcupdeluxe: info: Installing DateTimeCtrlsDsgn version 1.5.1
Executing : /Users/josh/lazarus_trunk/lazarus/lazbuild "--pcp=/Users/josh/lazarus_trunk/config_lazarus" "--add-package" "/Users/josh/lazarus_trunk/lazarus/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk" (working dir: )
using config file /Users/josh/lazarus_trunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/josh/lazarus_trunk/config_lazarus" -> "/Users/josh/lazarus_trunk/config_lazarus"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "compilertest.pas"
Error: (lazbuild) The package name "" of
the file "/Users/josh/lazarus_trunk/lazarus/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk" is invalid.

fpcupdeluxe: info: InstallerUniversal: error trying to add package DateTimeCtrlsDsgn
Details:
fpcupdeluxe: ERROR: TUniversalInstaller: error while installing package /Users/josh/lazarus_trunk/lazarus/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk. Stopping
fpcupdeluxe: info: InstallerUniversal: going to rebuild Lazarus because packages were installed.
Executing : /Users/josh/lazarus_trunk/lazarus/lazbuild "--quiet" "--quiet" "--pcp=/Users/josh/lazarus_trunk/config_lazarus" "--build-ide=-dKeepInstalledPackages " "--build-mode=" (working dir: /Users/josh/lazarus_trunk/lazarus)
using config file /Users/josh/lazarus_trunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/josh/lazarus_trunk/config_lazarus" -> "/Users/josh/lazarus_trunk/config_lazarus"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP" "-Pi386" "-Tdarwin" "-Fr/Users/josh/lazarus_trunk/lazarus/components/codetools/fpc.errore.msg"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "-Pi386" "-Tdarwin" "-Fr/Users/josh/lazarus_trunk/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas"
fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence LazCleanAndBuildOnly; line: 5, param: UniversalDefault
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: LazCleanAndBuildOnly


ERROR: Fpcupdeluxe failed.

Lazarus 1.3
FPC 2.7.1
Windows 7/8 32/64, OSX, *nix

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #452 on: March 19, 2017, 02:19:08 pm »
There should be no problem in DateTimeCtrlsDsgn:
the lpk is not there
error reported
packages skipped
fpcupdeluxe continues

Please attach the whole log. Problem should be somewhere else.

JD

  • Hero Member
  • *****
  • Posts: 1542
Re: Fpcupdeluxe
« Reply #453 on: March 23, 2017, 01:14:53 pm »
Hi there Don Alfredo,

Any combination of Lazarus/FPC I download using fpcupdeluxe has a certain problem. When I open the Lazarus IDE, put a button on a form & then double click the button, I get the error in the screenshot below.

What is going wrong?

JD
Windows (10, 7) - Lazarus 1.6.4/FPC 3.0.2 (also Delphi occasionally)
Linux Mint Cinnamon  - Lazarus 1.4/FPC 2.6.4
Indy 10.6 series; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #454 on: March 23, 2017, 02:16:35 pm »
Try Tools > Rescan FPC Source Directory

JD

  • Hero Member
  • *****
  • Posts: 1542
Re: Fpcupdeluxe
« Reply #455 on: March 23, 2017, 02:31:49 pm »
Try Tools > Rescan FPC Source Directory

Thanks a lot. That worked.
Windows (10, 7) - Lazarus 1.6.4/FPC 3.0.2 (also Delphi occasionally)
Linux Mint Cinnamon  - Lazarus 1.4/FPC 2.6.4
Indy 10.6 series; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB

Petr.Nehez

  • New member
  • *
  • Posts: 14
Re: Fpcupdeluxe
« Reply #456 on: March 30, 2017, 01:32:03 pm »
Hi,

I know that the following issue is off-topic but I am trying to cross-compile on Ubuntu 16.10 64bit to 32bit but I get these errors:
Quote
Compile Project, Target: /home/petr/work/fpcx/projects/project1: Exit code 256, Errors: 1
Linking /home/petr/work/fpcx/projects/project1
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -latk-1.0
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Verbose: There were 1 errors compiling module, stopping

Could anybody help me and tell which packages I should install?
I tried some but without any success...

Thanks.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #457 on: March 30, 2017, 02:56:50 pm »
AFAIK, you need the 32bit libs do cross from 64 to 32.

But installing these libs poses a problem. See:
http://forum.lazarus.freepascal.org/index.php/topic,34645.msg239152.html#msg239152

I am still thinking about a way to solve this, either by:
* using the 32bit linux libs of fpcupdeluxe
* by instructing the user to make some extra simlinks of the missing libs

Petr.Nehez

  • New member
  • *
  • Posts: 14
Re: Fpcupdeluxe
« Reply #458 on: March 30, 2017, 03:04:42 pm »
I tried to install the missing libraries but I don't know exactly which I should install.

Is there a list of 32bit libraries which are needed to be installed?
That would help a little, I guess.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #459 on: March 30, 2017, 03:33:01 pm »
Your previous error message should point you in the right direction.

However, you could try something else, and also help me !

Download the 32bit libs from fpcupdeluxe:
https://github.com/newpascal/fpcupdeluxe/releases/tag/crosslibs_v1.0
https://github.com/newpascal/fpcupdeluxe/releases/download/crosslibs_v1.0/CrossLibsLinuxi386.rar

Point FPC/Lazarus towards these libs in your project options:
-Fl/installdir/cross/lib/arm-linux/
(or in your Lazarus project options)


mizar

  • New member
  • *
  • Posts: 23
Re: Fpcupdeluxe
« Reply #460 on: March 30, 2017, 03:57:48 pm »
I was trying to install some cross-compilers using fpcupdeluxe.
The system I'm working on is a linux x64 and I succeeded in installing cross compilers for
-linux i386
-win i386
-win x64
-linux arm

but looking in the folder fpc/bin/x86_64-linux I noticed that both the installation of linux i386 and win i386 generate the same executable ppcross386 overwriting one another.

Is this normal ? Is there a way to preserve the first from being overwritten from the latter ?

Thank you

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #461 on: March 30, 2017, 04:57:14 pm »
@mizar
Yep. Overwrite is normal (for fpcupdeluxe) !
And cannot be prevented.

Petr.Nehez

  • New member
  • *
  • Posts: 14
Re: Fpcupdeluxe
« Reply #462 on: March 31, 2017, 10:42:07 am »
Point FPC/Lazarus towards these libs in your project options:
-Fl/installdir/cross/lib/arm-linux/
(or in your Lazarus project options)

I downloaded and extracted the libraries.
Maybe I am blind %) but where/how should I point FPC/Lazarus to these libs?

I am still new to the playing with custom builds of FPC so I would appreciate if you can help me.
Thanks.

Thaddy

  • Hero Member
  • *****
  • Posts: 3421
Re: Fpcupdeluxe
« Reply #463 on: March 31, 2017, 01:03:07 pm »
@mizar
Yep. Overwrite is normal (for fpcupdeluxe) !
And cannot be prevented.
But it is not necessary and hereby a feature request since it CAN be prevented in the current makefile options.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 677
Re: Fpcupdeluxe
« Reply #464 on: March 31, 2017, 03:58:56 pm »
@thaddy.
Ok ! Agreed.
Also, please enlighten me to make my life more easy: what make command is suitable ?
Thanks.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus