On Sun, 3 May 1998, Brad Alexander wrote:

> gcc -L../libmej -L/usr/local/lib -L/usr/local/lib -o Eterm threads.o
> command.o graphics.o grkelot.o pixmap.o main.o menubar.o misc.o
> netdisp.o screen.o scrollbar.o utmp.o options.o system.o -lutil
> -lpthread -L/usr/X11R6/lib  -lSM -lICE -lX11  -lmej -lz -lpng -ljpeg
> -ltiff -lgif

> I tried to compile eplus-DR10, and got the following during ./configure: 

> checking for png_read_image in -lpng... no
> checking for Imlib_free_pixmap in -lImlib... no
> configure: error:  Error: compatible imlib not found. 
> 
> Both of these compiles seem to be related. Undefined references in Imlib
> and libpng. Should I try to run an older version of both? This seems to be
> a bit of a Bad Thing...So how can I get these proggies to
> find/use/recognize my brand new shiny libs on my brand new shiny glibc
> system?

The first of these is actually a problem with undefined references *to*
Imlib-- if you look closely at the compile directive above, it's not
trying to link in Imlib.  You'll need to edit your Makefile by hand to add
the -lImlib.  You'll also need -lm, as the new libpng depends on some
hefty math functions.

The second problem... will be taken care of in eplus DR11, but that
probably doesn't help you very much right now. :)  The configure script is
failing because it doesn't know about the extra library dependencies in
the new versions of libpng and Imlib.  If you want to try to edit the
configure script itself to make sure it links in the dependencies when
testing for the libs (-lz and -lm with libpng, and (I think) -ljpeg and
-lgif for Imlib) you can, otherwise if you have autoconf on your system
it's a lot easier to edit the configure.in file and rebuild configure.

Your other two options are to use an older version of the libraries, or
wait until DR11 shows its face (hopefully not too much longer)...

                             -Steve Langasek
-doink-

-
To unsubscribe from this list send mail to: [EMAIL PROTECTED]
with the message contents: unsubscribe e-develop

Reply via email to