ASSS Questions - [split] Questions on building 1.4.0 Anonymous - 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.
i88gerbils - Fri Jul 15, 2005 5:48 pm Post subject:
Follow the wiki guide instructions for building ASSS.
Anonymous - Fri Jul 15, 2005 7:34 pm Post subject:
modified the src/system~
and set the python paths accordingly, make'd, same error :/
Anonymous - 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
Anonymous - Fri Jul 15, 2005 7:38 pm Post subject:
i tried setting pythonhome also
Anonymous - 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]#
i88gerbils - 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?
i88gerbils - Mon May 01, 2006 6:31 pm Post subject: Thread Necromancy woo woo
***Resolved*** (sorta, relevant to 1.4.x)
I finally took another look at this issue. It seems that scripts/makedeps.py is having trouble finding the required libraries and thus doesn't create builds/deps.mk properly. Since I can't understand python I decided to tackle the problem by manually editing deps.mk. This corrects the issue with makedeps.py. The ideal solution is to figure out why makedeps.py is doing this when the files are within my $PATH and in places defined in system.mk: