No subject
Fri Feb 8 08:55:55 EST 2008
I have come up with a way to build using ICU under cygwin.
I downloaded the prebuilt VC6 binaries from the link on
http://oss.software.ibm.com/icu/download/2.6.1/index.html.
I installed this under cygwin's structure (I used /usr/local/icu as the
root).
Somewhere in your path put this script as icu-config (I chose
/usr/local/bin/icu-config) having editted ICU_ROOT to wherever you installed
ICU (this script is attached as well).
#/bin/sh
ICU_ROOT=/usr/local/icu
case $1
in
--cppflags)
echo "-I$ICU_ROOT/include"
;;
--ldflags)
echo "-L$ICU_ROOT/lib -licuuc -licuin"
;;
--version)
grep '\<U_ICU_VERSION\>' $ICU_ROOT/include/unicode/uversion.h | sed -e
's/.*"\(.*\)".*/\1/'
;;
esac
now you can rerun configure and this should detect the ICU installation
properly and use it.
-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Giovanni Zito
Sent: Saturday, January 03, 2004 5:16 AM
To: Mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] Build failed for mono 0.29 on Windows
I'm trying to building mono 0.29 on Cygwin, with no success.
Windows version: Windows XP with service pack 1
cygwin1.dll product version: 1.1.6
I started from mono packaged version, and used the following command line:
./configure --with-gc=included && make
I've got the following error, while compiling libgc-mono
(gcc version is 2.95.2-5)
gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE
_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono
6.2\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_WIN32_THREADS=1 -DNO_G
ETENV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STASIGNALS=1 -DNO_E
XECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLL
ECTABLE=1 -D_IN_LIBGC=1 -I./include -I./include -fexceptions -g -O2 -fexcept
ions -c misc.c -Wp,-MD,.deps/misc.TPlo -DDLL_EXPORT -DPIC -o .libs/misc.lo
misc.c:51: `PTHREAD_MUTEX_INITIALIZER' undeclared here (not in a function)
So I switched on MinGW (latest version 3.01) with Cygwin.
./configure --with-gc=included && make
(gcc version is 3.2.3)
gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE
_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono
6.2\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_WIN32_THREADS=1 -DNO_G
ETENV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STD
LIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYP
ES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EX
ECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLE
CTABLE=1 -D_IN_LIBGC=1 -I./include -I./include -fexceptions -g -O2 -fexcepti
ons -c win32_threads.c -MT win32_threads.lo -MD -MP -MF
.deps/win32_threads.TPlo -DDLL_EXPORT -DPIC -o .libs/win32_threads.lo
win32_threads.c:406: conflicting types for `GC_CreateThread'
include/gc.h:898: previous declaration of `GC_CreateThread'
win32_threads.c:477: warning: static declaration for `thread_start' follows
non-static
make[3]: *** [win32_threads.lo] Error 1
Has anyone out there successfully build mono-029 on Windows?
On the mono site there isn't a binary version for Windows.... this sounds
very strange.
Any kind of help will be appreciated.
G.Z.
More information about the Mono-devel-list
mailing list