pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Is pango still broken? (vim-gtk2 won't build)
At Thu, 16 Sep 2010 11:04:55 +0100,
Sad Clouds wrote:
> It would be better if you could show the error from config.log file. This way
> it'll pinpoint exactly to where the problem is.
>
> I built vim-gtk2 a few days ago, and didn't see any issues.
I've been seeing a similar error since I updated my pkgsrc tree last
weekend. I can rebuild and replace pango itself without problems, but
When trying to rebuild gtk2 I get:
[...]
checking Pango flags... -pthread -D_REENTRANT -I/usr/pkg/include/pango-1.0
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/X11R7/include
-I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng14 -I/usr/pkg/include
-Wl,-R/usr/pkg/lib -pthread -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib
-L/usr/X11R7/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm
-lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
-lglib-2.0 -lintl
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
*** Error code 1
Stop.
make: stopped in /home/netbsd/pkgsrc/x11/gtk2
*** Error code 1
Note that pango is installed:
spip:/usr/pkgsrc/x11/gtk2/work/gtk+-2.20.1$ pkg_info |grep pango
pango-1.28.1nb2 Library for layout and rendering of text
and is sufficiently up-to-date:
spip:/usr/pkgsrc/x11/gtk2$ make show-depends
py26-expat-[0-9]*:../../textproc/py-expat
shared-mime-info>=0.16nb2:../../databases/shared-mime-info
glib2>=2.24.0:../../devel/glib2
atk>=1.30.0:../../devel/atk
pango>=1.28.1nb2:../../devel/pango
cairo>=1.10.0:../../graphics/cairo
png>=1.4.2:../../graphics/png
jpeg>=8nb1:../../graphics/jpeg
tiff>=3.9.2nb1:../../graphics/tiff
python26>=2.6:../../lang/python26
The seemingly-related bit of config.log is
configure:24288: checking Pango flags
configure:24294: result: -pthread -D_REENTRANT -I/usr/pkg/include/pango-1.0
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/inclu
de/cairo -I/usr/pkg/include/pixman-1 -I/usr/X11R7/include
-I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng14 -I/usr/pkg/include
-Wl,-R/usr/pkg/lib
-pthread -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib
-lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz
-lfontconfig -lgobject-2
.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
configure:24328: cc -o conftest -DGDK_PIXBUF_DISABLE_DEPRECATED -O2
-mfpmath=sse -msse3 -march=athlon64 -pipe -pthread -I/usr/pkg/include
-I/usr/X11R7/includ
e -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/python2.6
-Wall -pthread -D_REENTRANT -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib
/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/cairo
-I/usr/pkg/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2
-I/usr/pkg
/include/libpng14 -I/usr/pkg/include -DPREFIX="\"/usr/pkg\""
-I/usr/pkg/include -I/usr/X11R7/include -I/usr/include
-I/usr/X11R7/include/freetype2 -I/usr/p
kg/include/python2.6 -DG_DISABLE_SINGLE_INCLUDES
-DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES -D_REENTRAN
T -I/usr/X11R7/include -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib/python2.6/
config -Wl,-R/usr/pkg/lib/python2.6/config conftest.c -Wl,-R/usr/pkg/lib
-pthread -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lpangocairo-1.0
-lcai
ro -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl >&5
/home/netbsd/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined
reference to `pixman_image_set_destroy_function'
/home/netbsd/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined
reference to `pixman_image_composite32'
/home/netbsd/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined
reference to `pixman_image_fill_boxes'
configure:24328: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gtk+"
| #define PACKAGE_TARNAME "gtk+"
| #define PACKAGE_VERSION "2.20.1"
| #define PACKAGE_STRING "gtk+ 2.20.1"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
| #define PACKAGE_URL ""
| #define GETTEXT_PACKAGE "gtk20"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define GTK_COMPILED_WITH_DEBUGGING "minimum"
| #define HAVE_LSTAT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FLOCKFILE 1
| #define HAVE_GETC_UNLOCKED 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_SIGSETJMP 1
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define GTK_LOCALEDIR "/usr/pkg/share/locale"
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_PWD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTW_H 1
| #define HAVE_FTW_H 1
| #define STDC_HEADERS 1
| #define RETSIGTYPE void
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define USE_GMODULE 1
| #define HAVE_PROGRESSIVE_JPEG 1
| #define HAVE_SYS_WAIT_H 1
| #define RETSIGTYPE void
| #define HAVE_XCONVERTCASE 1
| #define HAVE_XINTERNATOMS 1
| #define HAVE_X11R6 1
| #define HAVE_XKB 1
| #define HAVE_XSYNC 1
| #define HAVE_IPC_H 1
| #define HAVE_SHM_H 1
| #define HAVE_XSHM_H 1
| #define HAVE_XFREE_XINERAMA 1
| #define HAVE_XINERAMA 1
| #define XINPUT_XFREE 1
| #define HAVE_XCURSOR 1
| #define HAVE_XFIXES 1
| #define HAVE_XCOMPOSITE 1
| #define HAVE_XDAMAGE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pango_context_new ();
| int
| main ()
| {
| return pango_context_new ();
| ;
| return 0;
| }
configure:24333: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
Ian Leroux
Home |
Main Index |
Thread Index |
Old Index