Author |
Message |
guest Guest
Offline
|
Posted: Fri Jul 15, 2005 4:10 pm Post subject: |
 |
|
|
|
How do you rebuild it against python 2.2? Due to other application that required 2.2 I cannot upgrade to python 2.4.
|
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: Fri Jul 15, 2005 5:48 pm Post subject: |
 |
|
|
|
Follow the wiki guide instructions for building ASSS. _________________ Oldbie Server Help
|
|
Back to top |
|
 |
guest Guest
Offline
|
Posted: Fri Jul 15, 2005 7:34 pm Post subject: |
 |
|
|
|
modified the src/system~
and set the python paths accordingly, make'd, same error :/
|
|
Back to top |
|
 |
guest Guest
Offline
|
Posted: Fri Jul 15, 2005 7:36 pm Post subject: |
 |
|
|
|
# change this to the location of your python 2.2 or higher install.
PYTHON_HOME = /usr/local
# change this to the major/minor version number of your python install.
PYTHON_VERSION = 2.2
# these probably won't have to change
PYTHON_INC = $(PYTHON_HOME)/include/python$(PYTHON_VERSION)
PYTHON_LIB = $(PYTHON_HOME)/lib/python$(PYTHON_VERSION)
PYTHON_CFLAGS = -I$(PYTHON_INC)
PYTHON_LDFLAGS = -L$(PYTHON_LIB)/config -lpython$(PYTHON_VERSION) $(UTIL_LIB) -lm
|
|
Back to top |
|
 |
Guest
Offline
|
Posted: Fri Jul 15, 2005 7:38 pm Post subject: |
 |
|
|
|
i tried setting pythonhome also
|
|
Back to top |
|
 |
Guest
Offline
|
Posted: Fri Jul 15, 2005 7:42 pm Post subject: |
 |
|
|
|
make deps
python ../scripts/makedeps.py -I. -Iinclude -I../build -D_REENTRANT -D_GNU_SOURCE -fPIC -I/opt/db-4.0.14/include -I/opt/mysql/include -I/usr/include/python2.2 \
*/*.c -P '$(BUILDDIR)/' -o ../build/deps.mk
makedeps: ignoring option: -D_REENTRANT
makedeps: ignoring option: -D_GNU_SOURCE
makedeps: ignoring option: -fPIC
makedeps: ignoring option: -I/opt/db-4.0.14/include
makedeps: ignoring option: -I/opt/mysql/include
makedeps: ignoring option: -I/usr/include/python2.2
makedeps: warning: "pthread.h" not found
makedeps: warning: "zlib.h" not found
makedeps: warning: "mysql.h" not found
makedeps: warning: "db.h" not found
makedeps: warning: "errno.h" not found
makedeps: warning: "Python.h" not found
makedeps: warning: "structmember.h" not found
[root@fc src]#
|
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: Fri Jul 15, 2005 10:42 pm Post subject: |
 |
|
|
|
I wasn't aware that we needed to do a make deps. though i'm still on 1.3.6 or something. I think I shall go up to 1.4.0 tonight. Drinking and Compiling :P.
Note: I just did make -j 2 and it built relatively ok except for errors below.
It seems like I get those same warnings this time around. Can someone split this into its own thread?
Last edited by i88gerbils on Fri Jul 15, 2005 11:27 pm, edited 1 time in total |
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
|
Back to top |
|
 |
|