ports/160685: graphics/gimp-app included gnome-libtool fails to locate liblzma.la

Root User leftfoot at siu.edu
Fri Sep 30 20:10:11 UTC 2011


The following reply was made to PR ports/160685; it has been noted by GNATS.

From: Root User <leftfoot at siu.edu>
To: bug-followup at FreeBSD.org, leftfoot at siu.edu
Cc:  
Subject: Re: ports/160685: graphics/gimp-app included gnome-libtool fails
 to locate liblzma.la
Date: Fri, 30 Sep 2011 15:01:46 -0500

 Recent change to Makefile corrected libtool problem but now another problem
 has occured with lib tiff: it appears that "/usr/local/lib"
 ($L{LOCALBASE}/lib) is not being sucessfully passed to the configure script.
 
 = = = = = = = = = = = = = = = = = =
 
 make
 ...
 tail -40 make.output
 
 checking sys/ipc.h presence... yes
 checking for sys/ipc.h... yes
 checking sys/shm.h usability... yes
 checking sys/shm.h presence... yes
 checking for sys/shm.h... yes
 checking whether shmctl IPC_RMID allowes subsequent attaches... no
 checking for shared memory transport type... sysv
 checking whether symbols are prefixed... no
 checking fd_set and sys/select... yes
 checking for XmuClientWindow in -lXmu... yes
 checking for X11/Xmu/WinUtil.h... yes
 checking for XShapeGetRectangles in -lXext... yes
 checking for X11/extensions/shape.h... yes
 checking for XFIXES... yes
 checking for TIFFReadScanline in -ltiff... no
 checking for TIFFWriteScanline in -ltiff... no
 checking for TIFFFlushData in -ltiff34... no
 configure: error:
 *** Checks for TIFF libary failed. You can build without it by passing
 *** --without-libtiff to configure but you won't be able to use TIFFs then.
 ===>  Script "configure" failed unexpectedly.
 Please run the gnomelogalyzer, available from
 "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
 problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
 solve the problem, report the build failure to the FreeBSD GNOME team at
 gnome at FreeBSD.org, and attach (a)
 "/usr/ports/graphics/gimp-app/work/gimp-2.6.11/config.log", (b) the output
 of the failed make command, and (c) the gnomelogalyzer output. Also, it might
 be a good idea to provide an overview of all packages installed on your system
 (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
 copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
 the attachment. Try to avoid sending any attachments to the mailing list
 (gnome at FreeBSD.org), because attachments sent to FreeBSD mailing lists are
 usually discarded by the mailing list software.
 *** Error code 1*** Checks for TIFF libary failed. You can build without it by
 passing
 *** --without-libtiff to configure but you won't be able to use TIFFs then.
 
 Stop in /usr/ports/graphics/gimp-app.
 *** Error code 1
 
 Stop in /usr/ports/graphics/gimp-app.
 
 checking sys/ipc.h presence... yes
 checking for sys/ipc.h... yes
 checking sys/shm.h usability... yes
 checking sys/shm.h presence... yes
 checking for sys/shm.h... yes
 checking whether shmctl IPC_RMID allowes subsequent attaches... no
 checking for shared memory transport type... sysv
 checking whether symbols are prefixed... no
 checking fd_set and sys/select... yes
 checking for XmuClientWindow in -lXmu... yes
 checking for X11/Xmu/WinUtil.h... yes
 checking for XShapeGetRectangles in -lXext... yes
 checking for X11/extensions/shape.h... yes
 checking for XFIXES... yes
 checking for TIFFReadScanline in -ltiff... no
 checking for TIFFWriteScanline in -ltiff... no
 checking for TIFFFlushData in -ltiff34... no
 configure: error:
 *** Checks for TIFF libary failed. You can build without it by passing
 *** --without-libtiff to configure but you won't be able to use TIFFs then.
 ===>  Script "configure" failed unexpectedly.
 Please run the gnomelogalyzer, available from
 "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
 problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
 solve the problem, report the build failure to the FreeBSD GNOME team at
 gnome at FreeBSD.org, and attach (a)
 "/usr/ports/graphics/gimp-app/work/gimp-2.6.11/config.log", (b) the output
 of the failed make command, and (c) the gnomelogalyzer output. Also, it might
 be a good idea to provide an overview of all packages installed on your system
 (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
 copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
 the attachment. Try to avoid sending any attachments to the mailing list
 (gnome at FreeBSD.org), because attachments sent to FreeBSD mailing lists are
 usually discarded by the mailing list software.
 *** Error code 1
 
 Stop in /usr/ports/graphics/gimp-app.
 *** Error code 1
 
 Stop in /usr/ports/graphics/gimp-app.
 
 = = = = = = = = = = = = = = = = = = =
 
 config.log
 
 configure:18022: checking for TIFFReadScanline in -ltiff
 configure:18047: cc -o conftest -O2 -pipe -fno-strict-aliasing -Wall
 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations
 -Winit-self -Wpointer-arith -Wold-style-definition -I/usr/local/include
 conftest.c -ltiff -lm  >&5
 conftest.c: In function 'main':
 conftest.c:66: warning: old-style function definition
 /usr/bin/ld: cannot find -ltiff
 configure:18047: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GIMP"
 | #define PACKAGE_TARNAME "gimp"
 | #define PACKAGE_VERSION "2.6.11"
 | #define PACKAGE_STRING "GIMP 2.6.11"
 ...
 configure:18056: result: no
 configure:18068: checking for TIFFWriteScanline in -ltiff
 configure:18093: cc -o conftest -O2 -pipe -fno-strict-aliasing -Wall
 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations
 -Winit-self -Wpointer-arith -Wold-style-definition -I/usr/local/include
 conftest.c -ltiff -ljpeg -lz -lm  >&5
 conftest.c: In function 'main':
 conftest.c:66: warning: old-style function definition
 /usr/bin/ld: cannot find -ltiff
 configure:18093: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GIMP"
 | #define PACKAGE_TARNAME "gimp"
 | #define PACKAGE_VERSION "2.6.11"
 | #define PACKAGE_STRING "GIMP 2.6.11"
 ...
 configure:18102: result: no
 configure:18114: checking for TIFFFlushData in -ltiff34
 configure:18139: cc -o conftest -O2 -pipe -fno-strict-aliasing -Wall
 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations
 -Winit-self -Wpointer-arith -Wold-style-definition -I/usr/local/include
 conftest.c -ltiff34 -ljpeg -lz -lm  >&5
 conftest.c: In function 'main':
 conftest.c:66: warning: old-style function definition
 /usr/bin/ld: cannot find -ltiff34
 configure:18139: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GIMP"
 | #define PACKAGE_TARNAME "gimp"
 | #define PACKAGE_VERSION "2.6.11"
 | #define PACKAGE_STRING "GIMP 2.6.11"
 ...
 configure:18148: result: no
 configure:18172: error:
 *** Checks for TIFF libary failed. You can build without it by passing
 *** --without-libtiff to configure but you won't be able to use TIFFs then.
 
 = = = = = = = = = = = = = = = = = = = = = = =
 
 ls -l /usr/local/lib/*tiff*
 -rw-r--r--  1 root  wheel  701426 Sep  6 16:24 /usr/local/lib/libtiff.a
 -rwxr-xr-x  1 root  wheel    1002 Sep  6 16:24 /usr/local/lib/libtiff.la
 lrwxr-xr-x  1 root  wheel      12 Sep  6 16:24 /usr/local/lib/libtiff.so ->
 libtiff.so.4
 -rwxr-xr-x  1 root  wheel  502343 Sep  6 16:24 /usr/local/lib/libtiff.so.4
 -rw-r--r--  1 root  wheel    9318 Sep  6 16:24 /usr/local/lib/libtiffxx.a
 -rwxr-xr-x  1 root  wheel    1038 Sep  6 16:24 /usr/local/lib/libtiffxx.la
 lrwxr-xr-x  1 root  wheel      14 Sep  6 16:24 /usr/local/lib/libtiffxx.so ->
 libtiffxx.so.4
 -rwxr-xr-x  1 root  wheel   14106 Sep  6 16:24 /usr/local/lib/libtiffxx.so.4
 
 
 pkg_info|grep tiff
 linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10)
 tiff-4.0.0_2        Tools and library routines for working with TIFF images
 
 = = = = = = = = = = = = = = = = = =
 -----------------------------------
 = = = = = = = = = = = = = = = = = =
 
 rm -rf
 setenv LDFLAGS "-L/usr/local/lib"
 make
 ...
 
 tail -20 make.output
 mv -f .deps/file-tga.Tpo .deps/file-tga.Po
 /bin/sh /usr/ports/graphics/gimp-app/work/gnome-libtool --tag=CC   --mode=link
 cc  -O2 -pipe -fno-strict-aliasing -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition  -L/usr/local/lib -o file-tga file-tga.o
 ../../libgimp/libgimpui-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la
 ../../libgimpmodule/libgimpmodule-2.0.la ../../libgimp/libgimp-2.0.la
 ../../libgimpmath/libgimpmath-2.0.la ../../libgimpconfig/libgimpconfig-2.0.la
 ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la
 -pthread -pthread -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
 -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes
 -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0
 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0    -lintl
 gnome-libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wall
 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations
 -Winit-self -Wpointer-arith -Wold-style-definition -o .libs/file-tga
 file-tga.o -pthread -pthread  -L/usr/local/lib
 ../../libgimp/.libs/libgimpui-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimp/.libs/libgimp-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimpwidgets/.libs/libgimpwidgets-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimpmodule/.libs/libgimpmodule-2.0.so
 ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so
 ../../libgimpmodule/.libs/libgimpmodule-2.0.so
 ../../libgimp/.libs/libgimp-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimpconfig/.libs/libgimpconfig-2.0.so
 ../../libgimpmath/.libs/libgimpmath-2.0.so
 ../../libgimpconfig/.libs/libgimpconfig-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimpbase/.libs/libgimpbase-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimpcolor/.libs/libgimpcolor-2.0.so
 /usr/ports/graphics/gimp-app/work/gimp-2.6.11/libgimpmath/.libs/libgimpmath-2.0.so
 ../../libgimpcolor/.libs/libgimpcolor-2.0.so
 ../../libgimpbase/.libs/libgimpbase-2.0.so /usr/local/lib/libgtk-x11-2.0.so
 /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so
 /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libXinerama.so
 /usr/local/lib/libXi.so /usr/local/lib/libXrandr.so /usr/local/lib/libXext.so
 /usr/local/lib/libXcursor.so /usr/local/lib/libXcomposite.so
 /usr/local/lib/libXdamage.so /usr/local/lib/libgdk_pixbuf-2.0.so
 /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libgio-2.0.so
 /usr/local/lib/libXfixes.so /usr/local/lib/libcairo.so
 /usr/local/lib/libpixman-1.so -lpng /usr/local/lib/libxcb-shm.so
 /usr/local/lib/libxcb-render.so /usr/local/lib/libXrender.so
 /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so
 /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc
 /usr/local/lib/libpango-1.0.so -lm /usr/local/lib/libfontconfig.so
 /usr/local/lib/libfreetype.so -lz -lbz2 /usr/local/lib/libexpat.so
 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so
 /usr/local/lib/libgthread-2.0.so /usr/local/lib/libglib-2.0.so
 /usr/local/lib/libpcre.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so
 -pthread -Wl,-rpath -Wl,/usr/local/lib
 cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_THREAD_SAFE -D_REENTRANT
 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0
 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include
 -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1
 -I/usr/local/include/freetype2   -I/usr/local/include  -I/usr/local/include
 -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O2 -pipe
 -fno-strict-aliasing -Wall -Wdeclaration-after-statement -Wmissing-prototypes
 -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -MT
 file-tiff-load.o -MD -MP -MF .deps/file-tiff-load.Tpo -c -o file-tiff-load.o
 file-tiff-load.c
 mv -f .deps/file-tiff-load.Tpo .deps/file-tiff-load.Po
 /bin/sh /usr/ports/graphics/gimp-app/work/gnome-libtool --tag=CC   --mode=link
 cc  -O2 -pipe -fno-strict-aliasing -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition  -L/usr/local/lib -o file-tiff-load file-tiff-load.o
 ../../libgimp/libgimpui-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la
 ../../libgimpmodule/libgimpmodule-2.0.la ../../libgimp/libgimp-2.0.la
 ../../libgimpmath/libgimpmath-2.0.la ../../libgimpconfig/libgimpconfig-2.0.la
 ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la
 -pthread -pthread -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
 -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes
 -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0
 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0   -ltiff  -lintl
 gnome-libtool: link: cannot find the library `/usr/local/lib/liblzma.la' or
 unhandled argument `/usr/local/lib/liblzma.la'
 gmake[3]: *** [file-tiff-load] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins/common'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/graphics/gimp-app.
 *** Error code 1
 
 Stop in /usr/ports/graphics/gimp-app.
 
 = = = = = = = = = = = = = = = = = =
 
 ls -l /usr/local/lib/*lzma* /usr/lib/*lzma*
 -r--r--r--  1 root  wheel  262610 Sep 16 11:00 /usr/lib/liblzma.a
 lrwxr-xr-x  1 root  wheel      12 Sep 16 11:00 /usr/lib/liblzma.so -> liblzma.so.5
 -r--r--r--  1 root  wheel  147544 Sep 16 11:00 /usr/lib/liblzma.so.5
 -r--r--r--  1 root  wheel  276048 Sep 16 11:00 /usr/lib/liblzma_p.a
 
 = = = = = = = = = = = = = = = = = =
 -----------------------------------
 = = = = = = = = = = = = = = = = = =
 
 rm -rf work
 setenv LDFLAGS "-L/usr/local/lib -L/usr/lib
 make
 ...
 
 Same errors relating to liblzma as above.
 


More information about the freebsd-gnome mailing list