[MacPorts] #21245: tiff: Zlib library not found at /opt/local/lib (was: ImageMagick 6.5.5-7_0 build failed under Mac OS X 10.6)

MacPorts noreply at macports.org
Wed Sep 9 21:40:07 PDT 2009


#21245: tiff: Zlib library not found at /opt/local/lib
--------------------------------------+-------------------------------------
 Reporter:  james.applemac@…          |       Owner:  ryandesign@…           
     Type:  defect                    |      Status:  new                    
 Priority:  Normal                    |   Milestone:                         
Component:  ports                     |     Version:  1.8.0                  
 Keywords:                            |        Port:  tiff                   
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

 * cc: waqar@… (added)
  * port:  ImageMagick => tiff


Old description:

> OS: Mac OS X 10.6
> xcode:3.2
> MacPorts:1.8.0_1
>
> Following are the error messages:
> =====================
> {{{
> port -uR upgrade ImageMagick +rsvg +gs +wmf +q32 +lqr +mpeg +lcms +jpeg2
> +jbig +hdri +graphviz +perl
> Port command started with PID 25754
> Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even
> though installed variants "" do not match "+darwin_10". Use 'upgrade
> --enforce-variants' to switch to the requested variants.
> Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even
> though installed variants "" do not match "+darwin_10". Use 'upgrade
> --enforce-variants' to switch to the requested variants.
> --->  Computing dependencies for tiff
> --->  Fetching tiff
> --->  Verifying checksum(s) for tiff
> --->  Extracting tiff
> --->  Applying patches to tiff
> --->  Configuring tiff
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.1"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
> docdir=/opt/local/share/doc/tiff-3.9.1 --with-jpeg-include-
> dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-zlib-
> include-dir=/opt/local/include --with-zlib-lib-dir=/opt/local/lib --with-
> apple-opengl-framework " returned error 1
> Command output: checking for int8... no
> checking for int16... no
> checking for int32... no
> checking size of signed long... 8
> checking size of unsigned long... 8
> checking size of signed long long... 8
> checking size of unsigned long long... 8
> checking for signed 64-bit type... signed long
> checking for unsigned 64-bit type... unsigned long
> checking for floor... yes
> checking for isascii... yes
> checking for memmove... yes
> checking for memset... yes
> checking for mmap... yes
> checking for pow... yes
> checking for setmode... yes
> checking for sqrt... yes
> checking for strchr... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for getopt... yes
> checking for strcasecmp... yes
> checking for strtoul... yes
> checking for lfind... yes
> checking native cpu bit order... lsb2msb
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for inflateEnd in -lz... no
> configure: error: Zlib library not found at /opt/local/lib
> Error: Unable to upgrade port: 1
> --->  Executing: /opt/local/bin/port -uR upgrade ImageMagick +rsvg +gs
> +wmf +q32 +lqr +mpeg +lcms +jpeg2 +jbig +hdri +graphviz +perl
>  }}}

New description:

 OS: Mac OS X 10.6 [[BR]]
 xcode:3.2 [[BR]]
 MacPorts:1.8.0_1

 Following are the error messages: [[BR]]
 =====================
 {{{
 port -uR upgrade ImageMagick +rsvg +gs +wmf +q32 +lqr +mpeg +lcms +jpeg2
 +jbig +hdri +graphviz +perl
 Port command started with PID 25754
 Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even
 though installed variants "" do not match "+darwin_10". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even
 though installed variants "" do not match "+darwin_10". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 --->  Computing dependencies for tiff
 --->  Fetching tiff
 --->  Verifying checksum(s) for tiff
 --->  Extracting tiff
 --->  Applying patches to tiff
 --->  Configuring tiff
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.1"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
 docdir=/opt/local/share/doc/tiff-3.9.1 --with-jpeg-include-
 dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-zlib-
 include-dir=/opt/local/include --with-zlib-lib-dir=/opt/local/lib --with-
 apple-opengl-framework " returned error 1
 Command output: checking for int8... no
 checking for int16... no
 checking for int32... no
 checking size of signed long... 8
 checking size of unsigned long... 8
 checking size of signed long long... 8
 checking size of unsigned long long... 8
 checking for signed 64-bit type... signed long
 checking for unsigned 64-bit type... unsigned long
 checking for floor... yes
 checking for isascii... yes
 checking for memmove... yes
 checking for memset... yes
 checking for mmap... yes
 checking for pow... yes
 checking for setmode... yes
 checking for sqrt... yes
 checking for strchr... yes
 checking for strrchr... yes
 checking for strstr... yes
 checking for strtol... yes
 checking for getopt... yes
 checking for strcasecmp... yes
 checking for strtoul... yes
 checking for lfind... yes
 checking native cpu bit order... lsb2msb
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 checking for inflateEnd in -lz... no
 configure: error: Zlib library not found at /opt/local/lib
 Error: Unable to upgrade port: 1
 --->  Executing: /opt/local/bin/port -uR upgrade ImageMagick +rsvg +gs
 +wmf +q32 +lqr +mpeg +lcms +jpeg2 +jbig +hdri +graphviz +perl
 }}}

--

Comment:

 It works fine for me on Snow Leopard. Did you upgrade from Leopard? If so,
 did you follow the [wiki:Migration Migration] page and rebuild all your
 ports?

-- 
Ticket URL: <http://trac.macports.org/ticket/21245#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list