[Scribus] Compiling on Solaris--further details

Rainer Heilke rheilke
Mon Jul 12 01:36:31 CEST 2004


I've taken a closer, and from config.log, it seems maybe the Qt test is 
failing on an issue with GCC (or how Qt interacts with GCC) rather than 
Qt itself. Here's what the log has:

configure:20813: checking for Qt
configure: 20881: /usr/local/qt-x11-free-3.3.2/include/qstyle.h
taking that
configure:20990: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions 
-fno-check-new -I/usr/local/qt-x11-free-3.3.2/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DUSE_SOLARIS -DSVR4  -L/usr/local/qt-x11-free-3.3.2/lib    conftest.cc 
-lnsl -lsocket  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM 
-lICE  -lresolv -lpthread 1>&5
In file included from 
/usr/local/include/c++/3.3.2/sparc-sun-solaris2.9/bits/gthr-default.h:37,
                 from 
/usr/local/include/c++/3.3.2/sparc-sun-solaris2.9/bits/gthr.h:98,
                 from 
/usr/local/include/c++/3.3.2/sparc-sun-solaris2.9/bits/c++io.h:37,
                 from /usr/local/include/c++/3.3.2/bits/fpos.h:44,
                 from /usr/local/include/c++/3.3.2/bits/char_traits.h:46,
                 from /usr/local/include/c++/3.3.2/string:47,
                 from /usr/local/qt-x11-free-3.3.2/include/qstring.h:56,
                 from /usr/local/qt-x11-free-3.3.2/include/qwindowdefs.h:44,
                 from /usr/local/qt-x11-free-3.3.2/include/qwidget.h:42,
                 from 
/usr/local/qt-x11-free-3.3.2/include/qdesktopwidget.h:40,
                 from 
/usr/local/qt-x11-free-3.3.2/include/qapplication.h:42,
                 from conftest.cc:3:
/usr/include/pthread.h:291: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:291: error: parse error before `,' token
/usr/include/pthread.h:292: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:292: error: parse error before `)' token
/usr/include/pthread.h:293: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:293: error: parse error before `)' token
/usr/include/pthread.h:294: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:294: error: parse error before `)' token
/usr/include/pthread.h:295: error: `pthread_spinlock_t' was not declared in
   this scope
/usr/include/pthread.h:295: error: parse error before `)' token
/usr/include/pthread.h:296: error: `pthread_barrierattr_t' was not 
declared in
   this scope
/usr/include/pthread.h:296: error: parse error before `)' token
/usr/include/pthread.h:297: error: `pthread_barrierattr_t' was not 
declared in
   this scope
/usr/include/pthread.h:297: error: parse error before `)' token
/usr/include/pthread.h:298: error: `pthread_barrierattr_t' was not 
declared in
   this scope
/usr/include/pthread.h:298: error: parse error before `,' token
/usr/include/pthread.h:300: error: parse error before `*' token
/usr/include/pthread.h:301: error: `pthread_barrier_t' was not declared 
in this
   scope
/usr/include/pthread.h:301: error: parse error before `,' token
/usr/include/pthread.h:303: error: `pthread_barrier_t' was not declared 
in this
   scope
/usr/include/pthread.h:303: error: parse error before `)' token
/usr/include/pthread.h:304: error: `pthread_barrier_t' was not declared 
in this
   scope
/usr/include/pthread.h:304: error: parse error before `)' token

So, has anyone gotten Scribus to compile on a SPARC Solaris system using 
GCC 3.3.2? Or, if Sun's compiler worked, how did you call configure to 
use Sun's compiler?

I hope I'm not being a pain, but I've been poking away at this for 
months, and would love to get it to work one day.

Thanks.

Rainer Heilke





More information about the scribus mailing list