Thread: [Kmatplot-general] Debian package ?
Brought to you by:
kamil
From: Laurent J. <lja...@fy...> - 2001-10-08 20:51:51
|
Hello, I have just subscribe to your mailing list and I want to play with kmatplot and octave at home on my personal computer under debian woody. Does a debian package of kmatplot already exist ? If not, I can perhaps create it but I have to read carefully the doc about debian package creation because I'm new on this distribution. Thank you, L. Jacques. |
From: Kamil <kam...@po...> - 2001-10-10 04:02:00
|
> Hello, > > I have just subscribe to your mailing list and I want to play with kmatplot As you see it isn't a high-traffic list :) Now I'm working on the next major release and it will take me about a month or even more, so there are no new annoucements now. > and octave at home on my personal computer under debian woody. > > Does a debian package of kmatplot already exist ? No it doesn't exist yet . You are welcome. > If not, I can perhaps create it but I have to read carefully the > doc about debian package creation because I'm new on this distribution. You can try. I know nothing about Debian packages so I won't help you much, but it should not be more difficult than creating RPM package I think. Kamil |
From: Laurent J. <lja...@fy...> - 2001-10-10 07:26:40
|
On Thursday 11 October 2001 06:00, Kamil wrote: > > If not, I can perhaps create it but I have to read carefully the > > doc about debian package creation because I'm new on this distribution. > > You can try. I know nothing about Debian packages so I won't help you much, > but it should not be more difficult than creating RPM package I think. OK. I have already tried to do that but up to now, I have a compilation problem. I think it is independent of the package creation. I will give you soon the returned error because now I'm not on my personal computer. For the next (or the next next) version of kmatplot, do you think it is possible to integrate octave inside a QT gui ? Just a window with octave 2.1 automatically launch at startup ? This can be perhaps useful for interaction with kmatplot figures through some menus of this window. For instance, a menu called "view" can then display the name of all existing kmatplot figures. But this is just an idea... Excellent work anyway your kmatplot. L. Jacques. |
From: Laurent J. <lja...@fy...> - 2001-10-11 22:15:29
|
On Wednesday 10 October 2001 09:25, Laurent Jacques wrote: > On Thursday 11 October 2001 06:00, Kamil wrote: > > > If not, I can perhaps create it but I have to read carefully the > > > doc about debian package creation because I'm new on this distribution. > > > > You can try. I know nothing about Debian packages so I won't help you > > much, but it should not be more difficult than creating RPM package I > > think. > > OK. I have already tried to do that but up to now, I have a compilation > problem. I think it is independent of the package creation. I will give you > soon the returned error because now I'm not on my personal computer. > Here is the error that I catch when I try a simple compilation of the kmatplot sources. I have tried several version of glut (from 3.7-5 to 3.7-11, it is perhaps a debianised version number) but it is always the same result. === ... g++ -O0 -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -o demo2d demo2d.o -L/usr/X11R6/lib ../widgets/.libs/libplot.a -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lstdc++ -lc -lgcc -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE -lGL -lGLU -lX11 ../widgets/.libs/libplot.a(qgl_x11.o): In function `choose_cmap(_XDisplay *, XVisualInfo *)': qgl_x11.o(.text+0x3ee): undefined reference to `XmuLookupStandardColormap' collect2: ld returned 1 exit status make[3]: *** [demo2d] Error 1 make[3]: Leaving directory `/home/laurent/kmatplot-0.2.2/kmatplot/demos' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/laurent/kmatplot-0.2.2/kmatplot' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/laurent/kmatplot-0.2.2' make: *** [all-recursive-am] Error 2 === I obtain also plenty of warning like this one: === qsdata.h: In method `class QSData * QSData::child(int) const': qsdata.h:97: warning: unused parameter `int index' /usr/bin/moc ./qsplotview.h -o qsplotview.moc.cpp /bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt -I/usr/X11R6/include -O0 -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -c qsplotview.moc.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt -I/usr/X11R6/include -O0 -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -c qsplotview.moc.cpp -fPIC -DPIC -o .libs/qsplotview.moc.o In file included from qsdata.h:28, from qsbase.h:28, from qsaxes.h:33, from qsplotview.h:23, from qsplotview.moc.cpp:16: === Any idea ? Thank you, L. Jacques. |
From: Kamil <kam...@po...> - 2001-10-11 23:21:56
|
> Here is the error that I catch when I try a simple compilation of the > kmatplot sources. I have tried several version of glut (from 3.7-5 to > 3.7-11, it is perhaps a debianised version number) but it is always the > same result. === > ... > g++ -O0 -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith > -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor > -fno-builtin -o demo2d demo2d.o -L/usr/X11R6/lib > ../widgets/.libs/libplot.a -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lstdc++ > -lc -lgcc -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE -lGL -lGLU > -lX11 > ../widgets/.libs/libplot.a(qgl_x11.o): In function `choose_cmap(_XDisplay > *, XVisualInfo *)': > qgl_x11.o(.text+0x3ee): undefined reference to `XmuLookupStandardColormap' > collect2: ld returned 1 exit status > make[3]: *** [demo2d] Error 1 > make[3]: Leaving directory `/home/laurent/kmatplot-0.2.2/kmatplot/demos' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/laurent/kmatplot-0.2.2/kmatplot' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/laurent/kmatplot-0.2.2' > make: *** [all-recursive-am] Error 2 > === I didn't notice -lXmu in the linker command line. I'm not an expert in those Makefiles - they work in different way on each system. You can force linking to Xmu by modifing following lines in Makefiles, this should solve the problem. kmatplot/demos/Makefile.am: demo2d_LDADD = ../widgets/libplot.la $(LIB_QT) -lXmu $(GLLIB) demo3d_LDADD = ../widgets/libplot.la ../opengl/libqgl.la $(LIB_QT) -lXmu $(GLLIB) kmatplot/Makefile.am: kmatplot_LDADD = ./part/libkmatplot.la -lXmu > > I obtain also plenty of warning like this one: > > === > qsdata.h: In method `class QSData * QSData::child(int) const': > qsdata.h:97: warning: unused parameter `int index' > /usr/bin/moc ./qsplotview.h -o qsplotview.moc.cpp > /bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. > -I../.. -I/usr/include/kde -I/usr/include/qt -I/usr/X11R6/include -O0 > -fexceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith > -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor > -fno-builtin -c qsplotview.moc.cpp > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt > -I/usr/X11R6/include -O0 -fexceptions -fno-check-new -Wall -pedantic -W > -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long > -Wnon-virtual-dtor -fno-builtin -c qsplotview.moc.cpp -fPIC -DPIC -o > .libs/qsplotview.moc.o > In file included from qsdata.h:28, > from qsbase.h:28, > from qsaxes.h:33, > from qsplotview.h:23, > from qsplotview.moc.cpp:16: > === > > Any idea ? > I don't know why you are obtaining plenty of warnings ( some pedantic gcc version ? ) but probably you can safely ignore them all. Kamil |