Skip to content

Unable to build tarantool extension as static #55

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

Closed
tony2001 opened this issue Oct 27, 2015 · 5 comments
Closed

Unable to build tarantool extension as static #55

tony2001 opened this issue Oct 27, 2015 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tony2001
Copy link
Contributor

Put the sources into ext/tarantool, run ./buildconf, then ./configure --enable-tarantool (that's the correct option for extensions not linking against any libs), see lots of errors.

@bigbes
Copy link
Contributor

bigbes commented Oct 27, 2015

Thanks for bug report. I'll look into it.

@bigbes bigbes added the bug Something isn't working label Oct 27, 2015
@bigbes bigbes added this to the 0.0.15 milestone Oct 27, 2015
@bigbes bigbes self-assigned this Oct 27, 2015
@bigbes
Copy link
Contributor

bigbes commented Oct 28, 2015

It happens due to path of php_tarantool.h file - it's located in src subdir, so buildsystem can't find it.

@tony2001
Copy link
Contributor Author

Right. Also because all the other files are in a subdir.
Try building PHP out of source dir, you'll see what I mean:
mkdir BUILD_TEST; ../configure --with-tarantool && make

@bigbes
Copy link
Contributor

bigbes commented Oct 28, 2015

@tony2001 is there any way to create this subdirectory? Or the only way is to move sources to root of the tree?
In-source-build i've been able to fix, but OOS is not so simple to fix.

@tony2001
Copy link
Contributor Author

I don't know of any solution that wouldn't be a dirty hack.

@bigbes bigbes closed this as completed in 78d1285 Nov 6, 2015
@bigbes bigbes assigned bigbes and unassigned bigbes Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants