Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rule to make target 'turtle_lexer.c' #67

Open
waarmond opened this issue Apr 23, 2024 · 5 comments
Open

No rule to make target 'turtle_lexer.c' #67

waarmond opened this issue Apr 23, 2024 · 5 comments

Comments

@waarmond
Copy link

I'm trying to build at ArchLinux with GCC 13 and these lines:

  ./configure \
    --prefix='/usr' \
    --disable-static \
    --with-icu-config='/usr/bin/icu-config'
  make

Result:

Making all in src
make[1]: Entering directory '/home/papa/aur/_speed_perf/raptor/src/raptor-master/src'
make[1]: *** No rule to make target 'turtle_lexer.c', needed by 'all'.  Stop.
@dajobe
Copy link
Owner

dajobe commented May 24, 2024

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

@waarmond
Copy link
Author

waarmond commented May 25, 2024

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

@dajobe
Copy link
Owner

dajobe commented May 25, 2024

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

@dajobe
Copy link
Owner

dajobe commented May 25, 2024

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.

@waarmond
Copy link
Author

waarmond commented May 26, 2024

autogen output: https://pastebin.com/MbUuzqZs

adding --enable-maintainer-mode to ./configure fixed my problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants