libtool error : static compiling gtkmm-2.0.2



hi!!!

I am trying to compile static libraries for gtkmm-2.0.2..

I have the following ackages..
gtk-2.0.9,
glib-2.0.7,
atk-1.0.4,
pango-1.0.4
libsigc++-1.2

I have succesfully created the static libraries for the above packages

for gtkmm-2.0.2..i did this

=> configure --enable-static............(no problems)

=> make
make  all-recursive
make[1]: Entering directory `/root/newtools/gtkmm-2.0.2'
Making all in tools
make[2]: Entering directory `/root/newtools/gtkmm-2.0.2/tools'
Making all in m4
make[3]: Entering directory `/root/newtools/gtkmm-2.0.2/tools/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/newtools/gtkmm-2.0.2/tools/m4'
Making all in pm
make[3]: Entering directory `/root/newtools/gtkmm-2.0.2/tools/pm'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/newtools/gtkmm-2.0.2/tools/pm'
Making all in extra_defs_gen
make[3]: Entering directory `/root/newtools/gtkmm-2.0.2/tools/extra_defs_gen' /bin/sh ../../libtool --mode=link g++ -g -O2 -Wall -o libgtkmm_generate_extra_defs-2.0.la -rpath /usr/local/lib -version-info 2:1:1 generate_extra_defs.lo -Wl,--export-dynamic -L/usr/local/lib -lsigc-1.2 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lsigc-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lXrender -lXext -lfreetype -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

grep:/root/test/lib/libatk-1.0.la : no such file or directory
sed:/root/test/lib/libatk-1.0.la : no such file or directory
libtool: link: /root/test/lib/libatk-1.0.la : is not a valid libtool archive

make[3]: Leaving directory `/root/newtools/gtkmm-2.0.2/tools/extra_defs_gen'
make[2]: Leaving directory `/root/newtools/gtkmm-2.0.2/tools'
make[1]: Leaving directory `/root/newtools/gtkmm-2.0.2'
===================================================================

i dont understand this..the .la file is in usr/local/lib..why is it searching in /root/test/

however i did compile atk-1.0.3 using the --prefix=$HOME/test..but after
that i deleted the test directory

created a fresh untar from atk-1.0.3.tar.gz...this time i did not give the prefix..
created a fresh untar from gtkmm-2.0.2.tar.gz
when i give `make` in gtkmm-2.0.2..it still give me this error

somehow or the other the prefix is still stored in some variable..and my gtkmm-2.0.2 is using that to search for atk .la file....

can u tell me how can i get around this..

is there any other way to do..than this,,

hoping to hear from u soon

regards
vishal










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