Re: RE : Build abiword on Windows XP with cygwin

From: Ryan Pavlik <abiryan_at_ryand.net>
Date: Fri Nov 04 2005 - 20:16:17 CET

Pierre wrote:

>Hi Ryan,
>
>Next to your email, I tried to build abiword with MinGW/Msys.
>I install all packages in table include, but I still no able to build
>abiword.
>With the commande ./configure (in the sub director "abiword/abi"), I got the
>fellowing result.
>
>checking for a BSD-compatible install... /bin/install -c
>checking whether build environment is sane... yes
>checking for gawk... gawk
>checking whether make sets $(MAKE)... yes
>checking for g++... g++
>checking for C++ compiler default output file name... a.exe
>checking whether the C++ compiler works... yes
>checking whether we are cross compiling... no
>checking for suffix of executables... .exe
>checking for suffix of object files... o
>checking whether we are using the GNU C++ compiler... yes
>checking whether g++ accepts -g... yes
>checking for style of include used by make... GNU
>checking dependency style of g++... gcc
>checking for gcc... gcc
>checking whether we are using the GNU C compiler... yes
>checking whether gcc accepts -g... yes
>checking for gcc option to accept ANSI C... none needed
>checking dependency style of gcc... gcc
>checking for library containing strerror... none required
>checking how to run the C preprocessor... gcc -E
>checking CFLAGS...
>checking CXXFLAGS...
>checking for a BSD-compatible install... /bin/install -c
>checking whether ln -s works... yes
>checking whether make sets $(MAKE)... (cached) yes
>checking for ranlib... ranlib
>checking for egrep... grep -E
>checking for ANSI C header files... yes
>checking for sys/types.h... yes
>checking for sys/stat.h... yes
>checking for stdlib.h... yes
>checking for string.h... yes
>checking for memory.h... yes
>checking for strings.h... yes
>checking for inttypes.h... yes
>checking for stdint.h... yes
>checking for unistd.h... yes
>checking for long int... yes
>checking size of long int... 4
>checking pthread.h usability... no
>checking pthread.h presence... yes
>checking for pthread.h... yes
>checking for pthread_create... yes
>checking for pthread_yield... no
>checking iconv.h usability... yes
>checking iconv.h presence... yes
>checking for iconv.h... yes
>checking for pkg-config... /bin/pkg-config
>*** Your version of pkg-config is too old. You need version 0.9.0 or newer.
>*** See http://www.freedesktop.org/software/pkgconfig
>*** Your version of pkg-config is too old. You need version 0.9.0 or newer.
>*** See http://www.freedesktop.org/software/pkgconfig
>*** Your version of pkg-config is too old. You need version 0.9.0 or newer.
>*** See http://www.freedesktop.org/software/pkgconfig
>
>fribidi sources can be downloaded from SourceForge
>
> http://freedesktop.org/Software/FriBidi
>
>Note: Don't use the fribidi source which is sometimes
> included with AbiWord since that version is for
> Windows only.
>
>
>Notes:
> I install pkg-config with unzip of pkg-config-0.20.zip.
>
>I don't know what is the problem. I really appreciate if someone can give me
>a hint.
>
>Thank
>Pierre
>
>
>-----Original Message-----
>From: owner-abiword-dev@abisource.com
>[mailto:owner-abiword-dev@abisource.com] On Behalf Of Ryan Pavlik
>Sent: Friday, October 28, 2005 2:30 PM
>To: abiword-dev@abisource.com
>Subject: Re: Build abiword on Windows XP with cygwin
>
>
>
>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\xmlpa
>>rse.o
>>bj
>>
>>But the right path is :
>>E:\cygwin\abiword-2.4.0\abi\src\WIN32_1.5.18_i386_VC_OBJ\obj\expat\xmlp
>>arse.
>>obj
>>
>>
>>Is someone can give me a hint?
>>
>>Regard
>>Pierre
>>
>>
Sure - If you look carefully at the instructions, you'll find that we
actually do not use the auto tools (./configure and the like) on
Windows. You will need to delete your source tree and unzip a new copy
- ./configure overwrites the makefiles we use for Windows compilation
righ tnow.

Sorry I couldn't reply sooner, SMTP problems here with outgoing mail.

-- 
Ryan Pavlik
AbiWord Win32 Platform Maintainer
www.abisource.com
"Optimism is the father that leads to achievement." - Helen Keller
Received on Fri Nov 4 20:19:40 2005

This archive was generated by hypermail 2.1.8 : Fri Nov 04 2005 - 20:19:40 CET