dajobe / raptor

Redland Raptor RDF syntax library
https://librdf.org/raptor/
Other
156 stars 62 forks source link

make[1]: *** No rule to make target 'turtle_lexer.c', needed by 'all'. Stop. #47

Open joelduerksen opened 2 years ago

joelduerksen commented 2 years ago

Ubuntu 20.04 checked that all listed dependencies installed followed instructions to build from source no errors seen, until the make step

make >output.txt
ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: *** No rule to make target 'turtle_lexer.c', needed by 'all'.  Stop.
make: *** [Makefile:528: all-recursive] Error 1

I see turtle_lexer.l in /src/ and multiple notes in Makefile that .c/.h files will be BUILT but for some reason this isn't happening, I guess?

Any ideas, any thing I should check is installed? Any known (must use older version) lib/tool requirements?

Adminisnyator commented 2 years ago

Figured out how to build the latest tag:

cd src flex -oturtle_lexer.c turtle_lexer.l bison -y parsedate.y bison -y turtle_parser.y

cp parsedate.tab.c parsedate.c cp parsedate.tab.h parsedate.h

cp turtle_parser.tab.c turtle_parser.c cp turtle_parser.tab.h turtle_parser.h

cd ..

NOCONFIGURE=1 ./autogen.sh

./configure \ --prefix=/usr

make make DESTDIR="$1" install