libdir and python on x86_64
Kevin Fenzi
kevin-fedora-extras at scrye.com
Wed Jun 1 00:21:58 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm running into a build problem with exo on x86_64.
See:
http://extras64.linux.duke.edu/failed/development/exo/0.3.0-5/x86_64/exo-0.3.0-5.failure.log
Whats happening is that I have:
%{_libdir}/python*/site-packages
in my files. That works under x86 and ppc just fine.
However, on x86_64, %{_libdir} == /usr/lib64/, but python still is
installing it's package files under /usr/lib/
So, whats the answer here?
- - Hard code:
/usr/lib/python*/site-packages/
(This means the package won't be relocatable anywhere, rpmlint
complains, etc)
- - Setup a special case for x86_64:
%ifarch %{ix86} ia64
/usr/lib/python*/site-packages
%else
%{_libdir}/python*/site-packages
%endif
(This means x86_64 won't be relocatable, etc)
- - Modify the configure in the package to handle the diffrent libdir on
x86_64 and install under /usr/lib64 as it's expecting? Or possibly the
python Makefile with a patch only applied to x86_64 builds?
- - Something else?
I don't have a x86_64 test machine, so it's not easy for me to test
these possible solutions there.
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFCnP+o3imCezTjY0ERAgtjAJ9elWmlBLbkT7O54l27hQKflmZUSwCfeQUe
gKhDP/ppiS3Nief16MG86c8=
=F0gV
-----END PGP SIGNATURE-----
More information about the fedora-extras-list
mailing list