[MacPorts] #21605: gtk2 fails to build due to bad fontconfig.pc

MacPorts noreply at macports.org
Sat Sep 26 09:27:42 PDT 2009


#21605: gtk2 fails to build due to bad fontconfig.pc
--------------------------------------+-------------------------------------
  Reporter:  swebster@…               |       Owner:  ryandesign@…           
      Type:  defect                   |      Status:  closed                 
  Priority:  Normal                   |   Milestone:                         
 Component:  ports                    |     Version:  1.8.0                  
Resolution:  duplicate                |    Keywords:                         
      Port:  fontconfig               |  
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => duplicate


Old description:

> Fails during configure with
> {{{
> checking for BASE_DEPENDENCIES... configure: error: Package requirements
> (glib-2.0 >= 2.19.7    atk >= 1.13.0    pango >= 1.20    cairo >= 1.6)
> were not met:
>
> Libs.private field occurs twice in
> '/opt/local/lib/pkgconfig/fontconfig.pc'
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables
> BASE_DEPENDENCIES_CFLAGS
> and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>

> Warning: the following items did not execute (for gtk2):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
> }}}
>
> I should have the correct dependencies installed:
>
>   glib2 @2.20.5_0+darwin (active)
>   atk @1.26.0_1 (active)
>   pango @1.24.5_0+macosx (active)
>   cairo @1.8.8_0+macosx (active)
>
> I actually sucessfully installed gtk2 just recently, but it failed after
> I removed it and tried to reinstall because gtk-nodoka-engine failed
> saying it couldn't find GTK+-2.8...

New description:

 Fails during configure with
 {{{
 checking for BASE_DEPENDENCIES... configure: error: Package requirements
 (glib-2.0 >= 2.19.7    atk >= 1.13.0    pango >= 1.20    cairo >= 1.6)
 were not met:

 Libs.private field occurs twice in
 '/opt/local/lib/pkgconfig/fontconfig.pc'

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables
 BASE_DEPENDENCIES_CFLAGS
 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


 Warning: the following items did not execute (for gtk2):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 I should have the correct dependencies installed:

 {{{
   glib2 @2.20.5_0+darwin (active)
   atk @1.26.0_1 (active)
   pango @1.24.5_0+macosx (active)
   cairo @1.8.8_0+macosx (active)
 }}}

 I actually sucessfully installed gtk2 just recently, but it failed after I
 removed it and tried to reinstall because gtk-nodoka-engine failed saying
 it couldn't find GTK+-2.8...

--

Comment:

 Sounds like a duplicate of #20727.

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


More information about the macports-tickets mailing list