[ocamlnet 3.6] Netplex broken on Mac OS X 10.4 PPC

Matías Giovannini <[email protected]> Wed, 26 Sep 2012 21:15:46 -0300
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CALzEXo8-xa-uynWYydV4ZwHDCd1Ox877UTNunsTE_bycCUbtSw@mail.gmail.com>
--===============7678358149939169967==
Content-Type: multipart/alternative; boundary=00248c7690d2405cdd04caa3d726

--00248c7690d2405cdd04caa3d726
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,

I send out in the hopes that, despite the ancient software and platform I'm
having problems with, someone could shed some light on this. Currently
netplex is broken on this machine, failing with errors of the following
sort:

fd style: Recv_send_implied
fd style: Recv_send_implied
Netplex Catastrophic Error: Unable to send log message - exception
Rpc_client.Communication_error(File "uq_engines.ml", line 2576, characters
6-12: Assertion failed)
Log message is: poll: Exception Rpc_client.Communication_error(File "
uq_engines.ml", line 2576, characters 6-12: Assertion failed)
[Wed Sep 26 21:10:39 2012] [netplex.controller] [alert] Disabling service
after 10 startup failures

(the "fd_style" line is a strategically placed print statement). I am at a
loss in following uq_engines.ml, so I don't know where to look.

I configured ocamlnet with:

./configure -with-nethttpd -enable-zip -disable-tcl -prefer-netcgi2
-enable-pcre

and the result is:

able-tcl -prefer-netcgi2 -enable-pcre
Welcome to Ocamlnet version 3.6
Checking operating system... Generic
Checking for findlib... found
Checking multi-threading support... posix (ok)
Checking word size... 32 bit
Checking endianess... big
Checking for GPROF... found
Checking for PCRE... found
Checking for win32... no
Checking whether Ocaml has Printexc.register_printer... found
Checking for POSIX pthread... found
Checking whether Ocaml has fancy page tables... found
Checking for POSIX shared memory... found
Checking for POSIX semaphores (anonymous)... not found
Checking for POSIX semaphores (named)... found
Checking for POSIX spawn... not found
Checking for POSIX fadvise... not found
Checking for POSIX fallocate... not found
Checking for POSIX memalign... not found
Checking for syslog... found
Checking for POSIX functions like openat... not found
Checking for fchdir... found
Checking for fdopendir... not found
Checking for realpath... not found
Checking for grantpt (System V style PTYs)... found
Checking for posix_openpt (System V style PTYs)... found
Checking for initgroups...found
Checking for POSIX clocks...not found
Checking for POSIX timers...not found
Checking for eventfd (Linux)...not found
Checking for timerfd (Linux)...not found
Checking for epoll (Linux)...not found
Checking for compare_and_swap (GCC)...not found
Checking for GPROF... found
Checking for O_SHARE_DELETE... yes
Checking for getpeereid... found
Checking for getpeerucred... not found
Checking for camlzip... found
Preprocessor for ocamlrpcgen: cpp

Effective options:
    -enable-pcre
    -disable-gtk
    -disable-gtk2
    -disable-tcl
    -disable-ssl
    -enable-zip
    -disable-crypto
    -disable-apache
    -with-nethttpd
    -without-rpc-auth-dh
    -bindir /opt/ocaml/bin
    -datadir /opt/ocaml/lib/site-lib/netstring
    -cpp cpp

uname -a is "Darwin Blue.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct
10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
powerpc", ocaml -version is "The OCaml toplevel, version 4.00.0" and gcc
--version gives:

powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(prehistoric, I know). If anyone has any ideas, I'd be grateful (except for
suggestions to run Linux! ;-)

Best regards,
Mat=C3=ADas.

--00248c7690d2405cdd04caa3d726
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,<div><br></div><div>I send out in the hopes that, despite the ancient so=
ftware and platform I&#39;m having problems with, someone could shed some l=
ight on this. Currently netplex is broken on this machine, failing with err=
ors of the following sort:</div>
<div><br></div><div><div>fd style: Recv_send_implied</div><div>fd style: Re=
cv_send_implied</div><div>Netplex Catastrophic Error: Unable to send log me=
ssage - exception Rpc_client.Communication_error(File &quot;<a href=3D"http=
://uq_engines.ml">uq_engines.ml</a>&quot;, line 2576, characters 6-12: Asse=
rtion failed)</div>
<div>Log message is: poll: Exception Rpc_client.Communication_error(File &q=
uot;<a href=3D"http://uq_engines.ml">uq_engines.ml</a>&quot;, line 2576, ch=
aracters 6-12: Assertion failed)</div><div>[Wed Sep 26 21:10:39 2012] [netp=
lex.controller] [alert] Disabling service after 10 startup failures</div>
</div><div><br></div><div>(the &quot;fd_style&quot; line is a strategically=
 placed print statement). I am at a loss in following <a href=3D"http://uq_=
