Keep getting error message when trying to ./configure /c source codes

1 view
Skip to first unread message

Darwin Wu

unread,
Apr 27, 2008, 9:06:36 AM4/27/08
to Wikipedia iPhone
Dear Wikipedia iPhone Designer,

I'm a big fan of Wikipedia.app created by you. Currently I'm trying to
generate my own wiki dump. When I run ./configure in the /c directory,
however, I keep getting error messages like this:
=======
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
=======
The config.log is like this:Configured with: ../src/configure -v --
enable-languages=c,c++,fortran,objc,obj-c
++,treelang --prefix=/usr --enable-shared --with-system-zlib --
libexecdir=/usr/l
ib --without-included-gettext --enable-threads=posix --enable-nls --
with-gxx-inc
lude-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-
clocale=gnu --enabl
e-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all
--enable-c
hecking=release --build=i486-linux-gnu --host=i486-linux-gnu --
target=i486-linux
-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:2500: $? = 0
configure:2507: gcc -V >&5
gcc: '-V' option must have argument
configure:2510: $? = 1
configure:2533: checking for C compiler default output file name
configure:2560: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2563: $? = 1
configure:2601: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "wp"
| #define PACKAGE_TARNAME "wp"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "wp 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "wp"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2608: error: C compiler cannot create executables
See `config.log' for more details.
===========
Would you tell me how to avoid this error? Or whether I can simply
ignore these errors and do the rest steps to generate a Wikipedia dump?

Patrick Collison

unread,
Apr 27, 2008, 11:03:01 AM4/27/08
to wikipedi...@googlegroups.com
Looks like you don't have libc-dev. Install it with apt-get.

Darwin Wu

unread,
Apr 28, 2008, 9:48:11 AM4/28/08
to Wikipedia iPhone
Thanks for your quick reply~
iPhone fans all over the world will be grateful for your creation

On Apr 27, 11:03 pm, "Patrick Collison" <patr...@collison.ie> wrote:
> Looks like you don't have libc-dev. Install it with apt-get.
>
Reply all
Reply to author
Forward
0 new messages