google / szl

A compiler and runtime for the Sawzall language
Other
69 stars 16 forks source link

can't install in ubuntu #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
then broken 

What is the expected output? What do you see instead?

error info:

checking protobuf header version... yes (2.3.0 or later)
checking for protobuf library... yes
checking for protocol compiler library... configure: error: in 
`/home/xyz/code/szl':
configure: error: no working protocol compiler library was found
See `config.log' for more details.

but i have  successfully installed protocol buffer  in  /usr/bin/protoc.

whereis protoc
protoc: /usr/bin/protoc /usr/local/bin/protoc /usr/share/man/man1/protoc.1.gz

What version of the product are you using? On what operating system?
szl-1.0.tar.gz  ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by xuyi...@gmail.com on 6 Nov 2010 at 4:34

Attachments:

GoogleCodeExporter commented 9 years ago
I resolved this problem from this link 
http://code.google.com/p/szl/issues/detail?id=3 

just run below scripts before "./configure"

export CPPFLAGS="$(pkg-config --cflags protobuf)"
export LIBS="$(pkg-config --libs protobuf)"      

Original comment by xuyi...@gmail.com on 6 Nov 2010 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by dbh@google.com on 11 Nov 2010 at 2:52