Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#13833 closed defect (worksforme)

tiff 3.8.2 | Cannot Install

Reported by: neil.mcgillivray@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: tiff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm running:
10.4.11
Xcode 2.5
MacPorts 1.6

Optionally, Terminal, Port Authority, Porticus

I'd previously installed some ports that depend upon tiff, including netpbm, imagemagick, etc. I was unsuccessful in updating several ports, so uninstalled - to try a clean install.

Now cannot installmany based upon tiff 3.8.2 dependencies.

Terminal transcript;

Last login: Fri Jan  4 23:32:13 on ttyp1
Welcome to Darwin!
docmgr-server:~ neilmcgillivray$ port search tiff
libgeotiff                     graphics/libgeotiff 1.2.1        Library and tools for dealing with GeoTIFF
tiff                           graphics/tiff  3.8.2        Library and tools for dealing with Tag Image File Format
py-tiff                        python/py-tiff 0.1.4        pytiff provides tiff handling and advanced imaging for Python
docmgr-server:~ neilmcgillivray$ sudo port -v install tiff 3.8.2
Password:
--->  Building tiff with target all
Making all in port
make[1]: Nothing to be done for `all'.
Making all in libtiff
make  all-am
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I.   -I/opt/local/include -I/opt/local/include -I/opt/local/include  -O2 -Wall -W -MT tif_aux.lo -MD -MP -MF ".deps/tif_aux.Tpo" -c -o tif_aux.lo tif_aux.c; \
then mv -f ".deps/tif_aux.Tpo" ".deps/tif_aux.Plo"; else rm -f ".deps/tif_aux.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -W -MT tif_aux.lo -MD -MP -MF .deps/tif_aux.Tpo -c tif_aux.c  -fno-common -DPIC -o .libs/tif_aux.o
In file included from tif_aux.c:32:
tiffiop.h:36:20: error: fcntl.h: No such file or directory
tiffiop.h:40:24: error: sys/types.h: No such file or directory
tiffiop.h:44:21: error: string.h: No such file or directory
tiffiop.h:48:21: error: assert.h: No such file or directory
tiffiop.h:54:21: error: search.h: No such file or directory
In file included from tiffiop.h:60,
                 from tif_aux.c:32:
tiffio.h:248:19: error: stdio.h: No such file or directory
In file included from tiffiop.h:60,
                 from tif_aux.c:32:
tiffio.h:327: error: parse error before 'FILE'
tiffio.h:349: error: parse error before 'size_t'
tiffio.h:410: error: parse error before 'FILE'
In file included from tiffiop.h:61,
                 from tif_aux.c:32:
tif_dir.h:177: error: parse error before '*' token
tif_dir.h:178: error: parse error before '*' token
tif_dir.h:179: error: parse error before 'size_t'
tif_dir.h:180: error: parse error before 'FILE'
In file included from tif_aux.c:32:
tiffiop.h:181: error: parse error before 'size_t'
tiffiop.h:181: warning: no semicolon at end of struct or union
tiffiop.h:185: error: parse error before '}' token
tiffiop.h:267: error: parse error before '*' token
tiffiop.h:268: error: parse error before '*' token
tiffiop.h:275: error: parse error before 'size_t'
tif_aux.c:34:18: error: math.h: No such file or directory
tif_aux.c:37: error: parse error before 'size_t'
tif_aux.c: In function '_TIFFCheckMalloc':
tif_aux.c:40: error: 'nmemb' undeclared (first use in this function)
tif_aux.c:40: error: (Each undeclared identifier is reported only once
tif_aux.c:40: error: for each function it appears in.)
tif_aux.c:40: error: 'elem_size' undeclared (first use in this function)
tif_aux.c:49: error: 'tif' undeclared (first use in this function)
tif_aux.c:49: error: 'what' undeclared (first use in this function)
tif_aux.c: In function 'TIFFDefaultTransferFunction':
tif_aux.c:71: warning: implicit declaration of function 'floor'
tif_aux.c:71: warning: incompatible implicit declaration of built-in function 'floor'
tif_aux.c:71: warning: implicit declaration of function 'pow'
tif_aux.c:71: warning: incompatible implicit declaration of built-in function 'pow'
tif_aux.c: In function 'TIFFVGetFieldDefaulted':
tif_aux.c:106: error: dereferencing pointer to incomplete type
tif_aux.c:146: error: dereferencing pointer to incomplete type
tif_aux.c:210: error: dereferencing pointer to incomplete type
tif_aux.c:210: error: dereferencing pointer to incomplete type
make[2]: *** [tif_aux.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: 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" && make all " returned error 2
Command output: tif_dir.h:180: error: parse error before 'FILE'
In file included from tif_aux.c:32:
tiffiop.h:181: error: parse error before 'size_t'
tiffiop.h:181: warning: no semicolon at end of struct or union
tiffiop.h:185: error: parse error before '}' token
tiffiop.h:267: error: parse error before '*' token
tiffiop.h:268: error: parse error before '*' token
tiffiop.h:275: error: parse error before 'size_t'
tif_aux.c:34:18: error: math.h: No such file or directory
tif_aux.c:37: error: parse error before 'size_t'
tif_aux.c: In function '_TIFFCheckMalloc':
tif_aux.c:40: error: 'nmemb' undeclared (first use in this function)
tif_aux.c:40: error: (Each undeclared identifier is reported only once
tif_aux.c:40: error: for each function it appears in.)
tif_aux.c:40: error: 'elem_size' undeclared (first use in this function)
tif_aux.c:49: error: 'tif' undeclared (first use in this function)
tif_aux.c:49: error: 'what' undeclared (first use in this function)
tif_aux.c: In function 'TIFFDefaultTransferFunction':
tif_aux.c:71: warning: implicit declaration of function 'floor'
tif_aux.c:71: warning: incompatible implicit declaration of built-in function 'floor'
tif_aux.c:71: warning: implicit declaration of function 'pow'
tif_aux.c:71: warning: incompatible implicit declaration of built-in function 'pow'
tif_aux.c: In function 'TIFFVGetFieldDefaulted':
tif_aux.c:106: error: dereferencing pointer to incomplete type
tif_aux.c:146: error: dereferencing pointer to incomplete type
tif_aux.c:210: error: dereferencing pointer to incomplete type
tif_aux.c:210: error: dereferencing pointer to incomplete type
make[2]: *** [tif_aux.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Warning: the following items did not execute (for tiff): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
docmgr-server:~ neilmcgillivray$

Change History (5)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Port Bugs

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to waqar@…

Assigning to maintainer.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

fcntl.h should exist in /usr/include and /usr/include/sys. If it does not, try uninstalling Xcode 2.5 (using the uninstall-devtools script Apple provides in /Library/Developer/Shared), then install Xcode 2.5 again.

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: tiff added
Resolution: worksforme
Status: newclosed

Closing due to lack of response. Please re-open this ticket if this is still an issue for you.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.