Opened 15 years ago

Closed 14 years ago

#23964 closed defect (worksforme)

ghostscript-8.71 make error - compile error in libtiff

Reported by: someguy0815@… Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ghostscript

Description

sudo port install -d xmlto
--->  Computing dependencies for xmlto
--->  Building ghostscript
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.71" && /usr/bin/make so " returned error 2
Command output: tiff//libtiff/tif_jpeg.c:1811: error: 'JPEGState' has no member named 'subaddress'
tiff//libtiff/tif_jpeg.c:1814: error: 'JPEGState' has no member named 'recvtime'
tiff//libtiff/tif_jpeg.c:1816: error: 'JPEGState' has no member named 'faxdcs'
tiff//libtiff/tif_jpeg.c: In function 'JPEGDefaultStripSize':
tiff//libtiff/tif_jpeg.c:1825: error: 'JPEGState' has no member named 'defsparent'
tiff//libtiff/tif_jpeg.c:1827: error: 'DCTSIZE' undeclared (first use in this function)
tiff//libtiff/tif_jpeg.c: In function 'JPEGDefaultTileSize':
tiff//libtiff/tif_jpeg.c:1837: error: 'JPEGState' has no member named 'deftparent'
tiff//libtiff/tif_jpeg.c:1838: error: 'DCTSIZE' undeclared (first use in this function)
tiff//libtiff/tif_jpeg.c: In function 'TIFFInitJPEG':
tiff//libtiff/tif_jpeg.c:1965: error: 'JPEGState' has no member named 'vgetparent'
tiff//libtiff/tif_jpeg.c:1967: error: 'JPEGState' has no member named 'vsetparent'
tiff//libtiff/tif_jpeg.c:1969: error: 'JPEGState' has no member named 'printdir'
tiff//libtiff/tif_jpeg.c:1973: error: 'JPEGState' has no member named 'jpegtables'
tiff//libtiff/tif_jpeg.c:1974: error: 'JPEGState' has no member named 'jpegtables_length'
tiff//libtiff/tif_jpeg.c:1975: error: 'JPEGState' has no member named 'jpegquality'
tiff//libtiff/tif_jpeg.c:1976: error: 'JPEGState' has no member named 'jpegcolormode'
tiff//libtiff/tif_jpeg.c:1977: error: 'JPEGState' has no member named 'jpegtablesmode'
tiff//libtiff/tif_jpeg.c:1979: error: 'JPEGState' has no member named 'recvparams'
tiff//libtiff/tif_jpeg.c:1980: error: 'JPEGState' has no member named 'subaddress'
tiff//libtiff/tif_jpeg.c:1981: error: 'JPEGState' has no member named 'faxdcs'
tiff//libtiff/tif_jpeg.c:1983: error: 'JPEGState' has no member named 'ycbcrsampling_fetched'
tiff//libtiff/tif_jpeg.c:2000: error: 'JPEGState' has no member named 'defsparent'
tiff//libtiff/tif_jpeg.c:2002: error: 'JPEGState' has no member named 'deftparent'
tiff//libtiff/tif_jpeg.c:2018: error: 'JPEGState' has no member named 'jpegtables_length'
tiff//libtiff/tif_jpeg.c:2019: error: 'JPEGState' has no member named 'jpegtables'
tiff//libtiff/tif_jpeg.c:2019: error: 'JPEGState' has no member named 'jpegtables_length'
tiff//libtiff/tif_jpeg.c:2020: error: 'JPEGState' has no member named 'jpegtables'
make[1]: *** [obj/../soobj/tif_jpeg.o] Error 1
make: *** [so] Error 2

My OS version: Snow Leopard 10.6.2

uname -a
Darwin host.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

Attachments (1)

buildlog_xmlto_takanori.txt (26.3 KB) - added by takanori@… 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to takanori@…
Port: ghostscript added

Changed 15 years ago by takanori@…

Attachment: buildlog_xmlto_takanori.txt added

comment:2 Changed 15 years ago by takanori@…

It works here. (see: buildlog_xmlto_takanori.txt)

I guess your port:tiff or something might be broken.

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

Cc: ryandesign@… added

Please clean ghostscript and try again with the debug switch:

sudo port clean ghostscript
sudo port -d install ghostscript build.jobs=1 2>&1 | tee ~/Desktop/ghostscript.txt
bzip2 ~/Desktop/ghostscript.txt

Then attach ghostscript.txt.bz2 from your desktop so we can see what really went wrong.

comment:4 Changed 15 years ago by someguy0815@…

I can't reproduce this anymore, it works fine now. I manually compiled and installed all the things I needed, maybe that did it for some reason.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Manually -- meaning without using MacPorts, or how?

comment:6 Changed 15 years ago by someguy0815@…

Yes, via make / make install.

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.