Win32 version of Scribus: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


-----------------------------
-----------------------------
[http://sourceforge.net/project/shownotes.php?release_id=277342 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:
<pre>
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
$
</pre>
------------------------------------------





Revision as of 07:41, 17 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 relating to the ongoing effort to compile Scribus under Cygwin/X11 for win32. Since that is our next best option.

However, don't forget we already have one working recipe for Installing Scribus on Win32 using version 1.2.1 binary snapshots compiled for Cygwin/QT3/X11. :)

Now efforts to compile the latest Scribus for Cygwin/X11 are ongoing, though I haven't been successful yet. However I have had gotten as far as a running a successful configure of the 1.3 version from CVS, and there is a patch available for the 1.2.1 version at the kde-cygwin download area.

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




  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

noone@sector0 ~/src/Scribus
$ 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.3
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... no
checking for libart2-config... /usr/bin/libart2-config
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

noone@sector0 ~/src/Scribus
$