Hi guys,
this is my Ist post on this forum, i am having a problem in compiling Sablotron-0.96.tar.gz version. When i run './configure' '--prefix=/usr/local'
it shows me an error message at the end like this
"configure: error: installation or configuration problem: C++ compiler cannot create executables."
I have gcc and g++ installed on my system. Is there a way to get out of this problem.
thanx in advance
Problem in compiling sablotron on CentOS5.0 for php
-
- Cadet
- Posts: 5
- Joined: Fri Sep 28, 2007 9:11 am
- Location: Lahore
- Contact:
Problem in compiling sablotron on CentOS5.0 for php
Syed Jamshed Zaidi
Linux Admin/Programmer
"Shoot for the moon even if you miss you will land among stars"
Linux Admin/Programmer
"Shoot for the moon even if you miss you will land among stars"
read the config.log file to see what the error is. perhaps you don't have the c++ development libraries/headers installed.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Cadet
- Posts: 5
- Joined: Fri Sep 28, 2007 9:11 am
- Location: Lahore
- Contact:
Problem in compiling sablotron on CentOS5.0 for php
i am not getting much of these error messages listed in config.log, plz help me in sorting out this problem.
Few lines of config.log reperesents the following errors. i mentioned the error messages lines bold format.
configure:759: checking for a BSD compatible install
configure:812: checking whether build environment is sane
configure:869: checking whether make sets ${MAKE}
configure:908: checking for working aclocal
configure:921: checking for working autoconf
configure:934: checking for working automake
configure:947: checking for working autoheader
configure:960: checking for working makeinfo
configure:978: checking for Cygwin environment
configure:994: cc -c conftest.c 1>&5
configure: In function `main':
[b]configure:990: error: `__CYGWIN32__' undeclared (first use in this function)
configure:990: error: (Each undeclared identifier is reported only once
configure:990: error: for each function it appears in.)
configure: failed program was:
#line 983 "configure"
#include "confdefs.h"
[/b]
the next few lines shows following
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1011: checking for mingw32 environment
configure:1023: cc -c conftest.c 1>&5
configure: In function `main':
configure:1019: error: `__MINGW32__' undeclared (first use in this function)
configure:1019: error: (Each undeclared identifier is reported only once
configure:1019: error: for each function it appears in.)
configure: failed program was:
#line 1016 "configure"
#include "confdefs.h"
at the last line it shows the following message
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure: failed program was:
Few lines of config.log reperesents the following errors. i mentioned the error messages lines bold format.
configure:759: checking for a BSD compatible install
configure:812: checking whether build environment is sane
configure:869: checking whether make sets ${MAKE}
configure:908: checking for working aclocal
configure:921: checking for working autoconf
configure:934: checking for working automake
configure:947: checking for working autoheader
configure:960: checking for working makeinfo
configure:978: checking for Cygwin environment
configure:994: cc -c conftest.c 1>&5
configure: In function `main':
[b]configure:990: error: `__CYGWIN32__' undeclared (first use in this function)
configure:990: error: (Each undeclared identifier is reported only once
configure:990: error: for each function it appears in.)
configure: failed program was:
#line 983 "configure"
#include "confdefs.h"
[/b]
the next few lines shows following
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1011: checking for mingw32 environment
configure:1023: cc -c conftest.c 1>&5
configure: In function `main':
configure:1019: error: `__MINGW32__' undeclared (first use in this function)
configure:1019: error: (Each undeclared identifier is reported only once
configure:1019: error: for each function it appears in.)
configure: failed program was:
#line 1016 "configure"
#include "confdefs.h"
at the last line it shows the following message
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure: failed program was:
Syed Jamshed Zaidi
Linux Admin/Programmer
"Shoot for the moon even if you miss you will land among stars"
Linux Admin/Programmer
"Shoot for the moon even if you miss you will land among stars"
strange error. it's as if it thinks you're trying to compile it on cygwin or something. try the sabletron lists.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear jamy-virus,
Salam,
I believe you do not have C/C++ Compiler installed on you System. Use below command if you are connected to internet. Alternatively you can install them from your installation CD's.
# yum -y install gcc gcc-c++ automake autoconf libtool
Best Regards.
Salam,
I believe you do not have C/C++ Compiler installed on you System. Use below command if you are connected to internet. Alternatively you can install them from your installation CD's.
# yum -y install gcc gcc-c++ automake autoconf libtool
Best Regards.
Farrukh Ahmed
-
- Cadet
- Posts: 5
- Joined: Fri Sep 28, 2007 9:11 am
- Location: Lahore
- Contact:
Problem in compiling sablotron on CentOS5.0 for php
thanx budy
yum command worked
yum command worked
Syed Jamshed Zaidi
Linux Admin/Programmer
"Shoot for the moon even if you miss you will land among stars"
Linux Admin/Programmer
"Shoot for the moon even if you miss you will land among stars"