[MacPorts] #22606: Tiff fails to build - cant find jpeg library

MacPorts noreply at macports.org
Thu Nov 19 03:31:58 PST 2009


#22606: Tiff fails to build - cant find jpeg library
------------------------------+---------------------------------------------
 Reporter:  skl99999@…        |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.1                                
 Keywords:                    |        Port:  tiff                                 
------------------------------+---------------------------------------------
 Hi,

 hope I am doing this correctly. Did search for tiff related tickets, didnt
 find any. Google the err msg, and only sth very old came up

 just ran
 {{{
 sudo port selfupdate
 sudo port upgrade tiff
 }}}

 Here the key output:
 {{{
 --->  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.2"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
 docdir=/opt/local/share/doc/tiff-3.9.2 --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
 ...
 checking zlib.h presence... yes
 checking for zlib.h... yes
 checking for jpeg_read_scanlines in -ljpeg... no
 configure: error: IJG JPEG library not found at /opt/local/lib
 }}}

 port contents jpeg gives
 {{{
 ...
   /opt/local/lib/libjpeg.62.0.0.dylib
   /opt/local/lib/libjpeg.62.dylib
   /opt/local/lib/libjpeg.a
   /opt/local/lib/libjpeg.dylib
   /opt/local/lib/libjpeg.la
 ...
 }}}

 This is the contents of /opt/local/lib
 {{{
 -rwxr-xr-x   2 root  admin  -  136K Nov 30  2008 libjpeg.62.0.0.dylib*
 lrwxr-xr-x   1 root  admin  -   20B Nov 30  2008 libjpeg.62.dylib@ ->
 libjpeg.62.0.0.dylib
 -rw-r--r--   2 root  admin  -  157K Nov 30  2008 libjpeg.a
 lrwxr-xr-x   1 root  admin  -   20B Nov 30  2008 libjpeg.dylib@ ->
 libjpeg.62.0.0.dylib
 -rwxr-xr-x   2 root  admin  -  654B Nov 30  2008 libjpeg.la*
 }}}

 port installed gives
 {{{
   jpeg @6b_3 (active)
 }}}

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


More information about the macports-tickets mailing list