Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16403 closed defect (invalid)

gtkglext can't find pangocairo

Reported by: guaripete@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: pangocairo Cc: jd@…, barabas@…
Port: gtkglext

Description

> port install graphviz +python +ruby +smyrna +gui
--->  Configuring gtkglext
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gtkglext/work/gtkglext-1.2.0" && ./configure --prefix=/opt/local --with-gl-libdir=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries " returned error 1
Command output: checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.4.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... /opt/local/bin/perl
checking for indent... indent
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (gtk+-2.0 >= 2.0.0 gdk-2.0 >= 2.0.0 pango >= 1.0.0 pangox >= 1.0.0 gmodule-2.0 >= 2.0.0 ) were not met:

No package 'pangox' found

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.


Error: The following dependencies failed to build: gtkglext swig php5 libmcrypt mhash
Error: Status 1 encountered during processing.

Change History (10)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal

Assigning to maintainer. Is pango active? Do you have /opt/local/lib/pkgconfig/pangox.pc?

comment:2 in reply to:  1 Changed 16 years ago by guaripete@…

Replying to jmr@…:

Assigning to maintainer. Is pango active? Do you have /opt/local/lib/pkgconfig/pangox.pc?

Sorry I had pango @1.20.5_0+no_x11 so no pangox.pc. After installing pango @1.20.5_0 (with x11) pangox.pc is found, but graphviz's build fails with following

Package pangocairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangocairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pangocairo', required by 'GDK', not found

$ port search pangocairo
No match for pangocairo found

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

The first error reported in this ticket ("No package 'pangox' found") was experienced by the gtkglext port, not the graphviz port.

What port is the second error ("Package pangocairo was not found in the pkg-config search path") being experienced by?

FYI: pangocairo is a library built by the pango port when the cairo port is present. Is anything listed when you type "port contents pango | grep pangocairo"? Is the cairo port installed and active, and what variants are selected? Use "port installed cairo" to find out.

comment:4 in reply to:  3 Changed 16 years ago by guaripete@…

Replying to ryandesign@…:

The first error reported in this ticket ("No package 'pangox' found") was experienced by the gtkglext port, not the graphviz port.

What port is the second error ("Package pangocairo was not found in the pkg-config search path") being experienced by?

Second error pop when

--->  Configuring gtkglext

FYI: pangocairo is a library built by the pango port when the cairo port is present. Is anything listed when you type "port contents pango | grep pangocairo"?

No results returned by grep.

Is the cairo port installed and active, and what variants are selected? Use "port installed cairo" to find out.

cairo @1.6.4_1+macosx (active)

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: pangocairo added
Port: gtkglext added
Summary: graphviz @2.20.2 Configure error - build failuregtkglext can't find pangocairo

Where are we with this? Are you still experiencing the issue with current versions of these ports? pango should be building pangocairo if cairo is present, which it should always be since cairo is a dependency of pango. With cairo 1.8.4 and pango 1.22.3, do you now have the pangocairo library? Does gtkglext build?

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jd@… added
Resolution: invalid
Status: newclosed

Closing due to lack of response. Please re-open if necessary.

comment:7 in reply to:  description ; Changed 15 years ago by barabas@…

Replying to guaripete@…:

when issuing a port-install gobby, I get the following:

checking for PANGOMM... configure: error: Package requirements (glibmm-2.4 >= 2.14.1 cairomm-1.0 >= 1.2.2 pangocairo >= 1.21.3) were not met: Requested 'pangocairo >= 1.21.3' but version of Pango Cairo is 1.20.5

Cairo and pango packages are at version 1.8.6.

It appears that somewhere in the upgrading of Pango and/or cairo, pangocairo is not properly created. Suggestions?

> port install graphviz +python +ruby +smyrna +gui
--->  Configuring gtkglext
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gtkglext/work/gtkglext-1.2.0" && ./configure --prefix=/opt/local --with-gl-libdir=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries " returned error 1
Command output: checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.4.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... /opt/local/bin/perl
checking for indent... indent
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (gtk+-2.0 >= 2.0.0 gdk-2.0 >= 2.0.0 pango >= 1.0.0 pangox >= 1.0.0 gmodule-2.0 >= 2.0.0 ) were not met:

No package 'pangox' found

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.


Error: The following dependencies failed to build: gtkglext swig php5 libmcrypt mhash
Error: Status 1 encountered during processing.

comment:8 Changed 15 years ago by barabas@…

Cc: barabas@… added

Cc Me!

comment:9 in reply to:  7 Changed 15 years ago by blb@…

Replying to barabas@…:

when issuing a port-install gobby, I get the following:

checking for PANGOMM... configure: error: Package requirements (glibmm-2.4 >= 2.14.1 cairomm-1.0 >= 1.2.2 pangocairo >= 1.21.3) were not met: Requested 'pangocairo >= 1.21.3' but version of Pango Cairo is 1.20.5

Cairo and pango packages are at version 1.8.6.

cairo at 1.8.6 is good, but pango's current port version is 1.22.4 which should satisfy '>= 1.21.3'; sounds like your pango is 1.20.5.

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.