Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-02

make -s clean all PREFIX= prefix not using

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

FreeMan

fpc r30004 lazarus r47987 osx qt x64
lazarus make line
make -s clean all PREFIX=$prefixVolume$laz_prefix CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt OPT=-k'-framework' -k'ApplicationServices' -dUSE_QT_45 -g -gl

start lazarus, open Tools --> Install / Uninstall packages. "installed" list has added components, "click save and rebuild IDE" then confirm windows opened and click to continue, compiling start, I can see added packages is compiling there. this job finished without any error. when IDE restarted, popup error, startlazarus not found message, and path is not in prefix path so can't find binary file

lazbuild command line:
./lazbuild --pcp=/Users/"$User_Name"/.lazarus --quiet --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

this is same result, I mean
I check paths, while making not use PREFIX parameter, so binary files "lazarus, startlazarus" in wrong path

Reply by email

FreeMan
to FreeMan

Sorry this is false report.
in profile folder
idemake.cfg, environmentoptions.xml
has wrong path, when I fix them, work normal now, sorry, my fault Thank you

FreeMan wrote 27 lines
fpc r30004 lazarus r47987 osx qt x64 lazarus make line make -s clean all PREFIX=$prefixVolume$laz_prefix CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt OPT=-k'-framework' -k'ApplicationServices' -dUSE_QT_45 -g -gl start lazarus, open Tools --> Install / Uninstall packages. "installed" list has added components, "click save and rebuild IDE" then confirm windows opened and click to continue, compiling start, I can see added packages is compiling there. this job finished without any error. when IDE restarted, popup error, startlazarus not found message, and path is not in prefix path so can't find binary file lazbuild command line: ./lazbuild --pcp=/Users/"$User_Name"/.lazarus --quiet --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64 this is same result, I mean I check paths, while making not use PREFIX parameter, so binary files "lazarus, startlazarus" in wrong path -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to FreeMan: fpc r30004 lazarus r47987 osx qt x64 lazarus make line make -s clean all…
Show quoted text 12 lines
fpc r30004 lazarus r47987 osx qt x64 lazarus make line make -s clean all PREFIX=$prefixVolume$laz_prefix CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt OPT=-k'-framework' -k'ApplicationServices' -dUSE_QT_45 -g -gl start lazarus, open Tools --> Install / Uninstall packages. "installed" list has added components, "click save and rebuild IDE" then confirm windows opened and click to continue, compiling start, I can see added packages is compiling there. this job finished without any error. when IDE restarted, popup error, startlazarus not found message, and path is not in prefix path so can't find binary file

Correct. startlazarus does not know the "make" parameters.

Show quoted text 7 lines
lazbuild command line: ./lazbuild --pcp=/Users/"$User_Name"/.lazarus --quiet --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64 this is same result, I mean I check paths, while making not use PREFIX parameter, so binary files "lazarus, startlazarus" in wrong path

PREFIX is not supported.

Mattias

Reply by email

FreeMan
to Mattias Gaertner

Before try, I wanna ask,
In idemake.cfg, environmentoptions.xml can support macro use ? I mean, -vbq
-FU/Volumes/ram_disk/opt/lazarus/units/x86_64-darwin/qt -Fu/Volumes/ram_disk/opt/lazarus/packager/units/x86_64-darwin -Fu/opt/proje_laz/components/all_libs/lnet/x86_64-darwin-qt this lines from idemake.cfg

Can I use like this?
-FU*$(***LazarusDir*)*/units/x86_64-darwin/qt
-Fu*$(***LazarusDir*)*/packager/units/x86_64-darwin -Fu/opt/proje_laz/components/all_libs/lnet/x86_64-darwin-qt* ***Thank you

Mattias Gaertner wrote
PREFIX is not supported. Mattias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150225/60cb1f84/attachment.html>

Reply by email

Mattias Gaertner
to FreeMan
Before try, I wanna ask, In idemake.cfg, environmentoptions.xml can support macro use ? I mean,

idemake.cfg is autogenerated. All macros are resolved. This file is passed to the compiler.

environmentoptions.xml can contain macros.

Mattias

Reply by email