Re: Build abiword on Windows XP with cygwin

From: Ryan Pavlik <abiryan_at_ryand.net>
Date: Fri Oct 28 2005 - 20:30:17 CEST

The easiest way (and most common way) to build AbiWord on Windows is
using the techniques developed by Sum1 and refined by me, available at
http://abisource.com/~rp/ These instructions use MinGW/Msys, another
free build environment. Please note that if you are just building the
core of AbiWord and not any of the plugins, you do not need any of the
dependencies listed in the table. If you do build the plugins, the
files listed as being on mikey's site are now stored in
http://abisource.com/~rp/mingw.tar.gz

Ryan

Pierre wrote:

>Hi every body,
>
>I would like to build Abiword with Cygwin on Windows XP and I got errors
>during build. You can see
>Result in the fellowind line.
>
>$ make
>Building AbiSuite with [ABI_ROOT=/abiword-2.4.0/abi]
>make ABI_ROOT=/abiword-2.4.0/abi -C src
>make[1]: Entering directory `/abiword-2.4.0/abi/src'
>Building on [WIN32] with [LicensedTrademarks:Off CCSET=VC Debug:Off BiDi:LTR
>Pan
>go:Off v2.4.0 XML:expat Pspell:Off Scripting:Off].
>make ABI_ROOT=/abiword-2.4.0/abi -C config build
>make[2]: Entering directory `/abiword-2.4.0/abi/src/config'
>Building on [WIN32] with [LicensedTrademarks:Off CCSET=VC Debug:Off BiDi:LTR
>Pan
>go:Off v2.4.0 XML:expat Pspell:Off Scripting:Off].
>make ABI_ROOT=/abiword-2.4.0/abi -C require build
>make[3]: Entering directory `/abiword-2.4.0/abi/src/config/require'
>Building on [WIN32] with [LicensedTrademarks:Off CCSET=VC Debug:Off BiDi:LTR
>Pan
>go:Off v2.4.0 XML:expat Pspell:Off Scripting:Off].
>make ABI_ROOT=/abiword-2.4.0/abi -C xp build
>make[4]: Entering directory `/abiword-2.4.0/abi/src/config/require/xp'
>Building on [WIN32] with [LicensedTrademarks:Off CCSET=VC Debug:Off BiDi:LTR
>Pan
>go:Off v2.4.0 XML:expat Pspell:Off Scripting:Off].
>Found expat in peer directory
>make[5]: Entering directory `/abiword-2.4.0/expat'
>Building on [WIN32] with [LicensedTrademarks:Off CCSET=VC Debug:Off BiDi:LTR
>Pan
>go:Off v2.4.0 XML:expat Pspell:Off Scripting:Off].
>make -f Makefile.abi ABI_ROOT=/abiword-2.4.0/abi -C lib build
>make[6]: Entering directory `/abiword-2.4.0/expat/lib'
>Building on [WIN32] with [LicensedTrademarks:Off CCSET=VC Debug:Off BiDi:LTR
>Pan
>go:Off v2.4.0 XML:expat Pspell:Off Scripting:Off].
>xmlparse.c
>fatal error C1083: Cannot open compiler generated file:
>'E:\cygwinabiword-2.4.0\
>abi\src\WIN32_1.5.18_i386_VC_OBJ\obj\expat\xmlparse.obj': No such file or
>direct
>ory
>
>make[6]: ***
>[/abiword-2.4.0/abi/src/WIN32_1.5.18_i386_VC_OBJ/obj/expat/xmlparse
>.obj] Error 2
>make[6]: Leaving directory `/abiword-2.4.0/expat/lib'
>make[5]: *** [build] Error 2
>make[5]: Leaving directory `/abiword-2.4.0/expat'
>make[4]: *** [_EXPAT_] Error 2
>make[4]: Leaving directory `/abiword-2.4.0/abi/src/config/require/xp'
>make[3]: *** [build] Error 2
>make[3]: Leaving directory `/abiword-2.4.0/abi/src/config/require'
>make[2]: *** [build] Error 2
>make[2]: Leaving directory `/abiword-2.4.0/abi/src/config'
>make[1]: *** [build] Error 2
>make[1]: Leaving directory `/abiword-2.4.0/abi/src'
>make: *** [compile] Error 2
>
>
>
>Abiword is locate to "E:\cygwin\abiword-2.4.0" with the windows path and
>locate to "/abiword-2.4.0" with the Cygwin path(pwd).
>
>I don't know why, the Makefile don't use the rigth Windows path. The
>character '\' is missing between "E:\cygwin" and the folder of Abiword
>"abiword-2.4.0". Then during the build, the makefile try to open the
>fellowing file:
>
>E:\cygwinabiword-2.4.0\abi\src\WIN32_1.5.18_i386_VC_OBJ\obj\expat\xmlparse.o
>bj
>
>But the right path is :
>E:\cygwin\abiword-2.4.0\abi\src\WIN32_1.5.18_i386_VC_OBJ\obj\expat\xmlparse.
>obj
>
>
>Is someone can give me a hint?
>
>Regard
>Pierre
>
>
>
>
Received on Fri Oct 28 20:32:54 2005

This archive was generated by hypermail 2.1.8 : Fri Oct 28 2005 - 20:32:54 CEST