I encountered this same issue, however, by placing the unzipped "protobuf-2.5.0" folder *inside* a folder with a space (ie ../protocol buffers/protobuf-2.5.0 )
Thanks, Kevin On Monday, April 21, 2014 8:38:41 AM UTC-7, [email protected] wrote: > > Status: New > Owner: [email protected] <javascript:> > Labels: Type-Defect Priority-Medium > > New issue 632 by [email protected]: Protocol buffer library fails to > > build if download directory path contains a space. > http://code.google.com/p/protobuf/issues/detail?id=632 > > What steps will reproduce the problem? > 1. Download protocol buffer source. > 2. Rename directory to contain a space character (i.e. > ~/Downloads/"protobuf-2.5.0 2") > 3. Attempt to build protocol buffer library. > > What is the expected output? What do you see instead? > > I expect a completed build. I get the following error: > > /bin/sh ../libtool --tag=CXX --mode=link g++ -D_THREAD_SAFE -Wall > -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG > -D_THREAD_SAFE -o protoc main.o libprotobuf.la libprotoc.la -lz > libtool: link: cannot find the library `2/src/libprotobuf.la' or > unhandled > argument `2/src/libprotobuf.la' > make[2]: *** [protoc] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > What version of the product are you using? On what operating system? > > I'm using protocol buffers 2.5.0 on Mac OS/X 10.9 ("Mavericks") > > > Please provide any additional information below. > > This is almost certainly a shell problem caused by not quoting the > arguments to libtool. Easy workaround - rename or move the download > directory so it doesn't have a space in the path. > > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
