[Erp5-report] r39846 luke - /erp5/trunk/buildout/software-profiles/python-2.7.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Nov 3 15:24:26 CET 2010


Author: luke
Date: Wed Nov  3 15:24:25 2010
New Revision: 39846

URL: http://svn.erp5.org?rev=39846&view=rev
Log:
 - make python2.7 "self" hosted in ERP5 Appliance

It is possible to compile python on system with minimum requirements
(libc, libc headres, C and C++ compilre, autoconf, ...)

Modified:
    erp5/trunk/buildout/software-profiles/python-2.7.cfg

Modified: erp5/trunk/buildout/software-profiles/python-2.7.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/python-2.7.cfg?rev=39846&r1=39845&r2=39846&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/python-2.7.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/python-2.7.cfg [utf8] Wed Nov  3 15:24:25 2010
@@ -1,5 +1,12 @@
 [buildout]
 extends =
+  ../software-profiles/bzip2.cfg
+  ../software-profiles/gdbm.cfg
+  ../software-profiles/ncurses.cfg
+  ../software-profiles/openssl.cfg
+  ../software-profiles/sqlite3.cfg
+  ../software-profiles/readline.cfg
+  ../software-profiles/zlib.cfg
   ../profiles/bootstrap.cfg
 
 parts =
@@ -23,6 +30,10 @@ configure-options =
 
 python_version_major = 2.7
 
+environment =
+  CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include/ -I${ncurses:location}/include/ncursesw/ -I${bzip2:location}/include  -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include
+  LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib64 -L${openssl:location}/lib -L${sqlite3:location}/lib
+
 [bootstrap2.7]
 <= bootstrap
 suffix = 2.7




More information about the Erp5-report mailing list