[Scribus] make error compiling scribus-1.1.7.tar.bz2

John Mulhern jfmulhern
Fri Jun 18 07:35:08 CEST 2004


It looks like you might neeed to add a  #include <math.h> in 
scribusview.cpp.
But of course I built scribus  1.1.7 with g++ 3.2.3 on RHEL 3.0 without 
any such errors so I think you aren't telling us enough about your 
environment, which makes it hard to help you.  I would guess  that some 
other set of library headers would have included math.h for you but your 
set didn't.

Servants wrote:

>I've posted this twice and can't get going.  I don't know 
>how to tell which libraries I have, so if you need to know 
>if I've got something you'll need to give me a command to 
>issue or a place to search.  I have the only requirements 
>that are listed when you untar scribus-1.1.7.tar.bz2 and 
>I've spent a few days now reading on the website and there 
>doesn't seem to be the usual list of requirements.
>
>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libart-2.0 
>-I/usr/include/freetype2 -I/usr/lib/qt-3.2.1/include -I.  
>-DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions 
>-fno-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: `pow' undeclared (first use this 
>function)
>scribusview.cpp:2206: (Each undeclared identifier is 
>reported only once for 
>   each function it appears in.)
>scribusview.cpp:2206: `sqrt' undeclared (first use this 
>function)
>scribusview.cpp:2236: `atan2' undeclared (first use this 
>function)
>make[3]: *** [scribusview.o] Error 1
>make[3]: Leaving directory `/usr/src/scribus-1.1.7/scribus'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/usr/src/scribus-1.1.7/scribus'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/src/scribus-1.1.7'
>make: *** [all] Error 2
>
>Thanks for some specific help.
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Scribus mailing list
>Scribus at nashi.altmuehlnet.de
>http://nashi.altmuehlnet.de/mailman/listinfo/scribus
>  
>





More information about the scribus mailing list