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

Gerd Stolpmann <[email protected]> Wed, 04 Nov 2015 10:56:44 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
--===============7694914187793716727==
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-ZoB3dlQS7MNTpwhRUYG3"


--=-ZoB3dlQS7MNTpwhRUYG3
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

Try it with a checked-out version of ocamlnet:

svn co https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk ocamlnet

Obviously the file src/equeue-gtk1/doc-ignore is missing in the tarball.

Gerd


Am Freitag, den 30.10.2015, 22:44 +0100 schrieb Oliver Bandel:
> Hello,
>=20
> my main goal was, to get the documentation as pdf.
>=20
> So I tried the target "doc" with "make doc", to see what happens.
>=20
> The process failed with a message, that "lablgtk" is unknown.
> I tried with "-enable-gtk2" (after using a fresh source dir to be sure =
=20
> about this problem).
>=20
> But "lablgtk" is used anyway for the "make doc" and the stuff fails again=
.
>=20
>=20
>=20
> Here is the output from "make doc":
>=20
>=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 =20
> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> make[2]: Entering directory =20
> '/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 =20
> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> make[1]: Leaving directory =20
> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> make[1]: Entering directory =20
> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> make[1]: Leaving directory =20
> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> make[1]: Entering directory =20
> '/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.0.4/src/equeue-gtk1'
> ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -package =
=20
> "unix lablgtk" -pp "../../tools/cppo-0.9.4/cppo -D GTK1" -w -3-25 -c  =
=20
> uq_gtk_helper.ml
> ocamlfind: Package `lablgtk' not found
> ../../Makefile.rules:117: recipe for target 'uq_gtk_helper.cmo' failed
> make[1]: *** [uq_gtk_helper.cmo] Error 2
> make[1]: Leaving directory =20
> '/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>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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
> Any ideas on that?
>=20
> Ciao,
>     Oliver
>=20
>=20
> -------------------------------------------------------------------------=
-----
> _______________________________________________
> Ocamlnet-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

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


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

iQEcBAABAgAGBQJWOdZdAAoJEAaM4b9ZLB5T64EH/2rRLF/W0Ccwaeg83Pyf1RQO
7Pjj0QLRQ8LUw7TkkMdrt/2LspRX9yJ7AJ+wLZBI5IqB+iVq9OLEYUKfFEO/fZ3Q
PDsbYHaqsq2t7FbUO8vX/K5VSpvce9OuRFJq3qSuhwamHPd0EXYGCzb7JbBFJvsl
abN1A6mv9mNGJXd4srSEClK8uB2EgjjxnjuLydIpgrSGxgXoQxaDCwP+r0TWqCWf
mvQ+fwZvEqRmCwjbFkh+cWPiUMXyF6v0IylrtlX94i6vHWEQzYyMWhr+UFtlEbl6
Ydj9rtBPSguRdkU2q+I73P/L9/3D0DLWWpHHevcGFIZ/7Lk+oxTGagxuufFAbjY=
=eveJ
-----END PGP SIGNATURE-----

--=-ZoB3dlQS7MNTpwhRUYG3--



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

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

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

--===============7694914187793716727==--