[Mono-devel-list] mod_mono on osx / big endian systems.
Sean A Corfield
sean at corfield.org
Sat Jun 12 16:26:06 EDT 2004
On Jun 12, 2004, at 1:01 AM, Gonzalo Paniagua Javier wrote:
> It's a change in mod_mono. Pulling it out it's not that much ;-)
Except that the new mod_mono.c won't compile as-is because of "no
setenv or putenv". So I pulled the whole mod_mono module out and...
Right now the generated configure script doesn't seem to work on OS X
(but I managed to get mod_mono.c tweaked so it solves the problem I was
having!).
As I understand it, after extracting source code from CVS, I should run
./autogen.sh (with the appropriate --prefix= arg since I'm putting
everything in /opt/local). That issues a few complaints but then goes
on to run ./configure. Here's what ./autogen.sh complains about:
./autogen.sh: line 50: libtoolize: command not found
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
Use of uninitialized value in concatenation (.) or string at
/usr/bin/automake line 8449.
: installing `./config.guess'
Use of uninitialized value in concatenation (.) or string at
/usr/bin/automake line 8449.
: installing `./config.sub'
aclocal.m4:903: required file `./ltmain.sh' not found
automake: src/Makefile.am: `libmod_mono.la' is already going to be
installed in `lib'
src/Makefile.am: installing `./depcomp'
automake: src/Makefile.am: `libmod_mono.la' is already going to be
installed in `lib'
Then ./configure runs happily up to this point:
checking for pkg-config... /opt/local/bin/pkg-config
./configure: line 18817: syntax error near unexpected token `MONO,'
./configure: line 18817: ` PKG_CHECK_MODULES(MONO,'
Anyway, adding all the necessary calls to LE_FROM_INT / INT_FROM_LE
into mod_mono.c works (if you redefine those macros in mod_mono.c since
the whole ENDIAN thing isn't automatically setup in the old configure
as far as I can tell).
Sean A Corfield -- http://www.corfield.org/blog/
"There are no solutions, only trade-offs."
-- Thomas Sowell
More information about the Mono-devel-list
mailing list