Hi Maciej, Am 06.11.2013 um 12:14 schrieb Maciej (Matchek) BliziĆski <[email protected]>: > 2013/11/6 Dagobert Michelsen <[email protected]>: >> Well, it does not work when trying to install twisted because there is a >> definition >> like this missing: >> EXTRA_CPPFLAGS += -D_XPG4_2 > > Does this work? > http://stackoverflow.com/questions/9849257/how-to-set-cflags-and-ldflags-to-compile-pycrypto
Indeed, this works: > cd > mkdir -p tmp/buildbot > cd tmp/buildbot > virtualenv --no-site-packages sandbox > source sandbox/bin/activate > easy_install sqlalchemy==0.7.10 > CPPFLAGS=-D_XPG4_2 easy_install buildbot > ^^^^^^^^^^^^^^^^^^ >>> If you insist on having a package, you could create an alternate >>> sqlalchemy package that would not install into /opt/csw/lib/pythonX.Y >>> but some custom place, specifically for buildbot. Then you could use >>> the PYTHONPATH env variable to access this library. >>> >>> You could combine the two like so: >>> >>> export VIRTUALENV_EXTRA_SEARCH_DIR="/path/to/dists /path/to/other/dists" >>> >>> http://www.virtualenv.org/en/latest/#environment-variables-and-configuration-files >> >> The it would be best to add the specific version of sqlalchemy to the >> buildbot >> package and make wrappers around the executables? > > Yes, it's best if buildbot comes with a private copy of sqlalchemy. Ok, will try. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
smime.p7s
Description: S/MIME cryptographic signature
