[MacPorts] #32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found (was: Error: Failed to install protobuf-python26)

MacPorts noreply at macports.org
Thu Nov 10 08:43:16 PST 2011


#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found
----------------------------------+-----------------------------------------
 Reporter:  thekilon@…            |       Owner:  blair@…           
     Type:  defect                |      Status:  new               
 Priority:  Normal                |   Milestone:                    
Component:  ports                 |     Version:  2.0.3             
 Keywords:                        |        Port:  protobuf-python26 
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * priority:  High => Normal
  * keywords:  protobuf python 26 2.6 =>
  * milestone:  MacPorts 2.0.4 =>
  * owner:  macports-tickets@… => blair@…


Old description:

> 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

New description:

 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

--

Comment:

 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 [http://lists.macosforge.org/pipermail/macports-
 dev/2011-August/015543.html clang doesn't use CPATH / LIBRARY_PATH], but
 that wouldn't affect llvm-gcc-4.2.

-- 
Ticket URL: <https://trac.macports.org/ticket/32011#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list