Package Details: ocaml-xml-light 2.2-4

Git Clone URL: (read-only, click to copy)
Package Base: ocaml-xml-light
Description: Objective Caml lightweight xml parser
Upstream URL:
Licenses: LGPL
Submitter: thatch45
Maintainer: oriba
Last Packager: oriba
Votes: 5
Popularity: 0.000000
First Submitted: 2011-01-02 02:52
Last Updated: 2015-06-09 23:00

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

oriba commented on 2014-01-05 23:00

OK, I added 'staticlibs' as option in PKGBUILD.

oriba commented on 2014-01-05 22:52

Ah, problem solved: I had wrong syntax.
The docs say, when to use an array, but not the syntax of an array...

oriba commented on 2014-01-05 22:48

Trying around to use staticlibs I got an error message, that it is an unknown option.
Someone here who wants to explain it?

oriba commented on 2013-12-31 16:22

regarding staticlibs, see this comment on the AUR mailinglist:

So, it is not wrong, that staticlibs option is not activated.
As this is AUR, you can change the PKGBUILD by yourself.
Nevertheless, I think about possibly activating that option.
Until then you can activate staticlibs by yourself before building the package...

xaocon commented on 2013-11-04 23:53

PKGBUILD is broken. stuff below needs to be done and staticlibs should be added as an option.

Myshkin commented on 2013-07-18 18:36

Yes. The AUR guidelines say variables are to be avoided but AUR OCaml guidelines uses a variable that often causes problems. Take out OCAMLFIND_DESTDIR and DOCDIR and the following should work:

build() {
cd ${srcdir}/xml-light
make all doc
make opt

package() {
cd ${srcdir}/xml-light
mkdir -p ${pkgdir}$(ocamlfind printconf destdir)
mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
rm -rf test.cmi
cp ${srcdir}/META .
env DESTDIR="${pkgdir}" \
OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) \
ocamlfind install xml-light META *.mli *.cmi *.cma *.a *.cmxa *.cmx
cp doc/* ${pkgdir}/usr/share/doc/${pkgname}

oriba commented on 2013-06-26 01:49

ooops, with a newly setup Arch system I encountered problems with the package.
So, a new version might be necessary...
Did nobody else enountered building problems with pkgrel 3?

oriba commented on 2012-04-19 02:15

New package release now.
Hope it works for you too.

oriba commented on 2012-04-14 23:50

It does not build.

complete build-log:

ocamlyacc xml_parser.mly
ocamlc xml.mli
ocamlc xml_parser.mli
ocamllex xml_lexer.mll
mkdir doc
ocamldoc -sort -html -d doc xml.mli dtd.mli xmlParser.mli
File "xml_parser.mli", line 14, characters 48-61:
Error: Unbound module Dtd
make: *** [xml_parser.cmi] Error 2
make: *** Waiting for unfinished jobs....
228 states, 1162 transitions, table size 6016 bytes
File "xmlParser.mli", line 57, characters 30-41:
Error: Unbound module Dtd
Warning: Element XmlParser not found
Warning: Element XmlParser not found
1 error(s) encountered
make: *** [doc] Error 1
^[[1m^[[31m==> ERROR:^[(B^[[m^[[1m A failure occurred in build().^[(B^[[m
^[[1m Aborting...^[(B^[[m

Anonymous comment on 2011-08-28 21:24

If it helps, I can cd into the xml-light directory, run the commands in the PKGBUILD

OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"

build() {
cd ${srcdir}/xml-light
#echo -e "\nxml_parser.cmi:\n\tocamlc xml_parser.mli\n" >> Makefile
make all doc
make opt
and the package appears to build. Next I commented out the build portion of the PKGBUILD, ran makepkg, and installed xml-light. I haven't tested it yet.