Compile problem with ld
- From: "Billy Bob" <trashbox777 hotmail com>
- To: gtk-list gnome org
- Subject: Compile problem with ld
- Date: Tue, 15 Jul 2003 17:15:23 +0000
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:
LD_LIBRARY_PATH=$HOME/usr/lib:/usr/lib:/usr/kerberos/lib:/usr/X11R6/lib:/usr/lib/sane
C_INCLUDE_PATH=$HOME/usr/include
CPLUS_INCLUDE_PATH=$HOME/usr/include
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 libpixops.la -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/libgobject-2.0.so
/home/s03bpa/usr//lib/libgmodule-2.0.so -ldl
/home/s03bpa/usr//lib/libgthread-2.0.so -lpthread
/home/s03bpa/usr//lib/libglib-2.0.so -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.
Thanks
Brian
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]