Sign in Join

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

Mailing lists / lazarus / 2015-03

It seems that "lazbuild" is NOT checking existence of executable

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mehmet Erol Sanliturk

Dears All ,

Today I have encountered a very interesting situation :

There is a script in Fedora 19 KDE x86_64 Konsole :

--------------------------------------------------

rm Program_Name

lazbuild Program_Name.LPI

ls -l Program_Name

--------------------------------------------------

When the above script is executed successively a few times , the output is the following :

--------------------------------------------------

rm: cannot remove ???Program_Name???: No such file or directory primary config path: /home/User_Name/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu. -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/x86_64-linux;. -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fuforms;widgetset;nonwin32;../packager/units/x86_64-linux;../components/lazutils/lib/x86_64-linux;. -Fiinclude -MObjFPC -Scghi -O1 -g -gl -vew -l alllclunits.pp TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -MObjFPC -Scghi -O1 -g -gl -vewnhi -l
-Fugtk2;../../packager/units/x86_64-linux;../../components/lazutils/lib/x86_64-linux;../units/x86_64-linux;. -Figtk2 lcl.pas
TLazBuildApplication.BuildProject
MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done ls: cannot access Program_Name: No such file or directory

--------------------------------------------------

It seems that "lazbuild" is NOT checking existence of "Program_Name" executable .

Then , I have closed the Konsole and reopened it , and executed the above script .

It started to compile "Program_Name.LPI" as expected .

Thank you very much .

Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150317/4bc1b977/attachment.html>

Reply by email

Mehmet Erol Sanliturk
to Mattias Gaertner

On Tue, Mar 17, 2015 at 6:29 AM, Mattias Gaertner <

Show quoted text 21 lines
wrote: On Tue, 17 Mar 2015 02:09:46 -0700 Mehmet Erol Sanliturk wrote: >[...] > rm Program_Name > > lazbuild Program_Name.LPI > > ls -l Program_Name >[...] > MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done Fixed. Mattias -- _______________________________________________

Mattias , thank you very much .

Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150317/1a828e5b/attachment.html>

Reply by email