LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2004, 09:57 AM   #1
Lung-Dart
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
trying to compile Python


Im running SuSE 9.1 with KDE 3.2, and im attempting to compile python, as its required for red carpet. So I installed GCC to compile python with and got this error when using ./configure:

linux:/home/*****/Desktop/Python-2.3.4 # ./configure
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details

The config log states it tries to compile a test script and run it, and gives an error along the lines of "Could not run, file not found"

I've done some searching and different people say different things, like install g++ because that particular package needs it. So what woul this package need? G++ too? Or am I way off track

Thanks for any help
 
Old 10-27-2004, 10:46 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Yes you need to install g++ as well.
 
  


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
How do u compile python? sduffy89 Programming 3 02-26-2006 11:18 PM
question about compile python-mcrypt bbmak Linux - Software 0 04-14-2005 11:18 PM
make compile errors -- python problems??? p_motch Linux - Newbie 2 07-11-2004 08:37 PM
compile python progs abs Programming 13 04-05-2004 10:05 PM
compile Python in Linux? pandasuit Programming 2 12-13-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration