installing libscigraphica from cvs on gentoo

Juan <[email protected]> Thu, 03 Feb 2005 15:10:46 -0300
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
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:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../scigraphica 
-I../../scigraphica/dialogs -I../../scigraphica/widgets 
-I/usr/include/python2.3 -I/usr/include/python2.3/Numeric/ 
-DWITH_NUMERIC_PYTHON -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 -MT sg_layer_polar.lo -MD -MP -MF .deps/sg_layer_polar.Tpo 
-c sg_layer_polar.c -o sg_layer_polar.o >/dev/null 2>&1
/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 layers.la -rpath 
/usr/local/lib/scigraphica/1.0.0/plugins/layers -module -avoid-version 
sg_layer_2d.lo sg_layer_3d.lo sg_layer_polar.lo  -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
rm -fr  .libs/layers.a .libs/layers.la .libs/layers.lai .libs/layers.so
gcc -shared  .libs/sg_layer_2d.o .libs/sg_layer_3d.o 
.libs/sg_layer_polar.o  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath 
-Wl,/usr/local/lib -L/usr/X11R6/lib -lz -L/usr/lib 
/usr/lib/libgdk_imlib.so -L/usr/local/lib /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 /usr/lib/libart_lgpl.so -lm  
-Wl,-soname -Wl,layers.so -o .libs/layers.so
ar cru .libs/layers.a  sg_layer_2d.o sg_layer_3d.o sg_layer_polar.o
ranlib .libs/layers.a
creating layers.la
(cd .libs && rm -f layers.la && ln -s ../layers.la layers.la)
make[3]: *** No rule to make target `plugin.xml', needed by `all-am'.  
Stop.
make[3]: Leaving directory 
`/home/fiolj/downloads/scig/libscigraphica/plugins/layers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/fiolj/downloads/scig/libscigraphica/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fiolj/downloads/scig/libscigraphica'
make: *** [all] Error 2


-------------------------------------------------------
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