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

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

Open
joelduerksen opened this issue Nov 17, 2021 · 1 comment

Comments

@joelduerksen
Copy link

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
Copy link

Adminisnyator commented Feb 16, 2022

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

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