Sixthhokage2 / remuco

Automatically exported from code.google.com/p/remuco
1 stars 1 forks source link

Installation support for x86_64 arch #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is your environment?
* OS: Fedora 12 x86_64
* Remuco version: 0.9.2
* Client device: Nokia 3120
* Player: Rhythmbox 0.12.6

What steps will reproduce the problem?
$wget http://remuco.googlecode.com/files/remuco-0.9.2.tar.gz
$tar -xzf remuco-0.9.2.tar.gz
$cd remuco-0.9.2
$sudo make install-rynthymbox
(...)
$cat install-rhythmbox.log
/usr/lib/rhythmbox/plugins/remuco/remuco.rb-plugin
/usr/lib/rhythmbox/plugins/remuco/remythm.py

What is the expected behavior? What happens instead?
$cat install-rhythmbox.log
/usr/lib64/rhythmbox/plugins/remuco/remuco.rb-plugin
/usr/lib64/rhythmbox/plugins/remuco/remythm.py

Additional information:
The plugins should be installed under /usr/lib64/ on x86_64 systems.

Temporary work around:
sudo ln -s /usr/lib/rhythmbox/plugins/remuco
/usr/lib64/rhythmbox/plugins/remuco

Original issue reported on code.google.com by diegobz@gmail.com on 30 Jan 2010 at 2:13

GoogleCodeExporter commented 9 years ago
Do you know of a generic check if a system is 32 or 64bit?

Original comment by obensonne@googlemail.com on 30 Jan 2010 at 4:14

GoogleCodeExporter commented 9 years ago
The following code checks if the *python* installation is 32 or 64 bits.

$python
Python 2.6.2 (r262:71600, Aug 21 2009, 12:23:57)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> ctypes.sizeof(ctypes.c_void_p) * 8
64
>>>

Though, for checking it against the whole environment, which I think it's safer,
"uname -m" could be useful. 

$python
Python 2.6.2 (r262:71600, Aug 21 2009, 12:23:57)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.call(['uname', '-m'])
x86_64
0
>>>

BTW it's not only related to rhythmbox, but with all the 'plugins' adapters.

Original comment by diegobz@gmail.com on 30 Jan 2010 at 5:18

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 92ada5afa1.

The Totem and Rhythmbox adapters get installed to the player's system
wide plugin directories which is /usr/lib on 32bit and
/usr/lib64 on 64bit systems. This patch adds and architecture check
before installing these 2 adapters.

@diegobz:
Could you please test this? See
http://code.google.com/p/remuco/wiki/BleedingEdge for some instructions.

Original comment by obensonne@googlemail.com on 8 Feb 2010 at 6:19

GoogleCodeExporter commented 9 years ago
It worked fine.

Thanks

Original comment by diegobz@gmail.com on 8 Feb 2010 at 10:02

GoogleCodeExporter commented 9 years ago
Thanks for testing.

Original comment by obensonne@googlemail.com on 8 Feb 2010 at 10:04