#16239: tiff-3.8.2 configures dependent jpeg incorrectly -----------------------------+---------------------------------------------- Reporter: cbedgar@mac.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: tiff jpeg lib | -----------------------------+---------------------------------------------- On a clean install of MacPorts 1.6, in Mac OS 10.5.4, tiff fails to build correctly because it does not configure jpeg to build its libraries. Log follows: {{{ cedgar-mbp:bin cedgar$ sudo port installed jpeg The following ports are currently installed: jpeg @6b_0 (active) cedgar-mbp:bin cedgar$ sudo port install 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.8.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with- docdir=/opt/local/share/doc/tiff-3.8.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 Command output: checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int8... no checking for int16... no checking for int32... no 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 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 _LARGE_FILES value needed for large files... no checking for inflateEnd in -lz... yes checking zlib.h usability... yes 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 Error: Status 1 encountered during processing. }}} To build jpeg with libraries, the following commands are needed {{{ sudo ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-apple-opengl-framework --enable-shared --enable-static sudo make sudo make install }}} Notice the --enable-shared and --enable-static. Without at least one of these options, no library will be created. -- Ticket URL: <http://trac.macports.org/ticket/16239> MacPorts <http://www.macports.org/> Ports system for Mac OS