Opened 18 years ago

Closed 18 years ago

#9544 closed defect (duplicate)

Bug: GTK2 does not build

Reported by: ghenshaw@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: rhwood@…, teus@…
Port:

Description

When upgrading gtk2 I receive the following error:

---> Configuring gtk2 Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_gtk2/work/gtk+-2.8.18" && LDFLAGS="-L/opt/local/lib -lpango-1.0" CPPFLAGS="-I/opt/local/include -no-cpp-precomp -DX_LOCALE" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" ./configure --prefix=/opt/local --disable-shm --disable-gtk-doc --with-included-loaders --mandir=/opt/local/share/man" returned error 1 Command output: checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... yes checking if iswalnum() and friends are properly defined... no checking for uxtheme.h... no checking whether to build gmodulized gdk-pixbuf... yes checking whether dynamic modules work... yes checking for TIFFReadScanline in -ltiff... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for jpeg_destroy_decompress in -ljpeg... yes checking for jpeglib.h... yes checking for jpeg_simple_progression in -ljpeg... yes checking for libpng12... yes checking pixbuf loaders to build... png,bmp,wbmp,gif,ico,ani,jpeg,pnm,ras,tiff,xpm,tga,pcx checking for sys/wait.h that is POSIX.1 compatible... yes checking return type of signal handlers... (cached) void checking for x86 platform... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay... yes checking for XextFindDisplay... yes checking for XRenderQueryExtension... yes checking if <X11/extensions/XIproto.h> is needed for xReply... unknown configure: error: xReply type unavailable. X11 is too old

I am using Apple's X11. I have all of the X11 frameworks installed, and AFAIK they are up to date.

Change History (10)

comment:1 Changed 18 years ago by rhwood@…

Cc: teus@… rhwood@… added
Owner: changed from darwinports-bugs@… to mij@…
Summary: GTK2 does not buildBug: GTK2 does not build

Assigning to maintainer.

What version of Mac OS X are you using?

comment:2 Changed 18 years ago by teus@…

On Mac OS X 10.4, package X11User.pkg installed, and package XcodeTools.mpkg too, gtk2 builds fine.

Teus.

comment:3 Changed 18 years ago by ghenshaw@…

(In reply to comment #2)

On Mac OS X 10.4, package X11User.pkg installed, and package XcodeTools.mpkg too, gtk2 builds fine.

Teus.

I'm using OSX 10.4.6 (PPC), and I do have X11User.pkg and XcodeTools.mpkg installed. This is not a new install of gtk2, it's an upgrade - the last version of the port built fine.

comment:4 Changed 18 years ago by teus@…

I had gtk2 installed before, but did a sudo port uninstall gtk2 and then a sudo port install gtk2 and it then installed the new build.

comment:5 Changed 18 years ago by ghenshaw@…

(In reply to comment #4)

I had gtk2 installed before, but did a sudo port uninstall gtk2 and then a sudo port install gtk2 and it then installed the new build.

Doesn't help. I get exactly the same error.

comment:6 Changed 18 years ago by teus@…

I am not the maintainer of this port, else I could help you. But I guess that my knowledge of these ports is not enough to iron out this problem.

Teus.

comment:7 Changed 18 years ago by ghenshaw@…

It appears that this bug is a duplicate of bug 4167, which has been closed. If I deactivate tk, gtk2 configures and builds fine. This also fixes bug 8730, where I was having problems building pango. What's the deal with tk installing duplicate X11 headers?

comment:8 Changed 18 years ago by mij@…

Are you still having problems after the latest batch of updates?

comment:9 Changed 18 years ago by ghenshaw@…

This is actually caused by bug 8730, where we find the aqua variant of Tk installing extraneous X11 headers. Once Tk+aqua is removed GTK2 builds just fine. I am still having problems due to bug 8730, but it's not the fault of GTK2.

comment:10 Changed 18 years ago by markd@…

Resolution: duplicate
Status: newclosed

I changed the summary on ticket 8730 to explicitly list pango/GTK2 build fail symptoms so I'll mark this as a duplicate of 8730.

Note: See TracTickets for help on using tickets.