Hi

*We need to build protoc/protoc-gen-javalite ourself, because we changed 
some java lite code generate behavior*

I followed Github C++ Installation 
Wiki 
https://github.com/protocolbuffers/protobuf/blob/21fc01b63c7f60bae4e230c817a82bd8571a4a70/src/README.md
$ ./autogen.sh
$ ./configure
$ make
$ make check
$ sudo make install

and protoc works well, but javalite does not work

this is how I use javalite

$ protoc --plugin=/usr/local/lib --javalite_out=tracker-builder-lite/src/
main/java/ tracker.proto

protoc-gen-javalite: program not found or is not executable

--javalite_out: protoc-gen-javalite: Plugin failed with status code 1.

this is where I install proto lib to

$ l /usr/local/lib/libproto*

-rwxr-xr-x  1 root  admin   467K  8 22 21:01 /usr/local/lib/libprotobuf-lite
.15.dylib

-rw-r--r--  1 root  admin   5.4M  8 22 21:01 /usr/local/lib/libprotobuf-lite
.a

lrwxr-xr-x  1 root  admin    25B  8 22 21:01 /usr/local/lib/libprotobuf-lite
.dylib -> libprotobuf-lite.15.dylib

-rwxr-xr-x  1 root  admin   979B  8 22 21:01 /usr/local/lib/libprotobuf-lite
.la

-rwxr-xr-x  1 root  admin   3.2M  8 22 21:01 /usr/local/lib/libprotobuf.
15.dylib

-rw-r--r--  1 root  admin    54M  8 22 21:01 /usr/local/lib/libprotobuf.a

lrwxr-xr-x  1 root  admin    20B  8 22 21:01 /usr/local/lib/libprotobuf.
dylib -> libprotobuf.15.dylib

-rwxr-xr-x  1 root  admin   949B  8 22 21:01 /usr/local/lib/libprotobuf.la

-rwxr-xr-x  1 root  admin   2.7M  8 22 21:01 /usr/local/lib/libprotoc.
15.dylib

-rw-r--r--  1 root  admin    93M  8 22 21:01 /usr/local/lib/libprotoc.a

lrwxr-xr-x  1 root  admin    18B  8 22 21:01 /usr/local/lib/libprotoc.dylib 
-> libprotoc.15.dylib

-rwxr-xr-x  1 root  admin   967B  8 22 21:01 /usr/local/lib/libprotoc.la

Is there anything wrong ? What did I miss?

Can anybody help me ?


Cooper
Shanghai Xingin Ltd

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to