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 
>NetBSD/i386-5.1_STABLE
>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)
>Organization:
>Environment:
NetBSD plextwo.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (PLEXOR) #30: Thu 
Dec 23 22:50:30 CST 2010  
sysop%6gun.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/PLEXOR
 i386

>Description:
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... 
/d0/build/pkgsrc/x11/wxGTK24/work/.tools/bin/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

Stop.
make: stopped in /d0/nbsd/pkgsrc/x11/wxGTK24
[...]

>How-To-Repeat:
Attempt to build x11/wxGTK24 on NetBSD/i386-5.1_STABLE.  (-current had
no problem when last tried).
>Fix:
Workaround:

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





Home | Main Index | Thread Index | Old Index