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!