discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Python shared libraries installed to /usr/lib/ on x86


From: Joschi Brauchle
Subject: [Discuss-gnuradio] Python shared libraries installed to /usr/lib/ on x86_64 architecture
Date: Tue, 27 Mar 2012 14:45:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0

Hello everyone,

I am having the following problem on an x86_64 linux machine:

When I use the ZIP-release (currently 3.5.2.1, using configure&make) from the GNUradio homepage to build GNUradio, the python shared libraries always get installed to %{prefix}/lib/python.../ instead of %{prefix}/lib64/python.../ as would be appropriate.

If I use the GIT release (currently 3.5.3git, using CMake), this is NOT the case and the shared libraries get correctly installed to %{prefix}/lib64/python.../

So I did debug the problem and ended up at this commit:
http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/1c51b4166f80147b179670ae015f445e9ef5103a/diff/config/gr_python.m4

It adds a logic to detect the python pyexecdir path, but does not do this correctly. I have to mention, that I personally believe that AM does all this correctly in the first place, no need for additional logic. Anyways, in line 58 of /config/gr_python.m4 reads:
path = distutils.sysconfig.get_python_lib()
which is used for the pyexecdir variable later on.

This is clearly wrong, as the shared libraries installed are definitely arch dependent. Hence, this the line should read (note the parameter "1"):
path = distutils.sysconfig.get_python_lib(1)

Best regards,
--
Dipl.-Ing. Joschi Brauchle, M.Sc.

Institute for Communications Engineering (LNT)
Technische Universitaet Muenchen (TUM)
80290 Munich, Germany

Tel (work): +49 89 289-23474
Fax (work): +49 89 289-23490
E-mail: address@hidden
Web: http://www.lnt.ei.tum.de/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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