pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44304: x11/wxGTK24 configure fails to find GTK2+ on NetBSD/i386-5.1_STABLE

>Number:         44304
>Category:       pkg
>Synopsis:       x11/wxGTK24 configure fails to find GTK2+ on 
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 01 02:30:00 +0000 2011
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.1_STABLE, pkgsrc-current (pre-pkgsrc-2010Q4)
NetBSD plextwo.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (PLEXOR) #30: Thu 
Dec 23 22:50:30 CST 2010  

As previously mentioned in pkg/43943, building x11/wxGTK24 fails during
the configure phase with:

checking for TIFFError in -ltiff... yes
checking for GTK+ version... 
checking for pkg-config... 
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: 
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
*** Error code 1

make: stopped in /d0/nbsd/pkgsrc/x11/wxGTK24

Attempt to build x11/wxGTK24 on NetBSD/i386-5.1_STABLE.  (-current had
no problem when last tried).

A patch posted by obache@ in pkg/43943 allowed x11/wxGTK24 to build and
install.  For the current revision of affected files:

Index: mk/buildlink3/
RCS file: /cvsroot/pkgsrc/mk/buildlink3/,v
retrieving revision 1.209
diff -u -p -r1.209
--- mk/buildlink3/     3 Dec 2010 18:59:20 -0000       1.209
+++ mk/buildlink3/     1 Jan 2011 01:49:43 -0000
@@ -500,7 +500,7 @@ CFLAGS+=    ${_flag_}
 CXXFLAGS+=     ${_flag_}
 .  endif
-.for _flag_ in ${BUILDLINK_LDFLAGS}
+.for _flag_ in 
 .  if empty(LDFLAGS:M${_flag_:S/:/\\:/g})
 LDFLAGS+=      ${_flag_}
 .  endif

Home | Main Index | Thread Index | Old Index