SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-04-2005, 01:25 AM
|
#1
|
Member
Registered: Mar 2005
Location: Washington DC area
Posts: 214
Rep:
|
installing Python 2.4 package on Suse 9.1
Hey everyone? I want to use the Linux version of Soulseek on SuSe 9.1 personal edition. I think the program is called Psyseek or something I dont know. But it says that I need to install this package called Python 2.4. How do I do that using Suse 9.1? Also when i try to compile the package (cuz i downloaded it and tried to just compile it the traditional method), Suse 9.1 tells me that it cant find a proper C compiler. But when i check Yast to see if my C compiler is downloaded or not, it says it is downloaded and installed already. Anyone have any idea how to get the C compiler to work so i can install that Python package myself?
|
|
|
03-04-2005, 02:14 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Make sure that both gcc and g++ are installed. For gcc, g++ and glibc, please install them from YaST. You will save yourself from possible headaches later if you avoid installing a different version from a different source. There should be a package for python that you can install from rpm instead of source. You may also want to install 'idle' also. ( Incidently, the python language is named after the comedy troup and not the snake, idle is the python console, named after Eric )
You can type in 'gcc -V' and 'g++ -V' in the console to display the version installed, and the include and library locations. You may want to perform a search on both 'gcc' and 'g++' to see if there are related functions that you may want to install.
Check in YaST what the version of python the 9.1 rpm package supplies. It may be adequate.
|
|
|
03-04-2005, 02:31 AM
|
#3
|
Member
Registered: Mar 2005
Location: Washington DC area
Posts: 214
Original Poster
Rep:
|
i tried the gcc -V and g++ -V and both times it says to me that command not found. Also when i tried to install it from yast it wont let me install. When i search for it using yast it says that it is already installed. Yet i dont know which directory it is installed under and where i can find it. Any suggestions?
|
|
|
03-04-2005, 03:21 AM
|
#4
|
Member
Registered: Mar 2005
Location: Washington DC area
Posts: 214
Original Poster
Rep:
|
ok i found something called cpp in the /usr/bin directory and when i checked its version it says that
linux:/usr/bin # cpp -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/cc1 -E -quiet -v -
i do not know if that means that cpp is my gcc compiler with this version of Suse Linux. Also when i try to run cpp it just hangs there and doesnt do anything. What should i do?
|
|
|
03-05-2005, 12:19 PM
|
#5
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
SuSE 9.1 Personal is a very limited version that does not come with development tools. But you can install them through FTP. I wrote a little HowTo:
http://www.linuxquestions.org/questi...hreadid=266647
|
|
|
03-05-2005, 09:51 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Your gcc -v output looks just like mine. I think that the problem be be in your PATH variable. '/usr/bin' should be in the PATH for both a local user and root.
Both gcc and g++ should be in /usr/bin/. They are wrappers which call other programs such as cpp and ld when needed.
Some of my include paths are different however looking at cpp -v.
/usr/local/include
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/include
/usr/i586-suse-linux/include
/usr/include
I have the Professional Edition of SuSE 9.1 however, so following the instructions on the above post may be a good idea.
Last edited by jschiwal; 03-05-2005 at 09:53 PM.
|
|
|
03-05-2005, 10:56 PM
|
#7
|
Member
Registered: Mar 2005
Location: Washington DC area
Posts: 214
Original Poster
Rep:
|
awesome thanks that helped me get gcc!! But when i tried to configure Python and i ran the configure script, it said it made the make file, but when i type make it says command not found. Any suggestions?
|
|
|
03-06-2005, 12:35 PM
|
#8
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
The same as with gcc: you need to install it! The package is called 'make'. And once you are already installing software, search for glibc and glibc-devel, since this is often needed.
|
|
|
All times are GMT -5. The time now is 01:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|