Open waarmond opened 3 months ago
If you are building from GIT sources rather than a tarball, you need to do more than just run configure. It's described in the install file which is easier to read at https://librdf.org/raptor/INSTALL.html
I've actually been executing bash autogen.sh, just omitted it in my post:
./autogen.sh
./configure \
--prefix='/usr' \
--disable-static \
--with-icu-config='/usr/bin/icu-config'
LC_ALL=C make
Raptor build summary:
RDF parsers available : rdfxml ntriples turtle trig guess rss-tag-soup rdfa nquads grddl json
RDF parsers enabled : rdfxml ntriples turtle trig guess rss-tag-soup rdfa nquads grddl json
RDF serializers available : rdfxml rdfxml-abbrev turtle mkr ntriples rss-1.0 dot html json atom nquads
RDF serializers enabled : rdfxml rdfxml-abbrev turtle mkr ntriples rss-1.0 dot html json atom nquads
XML parser : libxml 2.13.0 via xml2-config
WWW library : libcurl 8.8.0 via curl-config
NFC check library : ICU UC 75.1
Making all in librdfa
[..]
libtool: link: ( cd ".libs" && rm -f "librdfa.la" && ln -s "../librdfa.la" "librdfa.la" )
make[1]: Leaving directory './librdfa'
Making all in src
[..]
→ Error
Looks like I have a documentation gap. You need to add '--enable-maintainer-mode' to configure (or autogen.sh) to enable the flex generation rules in Makefile.am
actually autogen.sh will do that... so there's something else. If you can paste the output of the ./autogen.sh
run then maybe it'll show the problem.
autogen output: https://pastebin.com/MbUuzqZs
adding --enable-maintainer-mode to ./configure fixed my problem!
Great, I'm not sure I have anything to fix. I've added more words to the INSTALL.html doc in GIT head
Oh now I see, you ran configure after autogen.sh
I guess it wasn't clear you can do ./autogen.sh
arguments to configure
I'm trying to build at ArchLinux with GCC 13 and these lines:
Result: