Win32 version of Scribus: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
(Native Windows port (or not) info)
No edit summary
Line 4: Line 4:




'''I've created this page for posting notes on the ongoing effort to compile Scribus under Cygwin/X11.'''
'''Hence I've created this page for posting notes on the ongoing effort to compile Scribus under Cygwin/X11. Since that is our next best option. :)'''


Please feel free to add/subtract or otherwise share your experiences here. Everybody is welcome. :)
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.
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.

Revision as of 22:17, 9 March 2005

In february 2005 Trolltech announced that version 4 of the QT library used by Scribus will be available for Windows under the GNU General Public License (GPL). This brings the possibility of a native Windows port of Scribus a step closer. It's still a long way off though, and not really in anyone's plans. First QT4 needs to be released ("second quarter of 2005"), then Scribus would need to be updated to QT4 (a substantial job in itself), then ported to Windows. So it might happen at some point, but don't hold your breath!--Joeboy 13:49, 9 Mar 2005 (UTC)



Hence I've created this page for posting notes on the ongoing effort to compile Scribus under Cygwin/X11. Since that is our next best option. :)

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