Issue 169 in protobuf: protoc will not build from a path that contains spaces on OS X 10.6

441 views
Skip to first unread message

prot...@googlecode.com

unread,
Feb 26, 2010, 9:59:11 AM2/26/10
to prot...@googlegroups.com
Status: New
Owner: ken...@google.com
Labels: Type-Defect Priority-Medium

New issue 169 by keithl: protoc will not build from a path that contains
spaces on OS X 10.6
http://code.google.com/p/protobuf/issues/detail?id=169

It gets most of the way through make, then errors out on a sed command.
I'm running it from the path "/Volumes/Red
Maple/Code/Libraries/protobuf-2.3.0/"

libtool: link: (cd ".libs" && rm -f "libprotoc.dylib" && ln -s
"libprotoc.6.dylib" "libprotoc.dylib")
libtool: link: ar cru .libs/libprotoc.a code_generator.o
command_line_interface.o plugin.o plugin.pb.o subprocess.o zip_writer.o
cpp_enum.o cpp_enum_field.o cpp_extension.o cpp_field.o cpp_file.o
cpp_generator.o cpp_helpers.o cpp_message.o cpp_message_field.o
cpp_primitive_field.o cpp_service.o cpp_string_field.o java_enum.o
java_enum_field.o java_extension.o java_field.o java_file.o java_generator.o
java_helpers.o java_message.o java_message_field.o java_primitive_field.o
java_service.o python_generator.o
libtool: link: ranlib .libs/libprotoc.a
sed: Maple/Code/Libraries/protobuf-2.3.0/src/libprotobuf.la: No such file
or directory
libtool: link: `Maple/Code/Libraries/protobuf-2.3.0/src/libprotobuf.la' is
not a valid libtool archive
make[2]: *** [libprotoc.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

After I got it building in a folder without spaces, I moved it back to Red
Maple drive and ran "make install" because I had forgotten to earlier. I got
this error:

libtool: install: /usr/bin/install -c .libs/libprotoc.lai
/usr/local/lib/libprotoc.la
libtool: install: /usr/bin/install -c .libs/libprotoc.a
/usr/local/lib/libprotoc.a
libtool: install: chmod 644 /usr/local/lib/libprotoc.a
libtool: install: ranlib /usr/local/lib/libprotoc.a
/bin/sh: /Volumes/Red: No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 127
make[1]: *** [install-am] Error 2
make: *** [install] Error 2


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

prot...@googlecode.com

unread,
Feb 26, 2010, 6:48:47 PM2/26/10
to prot...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 169 by ken...@google.com: protoc will not build from a

path that contains spaces on OS X 10.6
http://code.google.com/p/protobuf/issues/detail?id=169

This appears to be a problem with libtool, one of the tools used in
building the
protobuf package. We don't maintain libtool so there's not much we can do
about this,
but you could report the issue to them. It's certainly true that many Unix
tools get
confused by paths containing spaces, since such paths are usually avoided
on Unix
systems.

prot...@googlecode.com

unread,
Jan 18, 2011, 5:09:54 PM1/18/11
to prot...@googlegroups.com

Comment #2 on issue 169 by cdoko...@gmail.com: protoc will not build from a
path that contains spaces on OS X 10.6
http://code.google.com/p/protobuf/issues/detail?id=169

Problem applies to Windows and probably any occurrence of source at a path
that has spaces. I've experienced it under Windows 7.

Reply all
Reply to author
Forward
0 new messages