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

2.8.0-1 returns a compilation error #20

Closed
subnetmarco opened this issue Jul 27, 2015 · 9 comments
Closed

2.8.0-1 returns a compilation error #20

subnetmarco opened this issue Jul 27, 2015 · 9 comments

Comments

@subnetmarco
Copy link

I am having some trouble installing version 2.8.0-1, since I keep getting the following compilation error on Ubuntu 12.04.5:

gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/api.c -o src/api.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/b64.c -o src/b64.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/dumper.c -o src/dumper.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/emitter.c -o src/emitter.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/loader.c -o src/loader.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/lyaml.c -o src/lyaml.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/parser.c -o src/parser.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/reader.c -o src/reader.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/scanner.c -o src/scanner.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/strtod.c -o src/strtod.o -Isrc
gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c src/writer.c -o src/writer.o -Isrc
gcc -shared -o yaml/core.so -L/usr/local/lib src/api.o src/b64.o src/dumper.o src/emitter.o src/loader.o src/lyaml.o src/parser.o src/reader.o src/scanner.o src/strtod.o src/writer.o
src/pcre/lpcre.c: In function 'Lpcre_fullinfo':
src/pcre/lpcre.c:372:3: error: 'PCRE_INFO_JIT' undeclared (first use in this function)
src/pcre/lpcre.c:372:3: note: each undeclared identifier is reported only once for each function it appears in
src/pcre/lpcre.c:373:3: error: 'PCRE_INFO_JITSIZE' undeclared (first use in this function)
src/pcre/lpcre.c:380:3: error: 'PCRE_INFO_MAXLOOKBEHIND' undeclared (first use in this function)

Error: Failed installing dependency: https://luarocks.org/lrexlib-pcre-2.8.0-1.src.rock - Build error: Failed compiling object src/pcre/lpcre.o

This problem was not happening with version 2.7.2-1.

@shmuz
Copy link
Collaborator

shmuz commented Jul 27, 2015

Please pull the last commit and try again.

@jdonaldson
Copy link

This issue still exists, and we're still pinning the version of lrexlib-pcre.

@shmuz
Copy link
Collaborator

shmuz commented Oct 14, 2017

The issue exists in Lrexlib 2.8.0 but it has been fixed since then.
Version 2.8.0 will never change, it will have that issue forever.

@shmuz
Copy link
Collaborator

shmuz commented Oct 14, 2017

@jdonaldson
Please describe how we could help you, what action would you expect from us?

@jdonaldson
Copy link

Can you not just make a new minor version release with the fix? 2.8.0-1 is the latest release, and has this problem.

@shmuz
Copy link
Collaborator

shmuz commented Oct 16, 2017

Can you not just make a new minor version release with the fix? 2.8.0-1 is the latest release, and has this problem.

We are planning to make a new major release soon (within a month or so) as PCRE2 support was added. Is it OK for you?

@jdonaldson
Copy link

That's great news, I'm happy to wait a bit longer. Thanks for your work on this!

@shmuz
Copy link
Collaborator

shmuz commented Nov 8, 2017

@jdonaldson
The new version 2.9.0 is released.

@jdonaldson
Copy link

Thanks for the note!

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

3 participants