Re: [Kmatplot-general] Debian package ?
Brought to you by:
kamil
|
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.
|