Hi everyone,
I have been looking into the problem with installing gnuradio on
Fedora Core (FC) x86_64, and just wanted to summarize what I found.
For reference this mail is based on previous discussions in:
http://lists.gnu.org/archive/html/discuss-gnuradio/2006-07/msg00117.html
and
http://lists.gnu.org/archive/html/discuss-gnuradio/2006-11/msg00042.html
-
On a x86_64, FC installs arch-independent libraries into
$PREFIX/lib/python2.4/site-packages, and arch-depended into
$PREFIX/lib64/python2.4/site-packages, which is silly, because python
does not support this. It has already been discussed on the python-dev
mailing list
([Python-Dev] Problem with module loading on multi-arch?),
but no solution has been found. There is also a bugreport in FC
bugzilla (185948 – module loading broken on multiarch).
The problem relates back to pythons module loading algorithm. -
As mentioned earlier, the install path for python scripts are
obtained from this automake macro: /usr/share/aclocal-1.9/python.m4. I
copied the macro to the config directory in gnuradio, modified it to
use the arch dependent path for both scripts and extension modules.
This way both the scripts and the modules are installed in
$PREFIX/lib64 on x86_64. A patch for the aclocal file is included in
this mail.
Hope someone might find this useful.