Opened 20 years ago
Closed 19 years ago
#2202 closed defect (fixed)
BUG: gtk2 installer fails during configure while detecting Pango 1.2.0
Reported by: | Mail@… | Owned by: | mij@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | olegb@…, jiggywiggy@… | |
Port: |
Description
I have two versions of Pango installed 1.4.0_2 and 1.4.1_0 and neither one will let me get past the gtk2 configure step. I was actually trying to install gnome-desktop when this failure ocurred.
% port installed
The following ports are currently installed:
atk 1.6.1_0 (active) freetype 2.1.9_0 (active) gettext 0.14.1_1 (active) glib2 2.4.5_0 (active) jpeg 6b_0 (active) libpng 1.2.6_0 (active) pango 1.4.0_2 pango 1.4.1_0 (active) pkgconfig 0.15.0_3 (active) tiff 3.6.1_0 (active)
% sudo port -dv install gtk2
DEBUG: Requested variant powerpc is not provided by port gtk2. DEBUG: Requested variant darwin is not provided by port gtk2. DEBUG: Searching for dependency: glib2 DEBUG: Found Dependency: receipt exists for glib2 DEBUG: Searching for dependency: tiff DEBUG: Found Dependency: receipt exists for tiff DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Searching for dependency: atk DEBUG: Found Dependency: receipt exists for atk DEBUG: Searching for dependency: pango DEBUG: Found Dependency: receipt exists for pango DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Searching for dependency: XFree86 DEBUG: Didn't find receipt, going to depspec regex for: XFree86 DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: libX11\.6\.dylib$ DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: libX11\.6\.dylib$ DEBUG: Skipping completed com.apple.main (gtk2) DEBUG: Skipping completed com.apple.fetch (gtk2) DEBUG: Skipping completed com.apple.checksum (gtk2) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed com.apple.extract (gtk2) DEBUG: Skipping completed com.apple.patch (gtk2) ---> Configuring gtk2 DEBUG: Executing com.apple.configure (gtk2) DEBUG: Assembled command: 'cd "/Users/dhiser/darwinports/dports/x11/gtk2/work/gtk+-2.4.9" && LDFLAGS="-L/opt/local/lib" 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' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... powerpc-apple-darwin7.5.0 checking host system type... powerpc-apple-darwin7.5.0 checking for native Win32... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 65536 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin7.5.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin7.5.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking whether to enable maintainer-specific portions of Makefiles... no checking for some Win32 platform... no checking whether build environment is sane... yes checking for strerror in -lcposix... no checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /opt/local/bin/pkg-config checking for glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0... yes checking BASE_DEPENDENCIES_CFLAGS... -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ include -I/opt/local/include/atk-1.0 -I/opt/local/include/pango-1.0 checking BASE_DEPENDENCIES_LIBS... -L/opt/local/lib -latk-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule -2.0 -lglib-2.0 -lintl -liconv checking Whether to write dependencies into .pc files... no checking for perl5... no checking for perl... /usr/bin/perl checking for indent... indent checking for lstat... yes checking for mkstemp... yes checking for flockfile... yes checking for sigsetjmp... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /opt/local/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext checking for catalogs to be installed... af am ar az be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu ia id is it ja ko li lt lv mi mk ml mn mr ms nb ne nl nn no pa pl pt pt_BR ro ru sk sl sq sr sr@ije sr@Latn sv ta th tk tr uk uz uz@Latn vi wa yi zh_CN zh_TW checking for extra flags to get ANSI library prototypes... none needed checking for the BeOS... no checking for extra flags for POSIX compliance... none needed checking for pkg-config... (cached) /opt/local/bin/pkg-config checking for GLIB - version >= 2.4.0... yes (version 2.4.5) checking for bind_textdomain_codeset... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for getresuid... no checking for uid_t in sys/types.h... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... yes checking if iswalnum() and friends are properly defined... yes 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 freetype-config... /opt/local/bin/freetype-config checking For sufficiently new FreeType (at least 2.0.1)... yes configure: error: Pango 1.2.0 and Xft backend is required for x11 target Error: Target com.apple.configure returned: configure failure: shell command "cd "/Users/dhiser/ darwinports/dports/x11/gtk2/work/gtk+-2.4.9" && LDFLAGS="-L/opt/local/lib" 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 an ANSI C-conforming const... yes checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for getresuid... no checking for uid_t in sys/types.h... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... yes checking if iswalnum() and friends are properly defined... yes 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 freetype-config... /opt/local/bin/freetype-config checking For sufficiently new FreeType (at least 2.0.1)... yes configure: error: Pango 1.2.0 and Xft backend is required for x11 target
Warning: the following items did not execute (for gtk2): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.install
Change History (8)
comment:1 Changed 20 years ago by Mail@…
comment:2 Changed 20 years ago by olegb@…
Owner: | changed from darwinports-bugs@… to mij@… |
---|
assigning to maintainer
comment:3 Changed 20 years ago by yves@…
I'm having a similar problem but not a similar solution
gtk+2.6.0 / pango 1.8.0
I have pango.pc, pangox.pc and pangoft2.pc in my pkgcnfig directory but gtk2 searches for pangoxft.pc and does not succeed. updating the PKG_CONFIG_PATH does not help
I'm not sure which way is the best to fix that
comment:4 Changed 20 years ago by snu@…
Summary: | gtk2 installer fails during configure while detecting Pango 1.2.0 → BUG: gtk2 installer fails during configure while detecting Pango 1.2.0 |
---|
Please use summary prefix.
comment:5 Changed 19 years ago by yves@…
I ran across this problem again (pango 1.8.1). Before rebuilding pango, I also installed python24 (and did nothing else) and when I rebuilt pango, xft backend was built. ????
comment:6 Changed 19 years ago by jiggywiggy@…
Cc: | jiggywiggy@… added |
---|
comment:7 Changed 19 years ago by olegb@…
Cc: | olegb@… added |
---|
is this still a problem ? this is a pretty old report. I will close it if is no respons.
comment:8 Changed 19 years ago by mij@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
No response for a month, so I'm closing this.
I think I got this one figured out. The solution was to set the following environmental variable:
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/local/lib/ pkgconfig
It looks like it was only looking for packages in /opt/local/lib/pkgconfig and was missing Xft and others that were installed in other places. By modifying PKG_CONFIG_PATH, and recompiling Pango, it then installed pangoxft as well. Before it was installing all of the options for Pango.
If you ask me (and I am no expert) it looks like darwinports should set this environmental variable with a better default. The configure was making some assumptions on what was installed based on the fact that I was running Darwin, but because this varaible was not set correctly, configure was missing packages.
Regards, Doug