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?
|
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. |
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?
|
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? |
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 |
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. |
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?
|
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 08:18 AM. |