[lazarus] lazarus compile problems

Sergio A. Kessler sak at perio.unlp.edu.ar
Tue May 4 23:13:28 EDT 1999


"Michael A. Hess" <mhess at miraclec.com> el día Tue, 04 May 1999 21:55:05 
-0400, escribió:

>Sergio A. Kessler wrote:
>> 
>> btw, the variables XLIBDIR and GTKLIBDIR are not used in the
>> lazarus makefile (I do a symlink /usr/lib/X11 -> /usr/X11R6/lib)
>
>Add what I have indicated in this previous email. Cliff you might want
>to patch the makefile and compite it to CVS.
>
>http://www.miraclec.com/list_archives/lazarus/msg00164.html

this doesn't work work because in
override NEEDLIBDIR := $(NEEDLIBDIR) $(XLIBDIR)

$(NEEDLIBDIR) take the value ../fcl ... and not ../fcl/linux ...

I've tryied _exactly_ this yesterday, I don't know why this
happens ...

>Then define the XLIBDIR and possibly GTKLIBDIR if you need it.
> 
>> I think it will be more sane to use the content of /etc/ld.so.conf
>> file instead of XLIBDIR and GTKLIBDIR, no ?
>
>The makefile.fpc is setup to handle all this and it might be better to
>stick with the current setup.   :-)

the makefile.fpc does not deal with XLIBDIR and GTKLIBDIR, and yes,
it is better to stick with the current setup :)

I'm aiming at simplify the things, if the gtk and lazarus makefile
read the /etc/ld.so.conf there is no need to use XLIBDIR or GTKLIBDIR,
then you don't need to edit the makefile for different systems.

I'll try a hack tomorow and post a patch if I success.

Sergio






More information about the Lazarus mailing list