LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 03-04-2005, 01:25 AM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Posts: 206

Rep: Reputation: 30
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?
 
Old 03-04-2005, 02:14 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.
 
Old 03-04-2005, 02:31 AM   #3
asilentmurmur
Member
 
Registered: Mar 2005
Posts: 206

Original Poster
Rep: Reputation: 30
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?
 
Old 03-04-2005, 03:21 AM   #4
asilentmurmur
Member
 
Registered: Mar 2005
Posts: 206

Original Poster
Rep: Reputation: 30
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?
 
Old 03-05-2005, 12:19 PM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
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
 
Old 03-05-2005, 09:51 PM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.
 
Old 03-05-2005, 10:56 PM   #7
asilentmurmur
Member
 
Registered: Mar 2005
Posts: 206

Original Poster
Rep: Reputation: 30
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?
 
Old 03-06-2005, 12:35 PM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 03:31 PM
Uninstall a python package danesp Linux - Newbie 8 06-02-2005 12:25 AM
installing ming with python support on suse 9.0 xenithi Programming 0 01-17-2005 11:34 PM
Installing Python on suse 9.1 Multra Linux - Newbie 2 10-26-2004 01:57 PM
Trouble installing Python 2.3 on SuSE 9 system Wandering Idiot Linux - Software 2 09-22-2004 01:47 AM


All times are GMT -5. The time now is 01:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration