From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 8A41BBB84 for ; Fri, 14 Jul 2006 17:52:26 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6EFqPb3003864 for ; Fri, 14 Jul 2006 17:52:26 +0200 Received: by ug-out-1314.google.com with SMTP id h2so833925ugf for ; Fri, 14 Jul 2006 08:52:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=U2b2OWfVVZlgvqcJVYZuQ0fAXMhlED//yLZAt9eVljTUc+xZSv/fXrncMFtijgksUSCp4niLr7CTWFHWuTr06WdjIfeRkfGAbpKtn5N2K+XzppV9InvtRVaa4cz/O8vYfqjf1JdLCPJDhGJiq37WENR8covsaC6LKu7JvC+jqV4= Received: by 10.78.122.11 with SMTP id u11mr1775330huc; Fri, 14 Jul 2006 08:52:24 -0700 (PDT) Received: by 10.78.116.20 with HTTP; Fri, 14 Jul 2006 08:52:24 -0700 (PDT) Message-ID: Date: Fri, 14 Jul 2006 11:52:24 -0400 From: "Jonathan Hayward http://JonathansCorner.com" To: caml-list@yquem.inria.fr Subject: Interface mismatch on build MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_54771_15065753.1152892344133" X-j-chkmail-Score: MSGID : 44B7BDB9.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44B7BDB9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; mismatch:01 usr:01 lib:01 ocaml:01 3.08.3:01 camlp:01 cmo:01 mismatch:01 mlast:01 ocamlnet:01 ocamlnet:01 netcgi:01 netcgi:01 findlib:01 posix:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_10_20, HTML_MESSAGE,RCVD_BY_IP autolearn=disabled version=3.0.3 ------=_Part_54771_15065753.1152892344133 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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! ------=_Part_54771_15065753.1152892344133 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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! ------=_Part_54771_15065753.1152892344133--