engines.ml">uq_engines.ml</a>, so I don&#39;t know where to look.</div><div=
>
<br></div><div>I configured ocamlnet with:</div><div><br></div><div>./confi=
gure -with-nethttpd -enable-zip -disable-tcl -prefer-netcgi2 -enable-pcre</=
div><div><br></div><div>and the result is:</div><div><br></div><div><div>
able-tcl -prefer-netcgi2 -enable-pcre</div><div>Welcome to Ocamlnet version=
 3.6</div><div>Checking operating system... Generic</div><div>Checking for =
findlib... found</div><div>Checking multi-threading support... posix (ok)</=
div>
<div>Checking word size... 32 bit</div><div>Checking endianess... big</div>=
<div>Checking for GPROF... found</div><div>Checking for PCRE... found</div>=
<div>Checking for win32... no</div><div>Checking whether Ocaml has Printexc=
.register_printer... found</div>
<div>Checking for POSIX pthread... found</div><div>Checking whether Ocaml h=
as fancy page tables... found</div><div>Checking for POSIX shared memory...=
 found</div><div>Checking for POSIX semaphores (anonymous)... not found</di=
v>
<div>Checking for POSIX semaphores (named)... found</div><div>Checking for =
POSIX spawn... not found</div><div>Checking for POSIX fadvise... not found<=
/div><div>Checking for POSIX fallocate... not found</div><div>Checking for =
POSIX memalign... not found</div>
<div>Checking for syslog... found</div><div>Checking for POSIX functions li=
ke openat... not found</div><div>Checking for fchdir... found</div><div>Che=
cking for fdopendir... not found</div><div>Checking for realpath... not fou=
nd</div>
<div>Checking for grantpt (System V style PTYs)... found</div><div>Checking=
 for posix_openpt (System V style PTYs)... found</div><div>Checking for ini=
tgroups...found</div><div>Checking for POSIX clocks...not found</div><div>
Checking for POSIX timers...not found</div><div>Checking for eventfd (Linux=
)...not found</div><div>Checking for timerfd (Linux)...not found</div><div>=
Checking for epoll (Linux)...not found</div><div>Checking for compare_and_s=
wap (GCC)...not found</div>
<div>Checking for GPROF... found</div><div>Checking for O_SHARE_DELETE... y=
es</div><div>Checking for getpeereid... found</div><div>Checking for getpee=
rucred... not found</div><div>Checking for camlzip... found</div><div>Prepr=
ocessor for ocamlrpcgen: cpp</div>
<div><br></div><div>Effective options:</div><div>=C2=A0 =C2=A0 -enable-pcre=
</div><div>=C2=A0 =C2=A0 -disable-gtk</div><div>=C2=A0 =C2=A0 -disable-gtk2=
</div><div>=C2=A0 =C2=A0 -disable-tcl</div><div>=C2=A0 =C2=A0 -disable-ssl<=
/div><div>=C2=A0 =C2=A0 -enable-zip</div><div>=C2=A0 =C2=A0 -disable-crypto=
</div>
<div>=C2=A0 =C2=A0 -disable-apache</div><div>=C2=A0 =C2=A0 -with-nethttpd</=
div><div>=C2=A0 =C2=A0 -without-rpc-auth-dh</div><div>=C2=A0 =C2=A0 -bindir=
 /opt/ocaml/bin</div><div>=C2=A0 =C2=A0 -datadir /opt/ocaml/lib/site-lib/ne=
tstring</div><div>=C2=A0 =C2=A0 -cpp cpp</div></div><div>
<br></div><div>uname -a is &quot;Darwin Blue.local 8.11.0 Darwin Kernel Ver=
sion 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC=
 Power Macintosh powerpc&quot;,=C2=A0ocaml -version is &quot;The OCaml topl=
evel, version 4.00.0&quot; and=C2=A0gcc --version gives:</div>
<div><br></div><div>powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Comp=
uter, Inc. build 5370)</div><div>Copyright (C) 2005 Free Software Foundatio=
n, Inc.</div><div>This is free software; see the source for copying conditi=
ons. =C2=A0There is NO</div>
<div>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR=
POSE.</div><div><br></div><div>(prehistoric, I know). If anyone has any ide=
as, I&#39;d be grateful (except for suggestions to run Linux! ;-)</div>
<div><br></div><div>Best regards,</div><div>Mat=C3=ADas.</div>

--00248c7690d2405cdd04caa3d726--


--===============7678358149939169967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
--===============7678358149939169967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

--===============7678358149939169967==--