Displaying 1 result from an estimated 1 matches for "python_includespec".
2008 Dec 15
3
Problems compiling PostgreSQL package from FC8 on CentOS 5
...make MAX_CONNECTIONS=5 check
make clean
popd
pushd src/test/regress
make RPMTESTING=1 all
popd
PYTHON=/usr/bin/python
python_version=`${PYTHON} -c "import sys; print sys.version[:3]"`
python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
python_includespec="-I${python_prefix}/include/python${python_version}"
pushd PyGreSQL
gcc $CFLAGS -fpic -shared -o _pgmodule.so ${python_includespec}
-I../src/interfaces/libpq -I../src/include -L../src/interfaces/libpq
-lpq pgmodule.c
popd
pushd Pgtcl
# pgtcl's configure only handl...