>> > I tried adding a DESTDIR at various places in scripts/CMakeLists.txt, >> > but to no avail so far, I will open a tracker item for this. >> >> The CMake variable CMAKE_INSTALL_PREFIX controls the install location >> (see install instructions). It's honoured by the python install. You >> can independently set PYTHON_PREFIX if you want. > > Well, CMAKE_INSTALL_PREFIX is set to /usr. The problem is that for > package building, you need to install into a staging directory, usually > something like openbabel-2.3.0/debian/tmp (you're not supposed/allowed > to write anywhere than under the source/build-directory). > > As mentioned, the rest is installed fine under that staging directory > (but with a correct prefix of /usr).
I think you'll find that it all works fine so long as you don't start passing variables to 'make'. I did it a local install myself with the release. >> > Anyway, I need to support building two different python versions (or >> > rather, all currently (by Debian) supported python versions, which is >> > (dynamically determined at build time) 2.5 and 2.6 right now), so I >> > looked into manually building the python bindings via setup.py again and >> > finally managed to get this working I think. >> >> If you want to do it more easily, just set the CMake variables >> PYTHON_EXECUTABLE, etc. (they are listed if you "grep -i >> CMakeCache.txt"). > > Hrm right, but that makes it difficult not to compile everything twice > etc. Perhaps, but perhaps not. Rerunning ./configure used to force a rebuild. Rerunning cmake usually does not (but watch out for cached variables). BTW, are you planning to include the GUI? This release is the first to include the GUI for Linux. It compiles cleanly with the packaged wxWindows on Ubuntu, which presumably filtered up from Debian. > > Michael > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > OpenBabel-Devel mailing list > OpenBabel-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-devel > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel