[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Building under MSYS/MINGW?

From: Andrew Smith <asmith15_at_littlesvr.ca>
Date: Sat, 21 Jun 2008 19:12:07 -0400

Hi

Is it possible to build subversion in an MSYS/MINGW environment?

I tried putting the stuff from subversion-deps into subversion-1.5.0 but
it wouldn't configure APR:

...
checking for create_area... no
checking for MAP_ANON in sys/mman.h... no
checking for /dev/zero... yes
/h/subversion-1.4.6/apr/configure:Error: decision on anonymous shared
memory allocation method failed
configure failed for apr

Then I tried the stock APR, and it configured but failed to make:

...
/bin/sh /h/subversion-1.5.0/apr/libtool --silent --mode=compile gcc -g
-O0 -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -I./include
-I/h/subversion-1.5.0/apr/include/arch/win32 -I./include/arch/unix
-I/h/subversion-1.5.0/apr/include/arch/unix
-I/h/subversion-1.5.0/apr/include -o tables/apr_hash.lo -c
tables/apr_hash.c && touch tables/apr_hash.lo
/bin/sh /h/subversion-1.5.0/apr/libtool --silent --mode=compile gcc -g
-O0 -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -I./include
-I/h/subversion-1.5.0/apr/include/arch/win32 -I./include/arch/unix
-I/h/subversion-1.5.0/apr/include/arch/unix
-I/h/subversion-1.5.0/apr/include -o dso/win32/dso.lo -c
dso/win32/dso.c && touch dso/win32/dso.lo
In file included from
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_file_io.h:29,
                  from dso/win32/dso.c:20:
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:419: error:
syntax error before "LPPROCESSENTRY32W"
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:419: error:
syntax error before "LPPROCESSENTRY32W"
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h: In function
`apr_winapi_Process32FirstW':
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:419: error:
`hSnapshot' undeclared (first use in this function)
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:419: error:
(Each undeclared identifier is reported only once
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:419: error:
for each function it appears in.)
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:419: error:
`lppe' undeclared (first use in this function)
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h: At top level:
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:428: error:
syntax error before "LPPROCESSENTRY32W"
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:428: error:
syntax error before "LPPROCESSENTRY32W"
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h: In function
`apr_winapi_Process32NextW':
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:428: error:
`hSnapshot' undeclared (first use in this function)
h:/subversion-1.5.0/apr/include/arch/win32/apr_arch_misc.h:428: error:
`lppe' undeclared (first use in this function)
make[2]: *** [dso/win32/dso.lo] Error 1
make[2]: Leaving directory `/h/subversion-1.5.0/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/h/subversion-1.5.0/apr'
make: *** [external-all] Error 1

I am making a platform-independent app using subversion, and I'd prefer
to use MINGW because I can keep pretty much all the same code in both
Linux and Windows.

If this isn't possible, could someone tell me where to learn more about
what to do with the .lib libraries from svn-win32? Are these static or
dynamic? What compiler will accept them?

Thanks,

Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-22 03:25:37 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.