From: "Jonathan Hayward http://JonathansCorner.com" <christos.jonathan.hayward@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Interface mismatch on build
Date: Fri, 14 Jul 2006 11:52:24 -0400 [thread overview]
Message-ID: <fdc31b650607140852q27cd92abkc88976aa41900b01@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4276 bytes --]
Error while loading "/usr/lib/ocaml/3.08.3/camlp4/pa_o.cmo": interface
mismatch on MLast. (Full configure and make all output below.)
I'm still trying to get ocamlnet2 to build, or at least netcgi--if I can't
get ocamlnet/netcgi to work with, is there a plainer alternative to netcgi
that will let me access CGI values and make a slightly older-style CGI
script?
I'd like to do it properly and get ocamlnet to work, but if there's
something older and plainer, I'll take that.
root@inner-sanctum:~/download/lib-ocamlnet2/code# ./configure
Welcome to Ocamlnet version 2.2test8
Checking for findlib... found
Checking multi-threading support... posix (ok)
Checking for PCRE... found
Checking operating system... Linux
This OS supports passing credentials over Unix domain sockets
Building rpc-auth-local
Apache mod connector... disabled (apxs or apache not found)
Effective options:
-disable-gtk
-disable-gtk2
-disable-tcl
-disable-ssl
-enable-modcaml
-without-nethttpd
-without-rpc-auth-dh
-bindir /usr/local/bin
-datadir /usr/local/lib/ocaml/3.08.3/netstring
Writing Makefile.conf
Please check Makefile.conf.
You can now compile Ocamlnet by invoking
make all
for the bytecode compiler, and optionally by invoking
make opt
for the native-code compiler (if supported on your architecture).
Finally, a
make install
will install the package(s).
root@inner-sanctum:~/download/lib-ocamlnet2/code# make all
for pkg in equeue shell netstring rpc-generator rpc pop smtp netclient cgi
netcgi netplex rpc-auth-local; do \
( cd src/$pkg && make -f Makefile.pre generate ) || exit; \
( cd src/$pkg && make -f Makefile.pre depend ) || exit; \
( cd src/$pkg && make all ) || exit; \
done
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[2]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[2]: Nothing to be done for `realgenerate'.
make[2]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[1]: `depend' is up to date.
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/equeue'
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[2]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[2]: Nothing to be done for `realgenerate'.
make[2]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[1]: `depend' is up to date.
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/shell'
make[1]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/netstring'
make[2]: Entering directory
`/home/jonathan/download/lib-ocamlnet2/code/src/netstring'
ocamlfind ocamlc -g -package "unix pcre" -package camlp4 -syntax camlp4o
-c netdb.mli
Error while loading "/usr/lib/ocaml/3.08.3/camlp4/pa_o.cmo": interface
mismatch on MLast.
Preprocessor error
make[2]: *** [netdb.cmi] Error 2
make[2]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/netstring'
make[1]: *** [generate] Error 2
make[1]: Leaving directory
`/home/jonathan/download/lib-ocamlnet2/code/src/netstring'
make: *** [all] Error 2
--
++ Jonathan Hayward, jonathan.hayward@pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
** If you'd like a Google Mail (gmail.com) account, please tell me!
[-- Attachment #2: Type: text/html, Size: 5150 bytes --]
next reply other threads:[~2006-07-14 15:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-14 15:52 Jonathan Hayward http://JonathansCorner.com [this message]
2006-07-14 16:10 ` [Caml-list] " Jonathan Roewen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fdc31b650607140852q27cd92abkc88976aa41900b01@mail.gmail.com \
--to=christos.jonathan.hayward@gmail.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox