Build pyv8 vs already installed libraries.

95 views
Skip to first unread message

utkonos

unread,
Dec 18, 2012, 1:04:49 AM12/18/12
to py...@googlegroups.com
I am trying to build pyv8 on FreeBSD and I'm having a problem.  The V8 libraries are already built and installed using the current version in the ports collection.  Is there a way to build pyv8 against those already installed libraries rather than the private version?  If so, I want to create a FreeBSD port of pyv8 so it can be part of the package management system.

Any thoughts?

utkonos

unread,
Dec 26, 2012, 9:10:06 PM12/26/12
to py...@googlegroups.com
Flier, you mention that "v8 disabled C++ exception and RTTI by default, but boost::python need it"

I am working on a FreeBSD port of pyv8. The FreeBSD ports collection already has V8 in it here:

Due to the nature of the ports system, the V8 port is built from source.  I can add ports system config options that will build v8 the way that pyv8/boost::python need it to be built.  Therefore I want to make changes to the pyv8 build process that prevent it from building v8 on its own and build against the properly built v8 already installed on the system.

Flier Lu

unread,
Dec 26, 2012, 9:18:26 PM12/26/12
to py...@googlegroups.com
ok, I think we can add a command line parameter to the setup.py, skip the v8 building stage, such as

python setup.py build --skip-build-v8

What's you opinion?

Robert Simmons

unread,
Dec 27, 2012, 1:13:32 AM12/27/12
to py...@googlegroups.com
After skipping v8 build and if V8_HOME is not set, will it check for
installed libraries to build against?
> --
> You received this message because you are subscribed to the Google Groups
> "PyV8" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pyv8/-/enyMN-7BTrIJ.
> To post to this group, send email to py...@googlegroups.com.
> To unsubscribe from this group, send email to
> pyv8+uns...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyv8?hl=en.

Flier Lu

unread,
Feb 5, 2013, 8:26:50 AM2/5/13
to py...@googlegroups.com
You means that even you use `python setup.py v8build` to skip the v8 checkout/build phrase, setup.py still check V8_HOME and try the skipped phrase when V8_HOME is missed?
Reply all
Reply to author
Forward
0 new messages