LinuxQuestions.org
Register a domain and help support LQ
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 07-02-2007, 12:11 PM   #1
linuxNYC
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
libmcrypt-2.5.8


Hello,

I'm getting the following error whenever I run ./configure to install this lib:
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.


This is what the config log says:

./configure: line 2200: g++: command not found
configure:2202: $? = 127
configure:2225: checking for C++ compiler default output file name
configure:2228: g++ conftest.cc >&5
./configure: line 2229: g++: command not found
configure:2231: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libmcrypt"
| #define VERSION "2.5.8"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2270: error: C++ compiler cannot create executables
See `config.log' for more details.


The thing is that gcc is installed, and it's in the execution path. This is the outcome of running gcc -v:

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)



Can anyone help? Thanks in advance.
 
Old 07-02-2007, 12:18 PM   #2
SlacUser
Member
 
Registered: Apr 2007
Location: México
Distribution: Slackware, Fedora
Posts: 61

Rep: Reputation: 15
../Configure?

Or mispelled error?

Last edited by SlacUser; 07-02-2007 at 12:20 PM.
 
Old 07-02-2007, 12:23 PM   #3
linuxNYC
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
no mispelling. I'm just running the ./configure script that comes with the source code so that I can then compile it, and subsequently install it. Any ideas?
 
Old 07-02-2007, 12:25 PM   #4
linuxNYC
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I forgot to mention that Im running FC7.

uname -a
Linux 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT 2007 i686 i686 i386 GNU/Linux

Thanks.
 
Old 07-02-2007, 12:41 PM   #5
SlacUser
Member
 
Registered: Apr 2007
Location: México
Distribution: Slackware, Fedora
Posts: 61

Rep: Reputation: 15
Quote:
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
I said the mispelling because of the 2 dots in the /configure
 
Old 07-02-2007, 12:53 PM   #6
linuxNYC
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Oh I see what you mean. That's just how the output comes out when you do a gcc -v. Thanks.
 
  


Reply

Tags
installation, software


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
mcrypt libmcrypt gSalsero Linux - Software 1 03-31-2005 12:18 AM
Mcrypt/Libmcrypt Installation on Mandrake 10 Xandrake Linux - Newbie 12 05-12-2004 08:05 PM
libmcrypt and PHP Saeven Linux - Software 2 11-25-2002 01:39 PM


All times are GMT -5. The time now is 01:02 PM.

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