Martin Costabel wrote: > Alexander Hansen wrote: >> OS 10.4.10 >> "python" is Python 2.3 (system's version) > > You will need to force this if you want others to have the same. > >> Xcode 2.4.1 >> >> This came off of the tracker recently. I didn't do a test build >> because it looked like the changes from the prior version were >> relatively trivial. > > The Python stuff is probably new. And since the package installs a > python module, you will need to decide how to handle it. > > However, I got the following error during the install phase: >> .. >> test -z "" || config/install-sh -c -d "" >> /usr/bin/install -c -m 644 'data/tools/wesnoth/wmltools.py' >> '/wmltools.py' > > Looks like you want to remove some garbage from your root directory > now. ;-) > > In the InstallScript, try > > make install DESTDIR=%d > > instead of > > make install prefix=%i > > And you will also have to choose something non-empty for > $pkgpythondir. In configure.in I see > > pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/wesnoth" > > > > which should work automatically if "python" is one of Fink's Python > versions (but then you need to choose which one), but if you want to > keep the system Python, you will need to replace this by some > directory belonging to wesnoth-devel and set PYTHONPATH at runtime. > It built quite happily with Fink's /sw/bin/python -> /sw/bin/python2.5, so having it use python2.5 is one option. (Prior versions of the package didn't like that version.)
Maybe having it use python2.4 wouldn't be a bad idea (especially for backporting to 10.3). -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
