[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Fedora Core x86_64 lib problems.

From: Trond Danielsen
Subject: [Discuss-gnuradio] Fedora Core x86_64 lib problems.
Date: Tue, 7 Nov 2006 12:03:34 +0100

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:
and http://lists.gnu.org/archive/html/discuss-gnuradio/2006-11/msg00042.html

1. 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 
but no solution has been found. There is also a bugreport in FC
bugzilla (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185948).
The problem relates back to pythons module loading algorithm.

2. 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.
Trond Danielsen

Attachment: python.m4.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]