Re: installing libscigraphica from cvs on gentoo

Juan <[email protected]> Thu, 03 Feb 2005 16:32:32 -0300
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
Hi/hola:
Thanks for the prompt answer. It is encouraging.
Following the advice of Jan, I updated the code from cvs again and was 
able to compile/install libscigraphica without further problems.

Now, I've got new issues with sg1 (just updated it from cvs). First it 
complained about termcap (I installed it and solved!), Now it is 
complaining that it cannot find the library libsgvt (I've got no idea 
what's that about).  The error follows:


gcc -g -O -W -Wall -DWITH_WARNINGS -DREADLINE_4 -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../zvt -g -O -W -Wall -DWITH_WARNINGS 
-DREADLINE_4 -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../zvt -o scigraphica sg_logo_dialogs.o sg_main.o sg_project.o 
sg_project_config.o sg_project_menu.o sg_project_popups.o 
sg_project_statusbar.o sg_project_autosave.o sg_project_rescue.o 
sg_python_config.o sg_config_dialog.o sg_preferences_dialog.o 
sg_project_toolbar.o -rdynamic -rdynamic -rdynamic -rdynamic -rdynamic  
/usr/local/lib/libscigraphica.so -L/usr/lib -L/usr/X11R6/lib 
-L/usr/local/lib -L/usr/lib/python2.3//config /usr/lib/libart_lgpl.so 
/usr/lib/libxml2.so -lz -lpython2.3 -lpthread -lutil 
-L/home/fiolj/downloads/scig/sg1/zvt -lsgvt -lreadline -ltermcap 
-lncurses /usr/lib/libgdk_imlib.so -lSM -lICE 
/usr/local/lib/libgtkextra.so /usr/lib/libgtk.so /usr/lib/libgdk.so 
/usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm 
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lsgvt

Gracias,
    Juan


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 ;
>>
>>
>>
>>
>> First of all take into account that I know nothing about the autogen, 
>> autoconf, automake stuff so I did a few changes but I really don't 
>> know what I am doing.
>>
>> Everything worked fine with gtkextra, except that gtkextra.m4 is now 
>> located in /usr/local/share/aclocal but the autogen.sh script of 
>> LIBSCIGRAPHICA does not use this location. I changed the seventh line 
>> to:
>>
>> ACLOCAL="aclocal -I macros -I /usr/local/share/aclocal"
>>
>> and it worked.
>>
>> Then, autogen.sh and ./configure run with no major problems. The 
>> following error appears with the make command. It seems that the 
>> error is related to the file plugin.xml. Any idea?
>>
>> Regards,
>>            Juan Fiol
>>
>> Error message follows:
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl