Compile problem with ld

I am having trouble compling GTK, and any help would be appreciated:

I am trying to install GTK on:

Linux version 2.4.20-18.8 (bhcompile daffy perf redhat com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Thu May 29 07:40:27 EDT 2003

It is a little complicated by the fact that I do not have access to root, so everything I install is in $HOME/usr.

I have downloaded glib-2.2.0, pango-1.2.3, atk-1.2.4, jpeg-6b, tiff-v3.5.7 and installed them all in my $HOME/usr directory ($HOME/usr/bin, $HOME/usr/lib, ect..).

I downloaded gtk+-2.2.2, and used ./configure --prefix=$HOME/usr/local --exec-prefix=$HOME/usr

but, to get the configure script to recgonize everything I had to create the following environment variables:

LDFLAGS=-L $HOME/usr/lib

So then the configure script works fine, but when I type make, it gets to the gtk+-2.2.2/gdk-pixbuf/pixops/ folder and prints the following:

make[3]: Entering directory `/home/s03bpa/usr/src/gtk/gtk+-2.2.2/gdk-pixbuf/pixops' /bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -L /home/s03bpa/usr/lib -o timescale timescale.o -Wl,--export-dynamic -pthread -L/home/s03bpa/usr//lib -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lm gcc -g -O2 -Wall /home/s03bpa/usr/lib -o timescale timescale.o -Wl,--export-dynamic -pthread -L/home/s03bpa/usr/src/gtk/gtk+-2.2.2/gdk-pixbuf/pixops ./.libs/libpixops.a -L/home/s03bpa/usr//lib /home/s03bpa/usr//lib/ /home/s03bpa/usr//lib/ -ldl /home/s03bpa/usr//lib/ -lpthread /home/s03bpa/usr//lib/ -lm -Wl,--rpath -Wl,/home/s03bpa/usr//lib -Wl,--rpath -Wl,/home/s03bpa/usr//lib
/home/s03bpa/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [timescale] Error 1
make[3]: Leaving directory `/home/s03bpa/usr/src/gtk/gtk+-2.2.2/gdk-pixbuf/pixops'

Can anyone see what I've done wrong, or why this error appears? I cannot decipher it.


MSN 8 with e-mail virus protection service: 2 months FREE*

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