Installing libscigraphica from cvs on gentoo (problem with gtkextra)

Juan <[email protected]> Wed, 23 Feb 2005 14:39:06 -0300
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
Hi, I finally was able to install on gentoo. The only problem I get is 
that for some reason (probably in gentoo) when I make libscigraphica, it 
looks for gtkextra on /usr/lib/ rather than in /usr/local/lib that is 
where gtkextra is. I checked the /etc/ld.so.conf and /usr/local/lib is 
there. The error message follows at the end. As you see the command line 
includes the path to the gtkextra library (-L/usr/local/lib -lgtkextra) 
in the 10th. line and in the 3rd line from the bottom. In order to 
install scigraphica before I copied all gtkextra files from 
/usr/local/lib to /usr/lib and remove them after installation but it is 
not a real solution.
Any help? Thanks,

Juan


Error message:

/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O -W -Wall 
-DWITH_WARNINGS -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include 
-DWITH_GDK_IMLIB -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DWITH_LIBART  -lz -o libscigraphica.la -rpath 
/usr/local/lib -version-info 0:0:0 -release 1.0 -export-dynamic 
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl 
-lXi -lXext -lX11 -lm -L/usr/local/lib -lgtkextra -L/usr/lib 
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm -lxml2 -lpthread -lz -lm   -L/usr/lib/python2.3//config 
-lpython2.3 -lpthread -ldl  -lutil -L/usr/lib -lart_lgpl -lm  
sg_application.lo sg.lo sg_config.lo sg_dataset.lo sg_features.lo 
sg_file.lo sg_file_dialog.lo sg_layer_control.lo sg_locale.lo 
sg_plugin_array.lo sg_plugin.lo sg_plugin_dataset.lo sg_plugin_file.lo 
sg_plugin_formula.lo sg_plugin_function.lo sg_plugin_iterator.lo 
sg_plugin_layer.lo sg_plugin_loader.lo sg_plugin_menu.lo 
sg_plugin_style.lo sg_python.lo sg_python_worksheet.lo sg_python_expr.lo 
algorithms/libsgalgorithms.la widgets/libsgwidgets.la 
dialogs/libsgdialogs.la  -L/usr/lib -lgdk_imlib -L/usr/lib 
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule 
-lglib -ldl -lXi -lXext -lX11 -lm -L/usr/local/lib -lgtkextra -L/usr/lib 
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm -L/usr/lib -lart_lgpl -lm
libtool: link: cannot find the library `/usr/lib/libgtkextra.la'
make[3]: *** [libscigraphica.la] Error 1


Adrian E. Feiguin wrote:

> Hola Juan,
>    I have committed a few changes to autogen and configure.in. You 
> probably downloaded the code before I made the changes. check your 
> autogen.sh script and look for a line containing "intltoolize". If 
> it's not there, you have to get the new version. Otherwise, just move 
> all the plugin.xml.in files to plugin.xml.
> Suerte con eso!,
> <ADRIAN>
>
> Juan wrote:
>
>> Hi, I've tried to install libscigraphica from cvs. I am working on 
>> gentoo. I installed gtkextra with no problems. I was mainly following 
>> the instructions from Manuel Baptista:
>>
>>> Then get gtkextra , not gtkextra-2, from CVS, compile it and install it
>>> (./autogen.sh ; ./configure ; make ; make install). Edit the 
>>> /etc/ld.so.conf
>>> to include /usr/local/lib and run ldconfig ; Then, get 
>>> libscigraphica from
>>> CVS, compile it and install it (./autogen.sh ; ./configure
>>> --with-python-numeric-path=/usr/include/python2.3/Numeric/ ; make ;
>>
>>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click