LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2003, 10:15 PM   #1
k4ution
Member
 
Registered: Nov 2003
Posts: 46

Rep: Reputation: 15
Fetchmail ./configure problem


Im trying to install fetchmail on my Slack 9.1 box and when I run configure I get this error and I can't figure out why:

root@phYre:~/fetchmail/fetchmail-6.2.5# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

And this is the relative output for config.log:
configure:1807: checking for gcc
configure:1823: found /usr/bin/gcc
configure:1833: result: gcc
configure:2077: checking for C compiler version
configure:2080: gcc --version </dev/null >&5
gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2083: $? = 0
configure:2085: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.2.3
configure:2088: $? = 0
configure:2090: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2093: $? = 1
configure:2117: checking for C compiler default output
configure:2120: gcc -O conftest.c >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
configure:2123: $? = 1
configure: failed program was:
| #line 2096 "configure"
 
Old 11-26-2003, 03:04 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I think you probably need to install glibc.
 
Old 11-28-2003, 01:28 PM   #3
k4ution
Member
 
Registered: Nov 2003
Posts: 46

Original Poster
Rep: Reputation: 15
OK i have glibc installed and now I get this error:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

so I look in config.log and search for cpp and it returns this:
root@phYre:~/fetchmail-6.2.5# grep cpp config.log
configure:2889: gcc -E -traditional-cpp conftest.c
configure:2889: gcc -E -traditional-cpp conftest.c
configure:2889: /lib/cpp conftest.c
configure:2889: /lib/cpp conftest.c
configure:2971: result: /lib/cpp
configure:2996: /lib/cpp conftest.c
configure:2996: /lib/cpp conftest.c
configure:3070: error: C preprocessor "/lib/cpp" fails sanity check
ac_cv_prog_CPP=/lib/cpp
CPP='/lib/cpp'

How can I resolve this?
 
Old 11-28-2003, 01:48 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try upgrading cpp.
 
  


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
Fetchmail problem tkmuthuvel Linux - Networking 1 09-13-2005 09:57 AM
fetchmail problem ash_great Linux - Software 0 07-01-2005 08:08 AM
Fetchmail - How does i configure it? saudoi Linux - Software 1 05-21-2005 10:05 AM
fetchmail-ssl: how to configure? DJ_Cyberdance Linux - Newbie 1 11-10-2003 07:04 PM
help needed to configure Fetchmail ludwig W Linux - General 35 05-18-2003 01:04 PM


All times are GMT -5. The time now is 12:38 PM.

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