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 not generating tl-parser code #28

Open
bayanr opened this issue Jun 1, 2015 · 5 comments
Open

Make not generating tl-parser code #28

bayanr opened this issue Jun 1, 2015 · 5 comments

Comments

@bayanr
Copy link

bayanr commented Jun 1, 2015

./configure
make

Those two commands are giving an error saying that tl-parser/tl-parser.c doesn't exist despite being a dependency, which I'm guessing means that the parser code isn't being generated. Am I doing something wrong with the build?

@majn
Copy link
Contributor

majn commented Jun 1, 2015

tl-parser isn't generated, its a regular source file in the https://github.com/vysheng/tl-parser project.

Did you clone recursively?

git clone --recursive https://github.com/vysheng/tgl.git && cd tgl

@bayanr
Copy link
Author

bayanr commented Jun 1, 2015

Oh, no I didn't. I'll try that than.

On Mon, Jun 1, 2015 at 10:48 AM, mj notifications@github.com wrote:

tl-parser isn't generated, its a regular source file in the
https://github.com/vysheng/tl-parser project.

Did you clone recursively?

git clone --recursive https://github.com/vysheng/tgl.git && cd tgl


Reply to this email directly or view it on GitHub
#28 (comment).

@bayanr
Copy link
Author

bayanr commented Jun 1, 2015

That worked, thanks a lot.

On Mon, Jun 1, 2015 at 12:59 PM, Bayan Rafeh bayan.rafeh92@gmail.com
wrote:

Oh, no I didn't. I'll try that than.

On Mon, Jun 1, 2015 at 10:48 AM, mj notifications@github.com wrote:

tl-parser isn't generated, its a regular source file in the
https://github.com/vysheng/tl-parser project.

Did you clone recursively?

git clone --recursive https://github.com/vysheng/tgl.git && cd tgl


Reply to this email directly or view it on GitHub
#28 (comment).

@PhoenixAlx
Copy link

I did "--recursive" but didn't work.

My exit

bin/tl-parser -e auto/scheme.tlo auto/scheme.tl
Error in parse:
Error near line 1 pos 31: Expected (
gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.1 -I/usr/include/python3.2mu -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c
gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.1 -I/usr/include/python3.2mu -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c
gcc objs/generate.o objs/tools.o -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lrt -lm -lreadline -llua5.1 -ldl -lpython3.2mu -lssl -lcrypto -ldl -lpthread -lutil -o bin/generate
bin/generate -g skip-header auto/scheme.tlo > auto/auto-skip.h || rm auto/auto-skip.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g fetch-header auto/scheme.tlo > auto/auto-fetch.h || rm auto/auto-fetch.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g store-header auto/scheme.tlo > auto/auto-store.h || rm auto/auto-store.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g autocomplete-header auto/scheme.tlo > auto/auto-autocomplete.h || rm auto/auto-autocomplete.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g types-header auto/scheme.tlo > auto/auto-types.h || rm auto/auto-types.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/tl-parser -E auto/scheme.tl 2> auto/scheme2.tl || ( cat auto/scheme2.tl && rm auto/scheme2.tl && false )
awk -f ./tgl/gen_constants_h.awk < auto/scheme2.tl > auto/constants.h
bin/generate -g fetch-ds-header auto/scheme.tlo > auto/auto-fetch-ds.h || rm auto/auto-fetch-ds.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g free-ds-header auto/scheme.tlo > auto/auto-free-ds.h || rm auto/auto-free-ds.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g store-ds-header auto/scheme.tlo > auto/auto-store-ds.h || rm auto/auto-store-ds.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
bin/generate -g print-ds-header auto/scheme.tlo > auto/auto-print-ds.h || rm auto/auto-print-ds.h
Can not open file 'auto/scheme.tlo'. Error No such file or directory
gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.1 -I/usr/include/python3.2mu -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/main.d -MQ objs/main.o -o objs/main.o main.c
In file included from ./tgl/tgl-structures.h:25:0,
from interface.h:21,
from main.c:74:
./tgl/tgl-fetch.h:23:29: fatal error: auto/auto-types.h: No existe el fichero o el directorio
compilation terminated.
Makefile:48: recipe for target 'objs/main.o' failed
make: *** [objs/main.o] Error 1

@BenWiederhake
Copy link
Contributor

I suggest closing this issue: The first was a mistake, the second was a parse error (which doesn't apply since the scheme has change a lot since).

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

4 participants