Re: installation error
Ashish Agarwal <[email protected]> Thu, 10 Oct 2013 10:46:16 -0400
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <CAMu2m2LnJpm3v8f8gCfysXB=sMP0Fq-3LAYLUcy8ug8OnnC8RA@mail.gmail.com> |
--===============1695843118139846457== Content-Type: multipart/alternative; boundary=089e015387f095e04204e8641139 --089e015387f095e04204e8641139 Content-Type: text/plain; charset=ISO-8859-1 Thanks. I'll apply the patch. Unfortunately, upgrading the kernel is not in my hands. It's a cluster used by hundreds of people. The sys admin's policy is to never upgrade software. On Thu, Oct 10, 2013 at 10:34 AM, Gerd Stolpmann <[email protected]>wrote: > Am Donnerstag, den 10.10.2013, 10:09 -0400 schrieb Ashish Agarwal: > > With opam, on RHEL, I'm getting the error below. I've installed > > ocamlnet on the same computer many times before, and don't think I > > changed anything. Any ideas? > > It's a bug. Fix: > > > https://godirepo.camlcity.org/wwwsvn/trunk/code/src/netsys/netsys_c.c?r1=1886&r2=1918&p1=trunk/code/src/netsys/netsys_c.c&p2=trunk/code/src/netsys/netsys_c.c&root=lib-ocamlnet2 > > But honestly, you are using an ancient kernel (without CLOEXEC flag, > i.e. older than 2.6.23). Consider upgrading the system. > > Gerd > > > > > ===== ERROR while installing ocamlnet.3.7.3 ===== > > # opam-version 1.1.0-beta (c381a2daa6751e5b649d96a6e2b4226c8ebe4366) > > # os linux > > # command make all > > # path /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3 > > # compiler 4.01.0 > > # exit-code 2 > > # env-file > > /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.env > > # stdout-file > > /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.out > > # stderr-file > > /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.err > > ### stdout ### > > # ...[truncated] > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_xdr.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_xdr.ml > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_tmp.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_tmp.ml > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_sem.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_sem.ml > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_pmanage.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_pmanage.ml > > # ../../tools/stubcc -ocamlc ocamlc -ccopt -O netsys_c.c > > # make[1]: Leaving directory > > `/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/src/netsys' > > ### stderr ### > > # + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC > > -c -O -I'/home/aa144/.opam/4.01.0/lib/ocaml' 'netsys_c.c' > > # netsys_c.c: In function 'netsys_openat': > > # netsys_c.c:482: error: 'fd' undeclared (first use in this function) > > # netsys_c.c:482: error: (Each undeclared identifier is reported only > > once > > # netsys_c.c:482: error: for each function it appears in.) > > # make[1]: *** [netsys_c.o] Error 2 > > # make: *** [all] Error 2 > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > > _______________________________________________ Ocamlnet-devel mailing > list [email protected] > https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel > > -- > ------------------------------------------------------------ > Gerd Stolpmann, Darmstadt, Germany [email protected] > Creator of GODI and camlcity.org. > Contact details: http://www.camlcity.org/contact.html > Company homepage: http://www.gerd-stolpmann.de > ------------------------------------------------------------ > --089e015387f095e04204e8641139 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks. I'll apply the patch. Unfortunately, upgrading= the kernel is not in my hands. It's a cluster used by hundreds of peop= le. The sys admin's policy is to never upgrade software.</div><div clas= s=3D"gmail_extra"> <br><br><div class=3D"gmail_quote">On Thu, Oct 10, 2013 at 10:34 AM, Gerd S= tolpmann <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote= class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli= d;padding-left:1ex"> Am Donnerstag, den 10.10.2013, 10:09 -0400 schrieb Ashish Agarwal:<br> <div class=3D"im">> With opam, on RHEL, I'm getting the error below.= I've installed<br> > ocamlnet on the same computer many times before, and don't think I= <br> > changed anything. Any ideas?<br> <br> </div>It's a bug. Fix:<br> <br> <a href=3D"https://godirepo.camlcity.org/wwwsvn/trunk/code/src/netsys/netsy= s_c.c?r1=3D1886&r2=3D1918&p1=3Dtrunk/code/src/netsys/netsys_c.c&= ;p2=3Dtrunk/code/src/netsys/netsys_c.c&root=3Dlib-ocamlnet2" target=3D"= _blank">https://godirepo.camlcity.org/wwwsvn/trunk/code/src/netsys/netsys_c= .c?r1=3D1886&r2=3D1918&p1=3Dtrunk/code/src/netsys/netsys_c.c&p2= =3Dtrunk/code/src/netsys/netsys_c.c&root=3Dlib-ocamlnet2</a><br> <br> But honestly, you are using an ancient kernel (without CLOEXEC flag,<br> i.e. older than 2.6.23). Consider upgrading the system.<br> <br> Gerd<br> <div><div class=3D"h5"><br> ><br> > =3D=3D=3D=3D=3D ERROR while installing ocamlnet.3.7.3 =3D=3D=3D=3D=3D<= br> > # opam-version 1.1.0-beta (c381a2daa6751e5b649d96a6e2b4226c8ebe4366)<b= r> > # os =A0 =A0 =A0 =A0 =A0 linux<br> > # command =A0 =A0 =A0make all<br> > # path =A0 =A0 =A0 =A0 /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3<b= r> > # compiler =A0 =A0 4.01.0<br> > # exit-code =A0 =A02<br> > # env-file<br> > =A0 /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3f= d.env<br> > # stdout-file<br> > =A0/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd= .out<br> > # stderr-file<br> > =A0/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd= .err<br> > ### stdout ###<br> > # ...[truncated]<br> > # ocamlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys_= xdr.mli<br> > # ocamlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a h= ref=3D"http://netsys_xdr.ml" target=3D"_blank">netsys_xdr.ml</a><br> > # ocamlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys_= tmp.mli<br> > # ocamlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a h= ref=3D"http://netsys_tmp.ml" target=3D"_blank">netsys_tmp.ml</a><br> > # ocamlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys_= sem.mli<br> > # ocamlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a h= ref=3D"http://netsys_sem.ml" target=3D"_blank">netsys_sem.ml</a><br> > # ocamlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys_= pmanage.mli<br> > # ocamlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a h= ref=3D"http://netsys_pmanage.ml" target=3D"_blank">netsys_pmanage.ml</a><br= > > # ../../tools/stubcc -ocamlc ocamlc -ccopt -O =A0 netsys_c.c<br> > # make[1]: Leaving directory<br> > `/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/src/netsys'<br> > ### stderr ###<br> > # + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -fP= IC<br> > -c =A0-O =A0-I'/home/aa144/.opam/4.01.0/lib/ocaml' 'netsys= _c.c'<br> > # netsys_c.c: In function 'netsys_openat':<br> > # netsys_c.c:482: error: 'fd' undeclared (first use in this fu= nction)<br> > # netsys_c.c:482: error: (Each undeclared identifier is reported only<= br> > once<br> > # netsys_c.c:482: error: for each function it appears in.)<br> > # make[1]: *** [netsys_c.o] Error 2<br> > # make: *** [all] Error 2<br> ><br> ><br> </div></div>> ----------------------------------------------------------= --------------------<br> > October Webinars: Code for Performance<br> > Free Intel webinars can help you accelerate application performance.<b= r> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the mo= st from<br> > the latest Intel processors and coprocessors. See abstracts and regist= er ><br> > <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D60134071&am= p;iu=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net= /gampad/clk?id=3D60134071&iu=3D/4140/ostg.clktrk</a><br> > _______________________________________________ Ocamlnet-devel mailing= list <a href=3D"mailto:[email protected]">Ocamlnet-deve= [email protected]</a> <a href=3D"https://lists.sourceforge.net/lists/= listinfo/ocamlnet-devel" target=3D"_blank">https://lists.sourceforge.net/li= sts/listinfo/ocamlnet-devel</a><br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> --<br> ------------------------------------------------------------<br> Gerd Stolpmann, Darmstadt, Germany =A0 =A0<a href=3D"mailto:gerd@gerd-stolp= mann.de">[email protected]</a><br> Creator of GODI and <a href=3D"http://camlcity.org" target=3D"_blank">camlc= ity.org</a>.<br> Contact details: =A0 =A0 =A0 =A0<a href=3D"http://www.camlcity.org/contact.= html" target=3D"_blank">http://www.camlcity.org/contact.html</a><br> Company homepage: =A0 =A0 =A0 <a href=3D"http://www.gerd-stolpmann.de" targ= et=3D"_blank">http://www.gerd-stolpmann.de</a><br> ------------------------------------------------------------<br> </font></span></blockquote></div><br></div> --089e015387f095e04204e8641139-- --===============1695843118139846457== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk --===============1695843118139846457== 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 --===============1695843118139846457==--