Opened 13 years ago
Last modified 12 years ago
#32011 closed defect
protobuf-python26: error: 'google/protobuf/descriptor.h' file not found — at Version 1
Reported by: | thekilon@… | Owned by: | blair@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign@… | |
Port: | protobuf-python26 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Macports can't install protobuf-python26 on Lion.
here is the log file
http://www.pasteall.org/26232
I tried both my macs I am getting exactly the same error , both having Lion installed and of course the latest Xcode
Tried this
sudo port clean protobuf-python26 sudo port install protobuf-python26 configure.compiler=llvm-gcc-4.2
and this
sudo port clean protobuf-python26 sudo port install apple-gcc42 sudo port install protobuf-python26 configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
still the same error
another use that tries the same thing but from snow leopard does not have this issue
Change History (2)
Changed 13 years ago by thekilon@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Keywords: | protobuf python 26 2.6 removed |
Milestone: | MacPorts 2.0.4 |
Owner: | changed from macports-tickets@… to blair@… |
Priority: | High → Normal |
Summary: | Error: Failed to install protobuf-python26 → protobuf-python26: error: 'google/protobuf/descriptor.h' file not found |
You are certain the error "error: 'google/protobuf/descriptor.h' file not found" is the same when using llvm-gcc-4.2? That file should have been provided by dependency protobuf-cpp (was it? -- check with "port contents protobuf-cpp
") and I was going to guess the error was because you're using clang, and clang doesn't use CPATH / LIBRARY_PATH, but that wouldn't affect llvm-gcc-4.2.
error log