Re: [Pharo-users] Pharo on Fedora 15_64
Am 11.06.2011 22:43, schrieb Alan Rodas:
I dont know exactly if this may be the reason, but, are you running a 64bit version of Fedora right?
I had some trouble in the past with pharo and Ubuntu 64bits. I needed the 32 bit libraries to run it.
If that is your case try installing the 32 bit libraries. Just in case you are not quite familiar with installing libraries in Fedora, here is a guide
http://beginlinux.com/blog/2009/09/installing-32-bit-support-into-64-bit-fed...
Hope it helps
Cheers -- Alan Rodas Bonjour
Tnx a lot for help! Indeed I am running Fedora 15 64bit. But I also run Pharo on debian 5 64bit (no Problems). But your guess (or deeper knowledge), that there is (or might be) a problem with the missing 32bit libraries in Fedora 15 64bit is obviously right and helped me to make Phao running on my Fedora 15 64bit version a least. To run 32 bit software versions, the libraries it depends on must be installed. (I did not know, that Phedora is only just a 32bit system.) The method described in the link does not work for Fedora 15. There are "endless" messages of the kind - package not available. Fedora/RedHat has switched the prefered package manager from rpm to yum. Could that be the crux of the fail? I really do not know! (Certailly I checked on my system that rpm was installed properly!) Here a description of my procedure (very close to your link!) to overcome that problem, that hopefully might be helpful or other Fedora 15 (or other 64bit Linux-) users to get the 32bit libs with yum. The procedure is quite close to that given in the link you sent. To be able to get the 32bit libs, open (or in my case - create) the file /etc/rpm/macros as root and add the following line at the end of the file: %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} Open as root and add the line. Save the file and exit the editor. You may use any simple text editor (I used vi) and do not forget to do sudo first: sudo vi /etc/rpm/macros After that first step, you are able to install the 32-bit libraries that are required by Pharo (or other 32bit apps). The following command installs them all: sudo yum install qt.i686 qt-x11.i686 libXv.i686 libXss.i686 libXScrnSaver.i686 After that, Pharo should start properly! Or say, at least it started on my Fedora 15 64 bit. If there is something explained not clearly enough, I am willing to to state more precisely on request. My CS-horizon is very restricted - i am happy if things work without any problems. Tnx, and I wish Pharo good progress towards the 64bit version! Regards BB PS: I thank the Pharo developers for their outstanding work!
thanks B. :) Have fun and success. STef On Jun 12, 2011, at 10:00 PM, bblochl@arcor.de wrote:
Am 11.06.2011 22:43, schrieb Alan Rodas:
I dont know exactly if this may be the reason, but, are you running a 64bit version of Fedora right?
I had some trouble in the past with pharo and Ubuntu 64bits. I needed the 32 bit libraries to run it.
If that is your case try installing the 32 bit libraries. Just in case you are not quite familiar with installing libraries in Fedora, here is a guide
http://beginlinux.com/blog/2009/09/installing-32-bit-support-into-64-bit-fed...
Hope it helps
Cheers -- Alan Rodas Bonjour
Tnx a lot for help!
Indeed I am running Fedora 15 64bit. But I also run Pharo on debian 5 64bit (no Problems). But your guess (or deeper knowledge), that there is (or might be) a problem with the missing 32bit libraries in Fedora 15 64bit is obviously right and helped me to make Phao running on my Fedora 15 64bit version a least. To run 32 bit software versions, the libraries it depends on must be installed. (I did not know, that Phedora is only just a 32bit system.)
The method described in the link does not work for Fedora 15. There are "endless" messages of the kind - package not available. Fedora/RedHat has switched the prefered package manager from rpm to yum. Could that be the crux of the fail? I really do not know! (Certailly I checked on my system that rpm was installed properly!)
Here a description of my procedure (very close to your link!) to overcome that problem, that hopefully might be helpful or other Fedora 15 (or other 64bit Linux-) users to get the 32bit libs with yum. The procedure is quite close to that given in the link you sent. To be able to get the 32bit libs, open (or in my case - create) the file /etc/rpm/macros as root and add the following line at the end of the file:
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
Open as root and add the line. Save the file and exit the editor. You may use any simple text editor (I used vi) and do not forget to do sudo first:
sudo vi /etc/rpm/macros
After that first step, you are able to install the 32-bit libraries that are required by Pharo (or other 32bit apps). The following command installs them all:
sudo yum install qt.i686 qt-x11.i686 libXv.i686 libXss.i686 libXScrnSaver.i686
After that, Pharo should start properly! Or say, at least it started on my Fedora 15 64 bit.
If there is something explained not clearly enough, I am willing to to state more precisely on request. My CS-horizon is very restricted - i am happy if things work without any problems.
Tnx, and I wish Pharo good progress towards the 64bit version!
Regards
BB
PS: I thank the Pharo developers for their outstanding work!
I take this opportunity to also explain how to add 32 bit libraries for 64 bit ubuntu (in debian if I remember correctly should be the same) for future reference. Open a console Type the following: sudo apt-get update && sudo apt-get install ia32-libs You should be prompted to enter your password, type it and hit enter. After the install finishes you should be able to run Pharo. Maybe a note or warning should be put in the download section of the website to address this problem to newcomers.Something like "running linux on a amd64 architecture, read some_section_on_how_to_install_libraries" Cheers -- Alan Rodas Bonjour
participants (3)
-
Alan Rodas -
bblochl@arcor.de -
Stéphane Ducasse