[sword-devel] Compiling SWORD API using MinGW

Troy A. Griffitts scribe at crosswire.org
Tue Feb 5 04:27:13 MST 2008


Mico.  Have a look at usrinst.sh.  It calls configure with most options 
you want.  For MinGW, you will most likely want to disable ICU (unless 
you can get an ICU devel package, which I have had no luck finding) and 
for now, probably clucene support (clucene does compile, so if you 
compile and install this, you can leave the clucene option enabled).

Hope that gets you going.

I have a precompiled library and headers if you would like them.

	-Troy.



Mico Siahaan wrote:
> Hi, I am new in programming and I tried to compile
> SWORD API using MinGW compiler under Windows XP
> Professional. What I did:
> 1. run ./configure
> 2. run make
>  
> then I got this error:
>  
> Making all in lib
> make[1]: Entering directory
> /home/mico/sword-1.5.10/lib'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I../include  -I../include
> -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__  
> -DGLOBCONFPATH=\"/usr/local/etc/sword.conf\"
> -D_FTPLIB_NO_COMPAT     -MT ftplib.lo -MD -MP -MF
> .deps/ftplib.Tpo -c -o ftplib.lo `test -f
> '../src/utilfuns/ftplib.c' || echo
> './'`../src/utilfuns/ftplib.c
> gcc -DHAVE_CONFIG_H -I. -I../include -I../include
> -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__
> -DGLOBCONFPATH=\"/usr/local/etc/sword.conf\"
> -D_FTPLIB_NO_COMPAT -MT ftplib.lo -MD -MP -MF
> .deps/ftplib.Tpo -c ../src/utilfuns/ftplib.c 
> -DDLL_EXPORT -DPIC -o .libs/ftplib.o
> ../src/utilfuns/ftplib.c:44:24: sys/socket.h: No
> such file or directory
> ../src/utilfuns/ftplib.c:45:24: netinet/in.h: No such
> file or directory
> ../src/utilfuns/ftplib.c:46:19: netdb.h: No such file
> or directory
> ../src/utilfuns/ftplib.c:47:23: arpa/inet.h: No such
> file or directory
> make[1]: *** [ftplib.lo] Error 1
> make[1]: Leaving directory
> `/home/mico/sword-1.5.10/lib'
> make: *** [all-recursive] Error 1
>  
> I am using MinGW: 
> 1. gcc-core 3.4.5
> 2. gcc-g++ 3.4.5
> 3. mingw-runtime 3.14
>  
> How to solve this?
>  
> best regards, 
> 
> Mico
> 
> 
> 
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list