Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16239 closed defect (invalid)

tiff-3.8.2 configures dependent jpeg incorrectly

Reported by: cbedgar@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: tiff jpeg lib Cc: waqar@…, nchaimov@…
Port:

Description

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.

Change History (7)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Your jpeg is 3 years out of date; I suggest you upgrade it.

comment:2 Changed 16 years ago by cbedgar@…

Interesting. The jpeg was installed as part of a sudo port install tiff command. Also it is the most recent version available on macports:

cedgar-mbp:~ cedgar$ port info jpeg
jpeg 6b, Revision 2, graphics/jpeg (Variants: universal)
http://www.ijg.org/

This distribution contains the sixth public release of the Independent JPEG Group's free JPEG software. You are welcome to redistribute this software and to use it for any purpose, subject to the conditions under LEGAL ISSUES, below. Serious users of this software (particularly those incorporating it into larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to our electronic mailing list. Mailing list members are notified of updates and have a chance to participate in technical discussions, etc.

Platforms: darwin freebsd sunos
Maintainers: waqar@macports.org

In any case, waqar@… is the maintainer for both, so it seems like he is the one to fix, right.

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Your port installed output shows jpeg @6b_0, while the latest is 6b_2 as shown by port info.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by nchaimov@…

Cc: nchaimov@… added

Cc Me!

comment:6 Changed 15 years ago by nchaimov@…

Cc: nchaimov@… removed

Cc Me!

comment:7 Changed 15 years ago by nchaimov@…

Cc: nchaimov@… added

Cc Me!

Note: See TracTickets for help on using tickets.