Building Mono from CVS with mono/doc/mono-build.sh currently fails if "locate include/iconv.h" returns more than one hit. The error reveals itself when mono/configure tries the C compiler for producing binaries where it breaks and states:
error: C compiler cannot create executables This occurs because of a bug in the handling of the location of iconv. These steps general are from mono-build.sh: [monocle@studpc74 monocle]$ locate include/iconv.h /home/doozer/src/glibc-2.3.1/include/iconv.h /usr/include/iconv.h [monocle@studpc74 monocle]$ iconvh=`locate include/iconv.h` [monocle@studpc74 monocle]$ echo $iconvh /home/doozer/src/glibc-2.3.1/include/iconv.h /usr/include/iconv.h [monocle@studpc74 monocle]$ iconvh_dir=`dirname $iconvh` dirname: too many arguments Try `dirname --help' for more information. The failure of dirname leaves $iconvh_dir (and thus also $iconvlib_dir) empty, and generates the following compiler test: gcc -I/home/monocle/install/include -I -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions -L/home/monocle/install/lib -L conftest.c >&5 And of course, the "-I " and "-L conftest.c" there doesn't produce the expected result: gcc: no input files While this is easily fixed I thought perhaps it was not the preferred outcome. :) /malte _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
