Re: ANNOUNCE: libscigraphica and sg1 in CVS

Nikolas Arend <[email protected]> Mon, 15 Nov 2004 23:48:07 +0100
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
Adrian E. Feiguin wrote:

> Finally, after a year or so of steady work, I get to make fans smile, 
> and skeptics concede! libscigraphica and sg1 are in CVS. This is the 
> deal:
>
> - The packages can be obtained from the CVS repository as 
> "libscigraphica" and "sg1".
> - install gtkextra (1.0.0, cvs version)
> - install libscigraphica (works with gtk+-1, for now. Porting to 
> gtk+-2 should be straightforward, and I'm planning to do it after your 
> reports)
> - install sg1
>
> As you can see, all widgets and dialogs (GUI stuff) has been moved to 
> libscigraphica. libsg also provides the plugin support. Libscigraphica 
> also includes two test programs: testplot and testsheet. 
> Libscigraphica will also allow to embed plots in applications in a 
> tranparent way, with all the interface and dialogs provided by the 
> libraries.
>
> Plugins provided:
> - basic layers (2D, Polar, 3D)
> - basic styles (scatter, lines, contour, etc)
> - dataset iterators to retrieve the data (function, worksheet, file, 
> matrix, python)
> - toolbars
> - menus
> - arrays (for data editting, used for custom labels and ticks)
>
> I hope you all concede that this has represented a lot of work, and 
> you forgive me for so many delays.
>
> Known issues: Python is partly broken. Our Python guru has given up 
> some time ago, and I've been trying to cope with his departure, We'll 
> all miss him ;-) I count with him for some advice and support, but I 
> need help with this. Any volunteers will be very welcome.
>
> Well, gtkextra-2 and gtkextra-2 are there, practically ready for 
> release. I need some fresh reports (installation problems?, 
> suggestions?) to do the fine-tunning on libscigraphica and sg1.
>
> Waiting for you feedback. Enjoy!
> <ADRIAN>

Hi,

great to see sg in CVS, thanks! So, here comes some feedback...

I compiled libscigraphica, using gtkextra-1 from CVS and numarray-1.1 
(numeric python) and that went smooth (execpt for a python configure issue,
but you mentioned that this could be broken). At least for the first 
compilation after running autogen.sh there were no hiccups; the second 
time, after
doing a 'make distclean', I got the following error, although compiling 
with the exact same configure options:

make[3]: *** No rule to make target `plugin.xml', needed by `all-am'.  Stop.
make[3]: Leaving directory 
`/home/scratch/narend/src/build/libscigraphica/plugins/layers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/scratch/narend/src/build/libscigraphica/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scratch/narend/src/build/libscigraphica'
make: *** [all] Error 2

Even another 'make distclean && ./autogen && configure ...' run didn't 
help, I had to co libscigraphica again from CVS.
Maybe that needs some tweaking.

But I wasn't able to compile sg1. First problem was:

make[1]: Entering directory `/home/scratch/narend/src/build/sg1'
Making all in docs
make[2]: Entering directory `/home/scratch/narend/src/build/sg1/docs'
make[2]: *** No rule to make target `FAQ.html', needed by `all-am'.  Stop.
make[2]: Leaving directory `/home/scratch/narend/src/build/sg1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scratch/narend/src/build/sg1'
make: *** [all] Error 2

Since docs are not crucial I just removed 'docs' form the subdir list in 
the Makefile.
That brought me to the second problem:

make[3]: Entering directory 
`/home/scratch/narend/src/build/sg1/plugins/menus'
/bin/sh ../../libtool --mode=link 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  -lz -o menus.la -rpath 
/usr/lib/scigraphica/0.9.0/plugins/project/menus -module -avoid-version 
sg_project_menu.lo  -L../../zvt -lsgvt  -lreadline -ltermcap -lncurses 
-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/lib -lgtkextra -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic 
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lscigraphica 
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl 
-lXi -lXext -lX11 -lm -L/usr/lib -lgtkextra -L/usr/lib -L/usr/X11R6/lib 
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
libtool: link: `sg_project_menu.lo' is not a valid libtool object
make[3]: *** [menus.la] Error 1
make[3]: Leaving directory 
`/home/scratch/narend/src/build/sg1/plugins/menus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/scratch/narend/src/build/sg1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scratch/narend/src/build/sg1'
make: *** [all] Error 2

After that I decided to post it first befor starting to fiddle around 
myself.
Tell me if you need anything else. My system is Fedora Core 2.

Best regards,   Nick.






-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8