digideskio / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

make fails #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download protobuf-c-0.13
2. ./configure
3.

What is the expected output? What do you see instead?
checking google/protobuf/stubs/common.h usability... no
checking google/protobuf/stubs/common.h presence... no
checking for google/protobuf/stubs/common.h... no
configure: error:
  ERROR: protobuf headers are required.

  You must either install protobuf from google,
  or if you have it installed in a custom location
  you must add '-Iincludedir' to CXXFLAGS
  and '-Llibdir' to LDFLAGS.

google/protobuf/stubs/common.h   Download file not found it

configure: error:
  ERROR:
  protobuf test program failed to link:
  perhaps you need to add -Llibdir to your LDFLAGS.

./configure CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib 
LDFLAGS=-lpthread 

fails too!

What version of the product are you using? On what operating system?
[root@localhost protobuf-c-0.13]# gcc -v
 specs。
Tag:i386-redhat-linux
config:../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-libgcj-multifile 
--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.4.2-gcj-1.4.2.0/jre --with-cpu=generic 
--host=i386-redhat-linux
thread mode:posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

Please provide any additional information below.

Original issue reported on code.google.com by bcj1...@163.com on 8 Aug 2010 at 4:20

GoogleCodeExporter commented 8 years ago
Do you have Protocol Buffers installed?  (if you are installing a package, you 
may need the -dev or -devel version as well)

Original comment by lahike...@gmail.com on 12 Aug 2010 at 2:23

GoogleCodeExporter commented 8 years ago
Appears to be a configuration error on the reporter's part.

Original comment by lahike...@gmail.com on 9 Sep 2010 at 5:25