|
From: Dethe E. <de...@li...> - 2006-11-30 06:03:47
|
The following incantation has allowed me to compile visual (fresh
checkout from vpython-core2) once I got all the dependencies
installed and made sure my paths had /sw/bin first:
#!/bin/sh -ex
rm config.guess
rm config.sub
rm ltmain.sh
sh ./autogen.sh
export PKG_CONFIG_PATH=/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/
xft2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig
export PYTHON=/sw/bin/python2.5
export CXXFLAGS="-O2 -finline-functions"
export CFLAGS='-O3'
./configure --prefix=/sw --disable-dependency-tracking
make
Unfortunately, when I go into python after building and installing,
I get this:
>>> from visual import *
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap
Not sure why this is, but my config.log doesn't look right. I've
attached both that file and my src/build.log. That's all I can do
for today, maybe I'll make more progress tomorrow. Any suggestions
welcome.
--Dethe
|