[lazarus] win32 howto

Marc Weustink weus at quicknet.nl
Tue Apr 18 16:26:42 EDT 2000

At 12:38 18-04-2000 -0700, mooseman wrote:
>i am simply unable to get a working setup as per the howto 0.93 on the site.
>everything seems to be ok, except that darned make problem that i have had 
>all along.
>i can use cvs fine. checkout and update work ok. i can manually compile 
>using ppc386 blah, blah....
>i just cannot get past the 'make.exe No Rule to make target. Stop' error 
>after issueing a 'make clean' (or make anything for that matter).

To check I got the latest binary win32 compiler 
and tried to cycle the compiler. That didn't work.

   The system cannot find the batch label specified -

   L:\compiler>make cycle
   The name specified is not recognized as an
   internal or external command, operable program or batch file.
   >& was unexpected at this time.

Then I tried to build lazarus

That went well till:

   e:/programs/pp/bin/win32/make.exe -C lcl all
   make.exe[1]: Entering directory `l:/lazarus/lcl'
   rm -f allunits.exe
   e:/programs/pp/bin/win32/make.exe -C interfaces all
   make.exe: Entering an unknown directory
   make.exe: *** interfaces: No such file or directory (ENOENT).  Stop.
   make.exe: Leaving an unknown directory
   make.exe[1]: *** [interfaces_all] Error 2
   make.exe[1]: Leaving directory `l:/lazarus/lcl'
   make.exe: *** [lcl_all] Error 2

It seems that make has a problem with long filenames (as reported earlier)
I created a symbolic link to interf -> interfaces

   L:\lazarus\lcl>make -C interf all
   make.exe: Entering directory `l:/lazarus/lcl/interf'
   e:/programs/pp/bin/win32/make.exe -C gtk all
   make.exe[1]: Entering directory `l:/lazarus/lcl/interf/gtk'
   make.exe[1]: *** No rule to make target `gtkwinapiwindow.ppw',
   needed by `fpc_units'.  Stop.
   make.exe[1]: Leaving directory `l:/lazarus/lcl/interf/gtk'
   make.exe: *** [gtk_all] Error 2
   make.exe: Leaving directory `l:/lazarus/lcl/interf'

OK this has something to do with my symlink or the Makefile

Any idea how to tell make to use long filenames ?


More information about the Lazarus mailing list