On Thu, 2004-06-17 at 17:06, Gansser, Martin wrote: > Hi, > > I tried to compile scribus-1.1.7 on hpux, but it fails with the following > error message: > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libart-2.0 > -I/usr/local/include -I/usr/local/i > nclude/freetype2 -I/usr/local/include/qt -I. -pthread -DQT_THREAD_SUPPORT > -O2 -fno-exceptions -fn > o-check-new -c -o newfile.o `test -f 'newfile.cpp' || echo './'`newfile.cpp > /usr/local/qt/bin/moc ./scribusview.h -o scribusview.moc > source='scribusview.cpp' object='scribusview.o' libtool=no \ > depfile='.deps/scribusview.Po' tmpdepfile='.deps/scribusview.TPo' \ > depmode=gcc3 /bin/sh ../admin/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libart-2.0 > -I/usr/local/include -I/usr/local/i > nclude/freetype2 -I/usr/local/include/qt -I. -pthread -DQT_THREAD_SUPPORT > -O2 -fno-exceptions -fn > o-check-new -c -o scribusview.o `test -f 'scribusview.cpp' || echo > './'`scribusview.cpp > scribusview.cpp: In member function `void ScribusView::HandleGradient(PSLib*, > PageItem*, double, double)': > scribusview.cpp:2206: error: `pow' undeclared (first use this function) > scribusview.cpp:2206: error: (Each undeclared identifier is reported only once > for each function it appears in.) > scribusview.cpp:2206: error: `sqrt' undeclared (first use this function) > scribusview.cpp:2236: error: `atan2' undeclared (first use this function) > gmake[3]: *** [scribusview.o] Error 1 > > > the solotion for HPUX is to add the following lines to scribus/scribusview.cpp > > #ifdef __hpux > #include <stdio.h> > #include <math.h> > #endif > > can someone comit this changes ?
should be done in next cvs i expect craig -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20040617/e2ce1d98/attachment.pgp
