Alexander Hansen <[EMAIL PROTECTED]> writes: > 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).
Should the Depends field thus include `python24 | python25'? I notice the build goes throgh just fine without --build-as-nobody, but fails with it: test -z "/sw/lib/python2.5/site-packages/wesnoth" || /sw/bin/mkdir -p "/sw/lib/python2.5/site-packages/wesnoth" /sw/bin/ginstall -c -m 644 'data/tools/wesnoth/wmltools.py' '/sw/lib/python2.5/site-packages/wesnoth/wmltools.py' /sw/bin/ginstall: cannot remove `/sw/lib/python2.5/site-packages/wesnoth/wmltools.py': Permission denied /sw/bin/ginstall -c -m 644 'data/tools/wesnoth/wmldata.py' '/sw/lib/python2.5/site-packages/wesnoth/wmldata.py' /sw/bin/ginstall: cannot remove `/sw/lib/python2.5/site-packages/wesnoth/wmldata.py': Permission denied /sw/bin/ginstall -c -m 644 'data/tools/wesnoth/wmlparser.py' '/sw/lib/python2.5/site-packages/wesnoth/wmlparser.py' /sw/bin/ginstall: cannot remove `/sw/lib/python2.5/site-packages/wesnoth/wmlparser.py': Permission denied /sw/bin/ginstall -c -m 644 'data/tools/wesnoth/campaignserver_client.py' '/sw/lib/python2.5/site-packages/wesnoth/campaignserver_client.py' /sw/bin/ginstall: cannot remove `/sw/lib/python2.5/site-packages/wesnoth/campaignserver_client.py': Permission denied /sw/bin/ginstall -c -m 644 'data/tools/wesnoth/__init__.py' '/sw/lib/python2.5/site-packages/wesnoth/__init__.py' /sw/bin/ginstall: cannot remove `/sw/lib/python2.5/site-packages/wesnoth/__init__.py': Permission denied Byte-compiling python modules... wmltools.py Traceback (most recent call last): File "<string>", line 15, in <module> File "/sw/lib/python2.5/py_compile.py", line 135, in compile fc = open(cfile, 'wb') IOError: [Errno 13] Permission denied: '/sw/lib/python2.5/site-packages/wesnoth/wmltools.pyc' What might be going on? (And what's the significance of failing to build with --build-as-nobody, anyway?) Thanks, Jesse PS Thanks for the help spotting this problem! I appreciate the help. -- Jesse Alama ([EMAIL PROTECTED]) *65: "thesis" is allowed only inside a proof ------------------------------------------------------------------------- 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 Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users