[Scribus] Compiling scribus 1.2.1 cygwin

Gonzalo Cordero gonzalocordero
Mon Jun 27 08:49:26 CEST 2005


Hello everyone:

 

I'm trying to compile scribus 1.2.1 following the wiki guide. I got qt 3.3.4
, compiled and installed successfully. But when I try to compile scribus
here is what happened:

 

-          Make -f Makefile.cvs = Succes

-          When I try to run CFLAGS="-fdata-sections"
CXXFLAGS="-fdata-sections" LDFLAGS="-Wl, --enable-runtime-pseudo-reloc,
--script, $QTDIR/mkspecs/cygwin-g++/i386pe.x-no-rdata" ./configure
--prefix=/opt/scribus/1.2 I got this error: configure:2583: error: C
compiler cannot create executables. 

-          However if  I just do ./configure it seems to work, eventho the
compile crashes giving me this error:

 

make[3]: Entering directory
`/cygdrive/c/cygwin/home/Gonzalo/scribus-1.2.1/scribus/libabout'

/bin/bash ../../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common  -s
-lfreetype -lz  -o libabout.la -rpath /usr/local/lib/scribus/libs
-version-info 0:0:0 about.lo  

Creating library file: .libs/libabout.dll.a

.libs/about.o:about.cpp:(.text+0x12): undefined reference to `_qApp'

.libs/about.o:about.cpp:(.text+0x38): undefined reference to `_qApp'

.libs/about.o:about.cpp:(.text+0x47): undefined reference to
`QApplication::translate(char const*, char const*, char const*,
QApplication::Encoding) const'

.libs/about.o:about.cpp:(.text+0x66): undefined reference to
`QString::fromLatin1(char const*, int)'

.libs/about.o:about.cpp:(.text+0x7c): undefined reference to `_qApp'

.libs/about.o:about.cpp:(.text+0xa2): undefined reference to `_qApp'

.libs/about.o:about.cpp:(.text+0xb1): undefined reference to
`QApplication::translate(char const*, char const*, char const*,
QApplication::Encoding) const'

.libs/about.o:about.cpp:(.text+0xd0): undefined reference to
`QString::fromUtf8(char const*, int)'

.libs/about.o:about.cpp:(.text+0xfb): undefined reference to
`QDialog::staticMetaObject()'

...

 

Any ideas?

 

Thanks.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050627/bf01d325/attachment.html 



More information about the scribus mailing list