[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling ocaml soap



On Sat, Aug 02, 2003 at 04:15:41PM +0300, Nicola Onose wrote:
> Hello
> 
> I'm trying to compile ocaml-soap under Debian using  packages libpxp-ocaml-dev 
> version 1.1.94 et libocamlnet-ocaml-dev version 0.96 and I get an (linking) 
> error.
> I tried to contact the author of the ocaml soap library, but its email seems 
> to have changed.
> Here's the error I get:
> 
> /usr/bin/ocamlc -custom -o soap_prim -I +threads -I 
> /usr/lib/ocaml/3.06/pxp-engine -I /usr/lib/ocaml/3.06/pxp-lex-iso88591  -I 
> /usr/lib/ocaml/3.06/netstring -I /usr/lib/ocaml/3.06/pcre -I Types -cclib 
> -L/usr/lib/ocaml/3.06/pcre -cclib -L/usr/lib/ocaml/3.06/pxp-lex-iso88591  
> unix.cma str.cma threads.cma pcre.cma netstring.cma pxp_engine.cma 
> pxp_lex_iso88591.cma pxp_lex_link_iso88591.cmo  Types/utils.cmo 
> Types/base64Binary_s.cmo Types/boolean_s.cmo Types/date_s.cmo 
> Types/dateTime_s.cmo Types/decimal_s.cmo Types/double_s.cmo 
> Types/duration_s.cmo Types/float_s.cmo Types/gDay_s.cmo Types/gMonthDay_s.cmo 
> Types/gMonth_s.cmo Types/gYearMonth_s.cmo Types/gYear_s.cmo 
> Types/hexBinary_s.cmo Types/notation_s.cmo Types/qname_s.cmo 
> Types/string_s.cmo Types/time_s.cmo Types/uri_s.cmo soapTypes.cmo 
> soapStructure.cmo  soap_prim.cmo
> Files /usr/lib/ocaml/3.06/pxp-engine/pxp_engine.cma(Pxp_core_types)
> and /usr/lib/ocaml/3.06/netstring/netstring.cma(Netconversion)
> make inconsistent assumptions over interface Netconversion
> make: *** [soap_prim] Error 2
> 
> Should I get other versions of these libraries?

This would be for Stefano to say, but in the meantime, you could rebuild
these packages in the following order :

  rebuild and install ocamlnet :

  apt-get source -b ocamlnet
  sudo dpkg -i libocamlnet-ocaml-dev...deb

  then do the same for pxp :

  apt-get source -b pxp
  sudo pkg -i libpxp-ocaml-dev...deb

And then it should be ok, i think. If it is so, then you should fill a
bug report against pxp, so that it would be rebuilt or something such.

Maybe it is even not needed to rebuild ocamlnet, just pxp should do. Mmm
probably it is so, just rebuild pxp.

Friendly,

Sven luther



Reply to: