Please check config.log for a more detailed error message. On Wed, Mar 3, 2010 at 7:43 AM, Steven Ong <[email protected]> wrote:
> Hi all, > > I tried to run 'configure' for the 'protobuf-2.3.0' on an Intelx86 and > Solaris 10 machine. It's failed and I saw the following error message: > > .... > config.status: creating protobuf-lite.pc > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > === configuring in gtest > (/home/song/MyProjects/googleProtocolBuffers/protobuf-2.3.0/gtest) > configure: running /bin/bash ./configure > '--prefix=/home/song/MyProjects/LibDist/protobuf-2.3.0' > --cache-file=/dev/null --srcdir=. > checking for a BSD-compatible install... build-aux/install-sh -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... build-aux/install-sh -c -d > checking for gawk... no > checking for mawk... no > checking for nawk... nawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > *checking for C compiler default output file name... > configure: error: C compiler cannot create executables* > See `config.log' for more details. > configure: error: *./configure failed for gtest* > > ...Here are the info on the GNU tools: > > $ gcc --version > gcc (GCC) 3.4.6 > Copyright (C) 2006 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. > > > $ make --version > GNU Make 3.80 > 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 --version > Protocol Buffers configure 2.3.0 > generated by GNU Autoconf 2.61 > > Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, > 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. > This configure script is free software; the Free Software Foundation > gives unlimited permission to copy, distribute and modify it. > > Any help would be greatly appreciated. > > Best regards, > Steven > > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<protobuf%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
