Re: 1.0 tarball compile problem



On Thu, 4 Mar 1999, Ronald de Man wrote:

> Ah it's not the usual problem :)

Well, does this make me special? ;-)

> In config.log you should be able to find the reason why libz.so isn't found.
> I suppose that configure tries to link a small test program and fails.
> Can you see why?

Okay, I am just re-running ./configure. I use --prefix=/opt/gnome by the
way. For starters, the script outputs:

checking for gif_lib.h... yes
checking for DGifOpenFileName in -lungif... no
checking for DGifOpenFileName in -lgif... yes

So it does seem to find -lgif.

OK I will look into the log file next:

Okay, weird:

configure:2305: checking If dynamic linking works on this system
configure:2328: gcc -o conftest -g -O2    conftest.c   1>&5
configure:2316: glib.h: No such file or directory
configure:2317: gmodule.h: No such file or directory
configure: failed program was:
#line 2314 "configure"
#include "confdefs.h"

#include <glib.h>
#include <gmodule.h>

glib sits neatly in /opt/gnome/lib, and it's added to /etc/ld.so.conf and
I did run ldconfig.

/usr/i486-linux/bin/ld: cannot open -ldir: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2769 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

Hmmmmm... more errors...

/home/nils/gnome/imlib-1.9.4/configure:3064: undefined reference to
`blumfrub'

What the... is a blumfrub?
There's some more errors that I think are not relevant. 
Next it says it cannot find libungif (which I do have installed)

configure:4748: checking for DGifOpenFileName in -lungif
configure:4767: gcc -o conftest -g -O2  -I/usr/X11R6/include
-I/opt/gnome/lib/glib/include -I/opt/gnome/include -I${prefix}/include
-I/opt/gnome/include  conftest.c -lungif -L/opt/gnome/lib -L/usr/X11R6/lib
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm  1>&5
/usr/i486-linux/bin/ld: cannot open -lungif: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 4756 "configure"
#include "confdefs.h"

it does seem to be able to find -lgif a few lines later.

z library is not mentioned except being used to link once.

I am confused.


Best wishes,
Nils

----
 "When one entertains female friends, one should try not to
  look quite as seedy as certain unnamed parties habitually do."
                     --- Calvin & Hobbes: "It's a Magical World"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]