Brandon Potter wrote:
[]
 From what I'm understanding from the link:
http://fink.sourceforge.net/faq/comp-general.php?phpLang=en#python-mods
that Alexander sent your supposed to rebuild the offending package. Based on the output quoted on the website that offending package was plain python24 (python24-2.4.1-1) but I get the error on libxml2-py24

Actually I think the example in the FAQ is from building the package "python24-socket-ssl", not plain python24 (*), but this is not said there. I see now that you can read the phrase

"The fix is to rebuild the offending 'python' package, e.g. 'fink rebuild python24' for the case above."

in the way you did. This should be rephrased to make sure the sense is unambiguous. What is meant (and could be concluded from the explanation above that phrase): Rebuild the corresponding plain python2* package.

It is explained that the problem appears if your python2* package was built on 10.3 and you try to build modules for it on 10.4.

The real bug here is that the python packages on 10.3 and 10.4 have the same revision number. Since the one from 10.3 does not work correctly on 10.4, the one on 10.4 should have a higher revision number, so that a rebuild is forced.

(*) You probably think that the example is from building plain python24 because of the output line

File "/sw/src/root-python24-2.4.1-1/sw/lib/python2.4/distutils/core.py", line 166, in setup

which shows the install-root directory from the building of python2.4. In reality this is another (probably inoffensive) bug in the python2.4 package: This line comes from the precompiled script /sw/lib/python2.4/distutils/core.pyc which has this build-install-root name hardcoded instead of its correct name /sw/lib/python2.4/distutils/core.py. This can be fixed by replacing "make install prefix=%i" in the installscript by "make install prefix=%p DESTDIR=%d", but as the python24 package has a nontrivial install script, any fix would have to be tested first, so I'll leave this to the maintainer (CCed).

--
Martin





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to