Hello,
I'm trying to autobuild coot 0.7 on Ubuntu 12.04 x64.
Running :
wget http://coot.googlecode.com/svn/trunk/build-it-gtk2-simple
export AUTOBUILD_INSTALLED=/data/software/coot
export AUTOBUILD_BUILD=/tmp/autobuild
export LOGS=$AUTOBUILD_BUILD/logs
export NIGHTLY_DEST_DIR=$AUTOBUILD_BUILD
export STABLE_DEST_DIR=$AUTOBUILD_BUILD
export build_coot_prerelease=0
export do_nightlies=0
export check_dependencies_in_install_only=0
./build-it-gtk2-simple python
makes it as far as 16-coot.txt:
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"coot\" -DVERSION=\"0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../lidia-core -I../coot-utils -I../mini-mol -I../geometry -I../coot-utils -I../utils -I/data/software/coot-gtk2-python/include -DHAVE_GOOCANVAS -I/data/software/coot-gtk2-python/include/goocanvas-1.0 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/data/software/coot-gtk2-python/include -I/data/software/coot-gtk2-python/include -DHAVE_MMDB_IGNORE_HASH -DHAVE_MMDB_WITH_CISPEP -DPKGDATADIR='"/data/software/coot-gtk2-python/share/coot"' -g -O -MT lbg-callbacks-outer.o -MD -MP -MF .deps/lbg-callbacks-outer.Tpo -c -o lbg-callbacks-outer.o lbg-callbacks-outer.cc
lidia-main.cc: In function 'int main(int, char**)':
lidia-main.cc:61:18: error: 'Py_Initialize' was not declared in this scope
lidia-main.cc:62:28: error: 'PySys_SetArgv' was not declared in this scope
mv -f .deps/lbg-drag-and-drop.Tpo .deps/lbg-drag-and-drop.Plo
make[1]: *** [lidia-main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/lbg-callbacks-outer.Tpo .deps/lbg-callbacks-outer.Po
mv -f .deps/lbg.Tpo .deps/lbg.Plo
make[1]: Leaving directory `/tmp/autobuild/cmlx21_2012-11-29__T15_04_26/coot-0.7/lbg'
make: *** [all-recursive] Error 1
make failed.
Googling the compiler error leads to suggestions that -lpython needs to be included, but I can't figure out where to insert it into the Makefile, or if it indeed will help.
Also, I noticed that despite python being installed system-wide, autobuild compiles its own version. Not a big deal, but was wondering if there's a way to use the system-wide version to reduce duplication.
Any help much appreciated,
Amadeus
|