Win32 version of Scribus

From Scribus Wiki
Revision as of 02:40, 8 March 2005 by Hap0 (talk | contribs)
Jump to: navigation, search

I've created this page for posting notes on the ongoing effort to compile Scribus under Cygwin/X11.

Please feel free to add/subtract or otherwise share your experiences here. Everybody is welcome. :)

Compiling from Scribus under Cygwin is a work in progress. As yet I haven't been successful. However I have had gotten as far as a successful configure of the 1.3 version from CVS.

Here are some notes from some of the experiences I've had so far:




Legacy compiling instructions:

  • unpack scribus-1.2.1-src.tar.bz2
  • preconfigure:
  • make -f Makefile.dist
  • "CFLAGS="-fdata-sections" CXXFLAGS="-fdata-sections" LDFLAGS="-Wl, --enable-runtime-pseudo-reloc, --script, $(QTDIR)/mkspecs/cygwin-g++/i386pi.x-no-rdata" ./configure --prefix=/opt/scribus/1.2"
  • make CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms"

My results from following these instructions:

cboothe@IT-staff ~/src
$ cd scribus-1.2.1cvs/

cboothe@IT-staff ~/src/scribus-1.2.1cvs
$  make -f Makefile.dist
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
!!! If you get recursion errors from autoconf, it is advisable to set the
    environment variable M4 to something including "--nesting-limit=500"
*** Creating aclocal.m4
acinclude.m4:44: warning: underquoted definition of KDE_PATH_X_DIRECT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
acinclude.m4:168: warning: underquoted definition of AC_FIND_FILE
...
acinclude.m4:4681: warning: underquoted definition of AC_PATH_QTOPIA
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
configure.in:215: required file `scribus/templates/Makefile.in' not found
make[1]: *** [cvs] Error 1
make: *** [all] Error 2

cboothe@IT-staff ~/src/scribus-1.2.1cvs
$




  379  rm -fr Scribus/
  380  cvs -z3 co -r Version13x Scribus
  381  tar jcvf tar-Scribus13cvs.tar Scribus
  382  cd Scribus/
  383  make -f Makefile.cvs
  384  ./configure

cboothe@IT-staff ~/src/Scribus
$ make
...
.libs/about.o(.text$_ZN5AboutD0Ev[About::~About [in-charge deleting]()]+0x1d):about.cpp: undefined reference to `QDi
alog::~QDialog [not-in-charge]()'
collect2: ld returned 1 exit status
make[3]: *** [libabout.la] Error 1
make[3]: Leaving directory `/home/cboothe/src/Scribus/scribus/libabout'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cboothe/src/Scribus/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cboothe/src/Scribus'
make: *** [all] Error 2

cboothe@IT-staff ~/src/Scribus