Re: For "make doc": -enable-gtk2, but "lablgtk" is used

Gerd Stolpmann <[email protected]> Thu, 05 Nov 2015 23:42:53 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <1446763373.15163.3.camel@zotac>
--===============5153885473770632761==
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-e04SIMZNaI/CG5kTCPJY"


--=-e04SIMZNaI/CG5kTCPJY
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Wondering how you could configure -enable-zip without having camlzip
installed (that's where the Gzip module comes from).

Gerd

Am Donnerstag, den 05.11.2015, 17:12 +0100 schrieb Oliver Bandel:
> Hi,
>=20
> ok, I misinterpreted the last part of confugure-script.
> It was mentioned the DEFAULTS were -disable-<...>
> not that the defaults could be overwritten with -disable-<...>
>=20
> So I used now
>=20
>=20
> ./configure \
>    -enable-pcre  \
>    -enable-full-pcre \
>    -enable-gtk \
>    -enable-gtk2 \
>    -enable-tcl \
>    -enable-gnutls \
>    -enable-gssapi \
>    -enable-zip \
>    -enable-apache \
>    -enable-nethttpd \
>=20
>=20
> Result: configure worked fine and "make" worked fine,
> but "make doc" failed again:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> make[1]: Leaving directory =20
> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> make[1]: Entering directory =20
> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> ocamlfind ocamlc -g  -I ../../src/netstring -package "unix " -w -3-25 =
=20
> -c  netgzip.mli
> File "netgzip.mli", line 5, characters 19-34:
> Error: Unbound module Gzip
> ../../Makefile.rules:120: recipe for target 'netgzip.cmi' failed
> make[1]: *** [netgzip.cmi] Error 2
> make[1]: Leaving directory =20
> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> Makefile:40: recipe for target 'doc' failed
> make: *** [doc] Error 2
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>=20
> So, even though configure worked and make worked,
> make doc failed.
>=20
> If there is missing a module (Gzip), I would assume,
> that aomething before "make doc" would fail or mention the problem.
>=20
> Somehow it does not.
>=20
> More ideas on that?
>=20
> Ciao,
>     Oliver
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Zitat von Gerd Stolpmann <[email protected]> (Thu, 05 Nov 2015 =20
> 10:47:31 +0100)
>=20
> > I create the documentation all the time. You need a fully configured
> > ocamlnet, with all bells and whistles. Which makes sense, because the
> > docs should be complete.
> >
> > Gerd
> >
> > Am Mittwoch, den 04.11.2015, 16:34 +0100 schrieb Oliver Bandel:
> >> Well,  the main problem was:
> >>
> >>    ocamlfind: Package `lablgtk' not found
> >>
> >>
> >> Now I tried with svn-stuff.
> >>
> >> The configure seems to have different defaults.
> >> -enable-gtk2 seems not to be necessary.
> >>
> >> So I did just "./configure".
> >> Then "make doc"
> >>
> >> Result:
> >>
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> ~/tmp/OCamlnet-Docs/trunk/code >make doc
> >> for pkg in src/*/.; do \
> >>      test ! -f $pkg/Makefile -o -f $pkg/doc-ignore || \
> >>          { ( cd $pkg && make -f Makefile.pre generate ) || exit; \
> >>            ( cd $pkg && make -f Makefile.pre depend ) || exit; \
> >>            ( cd $pkg && make ocamldoc.dump ) || exit; \
> >>          }; \
> >> done
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> make[2]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> sed -e 's/@VERSION@/4.0.4/' \
> >>      -e 's/@AUTHDHREQS@//' \
> >>      -e 's/@PREFERRED_CGI_PKG@//' \
> >>      -e 's/@REGEXP_PROVIDER@/str/' \
> >>      -e 's/@COMPAT_PCRE_PROVIDER@//' \
> >>              -e 's/@ZIP_PROVIDER@//' \
> >>          META.in >META
> >> make[2]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -package
> >> "unix" -w -3-25 -c  uq_tcl.mli
> >> File "uq_tcl.mli", line 3, characters 5-11:
> >> Error: Unbound module Equeue
> >> ../../Makefile.rules:120: recipe for target 'uq_tcl.cmi' failed
> >> make[1]: *** [uq_tcl.cmi] Error 2
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/equeue-tcl'
> >> Makefile:40: recipe for target 'doc' failed
> >> make: *** [doc] Error 2
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>
> >>
> >> Then directly afterwards I compiled the software, before starting
> >> again a "make doc".
> >> Software builds.
> >>
> >> Result of "make doc", after is does some work:
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> [...]
> >> ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring
> >> -package "unix unix"  -w -3-25 -c  nettls_gnutls.ml
> >> ocamlfind ocamldoc -dump ocamldoc.dump -stars -I ../../src/netsys -I
> >> ../../src/netstring -package "unix unix"  nettls_gnutls_bindings.mli
> >> nettls_nettle_bindings.mli nettls_gnutls.mli || { rm -f ocamldoc.dump;
> >> exit 1; }
> >> Warning: Module type Netsys_crypto_types.DIGESTS not found
> >> Warning: Module type Netsys_crypto_types.SYMMETRIC_CRYPTO not found
> >> Warning: Module type Netsys_crypto_types.TLS_PROVIDER not found
> >> Warning: Module or module type Netsys_crypto_types.TLS_PROVIDER not fo=
und
> >> Warning: Element Netsys_types.memory not found
> >> Warning: Element Netsys_types not found
> >> Warning: Element Netsys_types not found
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/nettls-gnutls'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[2]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[2]: Nothing to be done for 'realgenerate'.
> >> make[2]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[1]: 'depend' is up to date.
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> ocamlfind ocamldoc -dump ocamldoc.dump -stars -I ../../src/netstring
> >> -package "unix"  netunidata.mli || { rm -f ocamldoc.dump; exit 1; }
> >> Warning: Element Netconversion not found
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netunidata'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> make[2]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> sed -e 's/@VERSION@/4.0.4/' \
> >>      -e 's/@AUTHDHREQS@//' \
> >>      -e 's/@PREFERRED_CGI_PKG@//' \
> >>      -e 's/@REGEXP_PROVIDER@/str/' \
> >>      -e 's/@COMPAT_PCRE_PROVIDER@//' \
> >>              -e 's/@ZIP_PROVIDER@//' \
> >>          META.in >META
> >> make[2]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> make[1]: Entering directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> ocamlfind ocamlc -g  -I ../../src/netstring -package "unix " -w -3-25
> >> -c  netgzip.mli
> >> File "netgzip.mli", line 5, characters 19-34:
> >> Error: Unbound module Gzip
> >> ../../Makefile.rules:120: recipe for target 'netgzip.cmi' failed
> >> make[1]: *** [netgzip.cmi] Error 2
> >> make[1]: Leaving directory
> >> '/home/oliver/tmp/OCamlnet-Docs/trunk/code/src/netzip'
> >> Makefile:40: recipe for target 'doc' failed
> >> make: *** [doc] Error 2
> >> ~/tmp/OCamlnet-Docs/trunk/code >
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>
> >>
> >> So it's not possible to generate the docs from the svn-stuff, even
> >> though the lib itself can be build.
> >>
> >> Ciao,
> >>     Oliver
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Zitat von Gerd Stolpmann <[email protected]> (Wed, 04 Nov 2015
> >> 10:56:44 +0100)
> >>
> >> > Try it with a checked-out version of ocamlnet:
> >> >
> >> > svn co https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk ocamlne=
t
> >> >
> >> > Obviously the file src/equeue-gtk1/doc-ignore is missing in the tarb=
all.
> >> >
> >> > Gerd
> >> >
> >> >
> >> > Am Freitag, den 30.10.2015, 22:44 +0100 schrieb Oliver Bandel:
> >> >> Hello,
> >> >>
> >> >> my main goal was, to get the documentation as pdf.
> >> >>
> >> >> So I tried the target "doc" with "make doc", to see what happens.
> >> >>
> >> >> The process failed with a message, that "lablgtk" is unknown.
> >> >> I tried with "-enable-gtk2" (after using a fresh source dir to be s=
ure
> >> >> about this problem).
> >> >>
> >> >> But "lablgtk" is used anyway for the "make doc" and the stuff =20
> >> fails again.
> >> >>
> >> >>
> >> >>
> >> >> Here is the output from "make doc":
> >> >>
> >> >>
> >> >> =20
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> >> ocamlnet-4.0.4> make doc
> >> >> for pkg in src/*/.; do \
> >> >>      test ! -f $pkg/Makefile -o -f $pkg/doc-ignore || \
> >> >>          { ( cd $pkg && make -f Makefile.pre generate ) || exit; \
> >> >>            ( cd $pkg && make -f Makefile.pre depend ) || exit; \
> >> >>            ( cd $pkg && make ocamldoc.dump ) || exit; \
> >> >>          }; \
> >> >> done
> >> >> make[1]: Entering directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> make[2]: Entering directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> sed -e 's/@VERSION@/4.0.4/' \
> >> >>      -e 's/@AUTHDHREQS@//' \
> >> >>      -e 's/@PREFERRED_CGI_PKG@//' \
> >> >>      -e 's/@REGEXP_PROVIDER@/str/' \
> >> >>      -e 's/@COMPAT_PCRE_PROVIDER@//' \
> >> >>              -e 's/@ZIP_PROVIDER@//' \
> >> >>          META.in >META
> >> >> make[2]: Leaving directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> make[1]: Leaving directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> make[1]: Entering directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> make[1]: Leaving directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> make[1]: Entering directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -packa=
ge
> >> >> "unix lablgtk" -pp "../../tools/cppo-0.9.4/cppo -D GTK1" -w -3-25 -=
c
> >> >> uq_gtk_helper.ml
> >> >> ocamlfind: Package `lablgtk' not found
> >> >> ../../Makefile.rules:117: recipe for target 'uq_gtk_helper.cmo' fai=
led
> >> >> make[1]: *** [uq_gtk_helper.cmo] Error 2
> >> >> make[1]: Leaving directory
> >> >> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> >> >> Makefile:40: recipe for target 'doc' failed
> >> >> make: *** [doc] Error 2
> >> >> ocamlnet-4.0.4>
> >> >> =20
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> >>
> >> >> Any ideas on that?
> >> >>
> >> >> Ciao,
> >> >>     Oliver
> >> >>
> >> >>
> >> >> =20
> >> ----------------------------------------------------------------------=
--------
> >> >> _______________________________________________
> >> >> Ocamlnet-devel mailing list
> >> >> [email protected]
> >> >> https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel
> >> >
> >> > --
> >> > ------------------------------------------------------------
> >> > Gerd Stolpmann, Darmstadt, Germany    [email protected]
> >> > My OCaml site:          http://www.camlcity.org
> >> > Contact details:        http://www.camlcity.org/contact.html
> >> > Company homepage:       http://www.gerd-stolpmann.de
> >> > ------------------------------------------------------------
> >>
> >>
> >>
> >
> > --
> > ------------------------------------------------------------
> > Gerd Stolpmann, Darmstadt, Germany    [email protected]
> > My OCaml site:          http://www.camlcity.org
> > Contact details:        http://www.camlcity.org/contact.html
> > Company homepage:       http://www.gerd-stolpmann.de
> > ------------------------------------------------------------
>=20
>=20
>=20

--=20
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    [email protected]
My OCaml site:          http://www.camlcity.org
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------

--=-e04SIMZNaI/CG5kTCPJY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJWO9ttAAoJEAaM4b9ZLB5TctEH+wS4mEFofGB4Hme6AsWbprB3
RnWSXt+1zXsyW/n8WxYA4+pUC282AGXDh98hCYZVaN/vK3CXlCB2K6B8XiC4WNFL
WfH6Sf9Ln3B5JOwS8J9fuFo85NcJlIyUEpPZWaxhTUCVUen+P+OAXN9t+13t/Jo5
gSJULH6vx4j8p6ODKibwymQjq0EPFeEYhB9bRePWULBUtbbNwFW1DrcqGfZAeGCo
gjvmojKT7l4op8DnUftkEXdJkd4zHkcmXbqxy9CGv0TQWLSVli5zZuE+YjyPORBY
vc24vr+hH3UGF4YAJFHNS6KK50yWa0bw9HxDkvmZOHyGqJclpS/OvJHVaDDkwm0=
=DGcY
-----END PGP SIGNATURE-----

--=-e04SIMZNaI/CG5kTCPJY--



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

------------------------------------------------------------------------------

--===============5153885473770632761==
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

--===============5153885473770632761==--