pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31444: tiff-3.7.3 fails to compile on Tru64



>Number:         31444
>Category:       pkg
>Synopsis:       tiff-3.7.3 fails to compile on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 02 07:46:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
>Organization:
>Environment:
# uname -a
OSF1 obelix V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005
>Description:
tiff-3.7.3 from pkgsrc-current fails to build on Tru64 because of the
following error:

creating libtiff.la
(cd .libs && rm -f libtiff.la && ln -s ../libtiff.la libtiff.la)
source='tif_stream.cxx' object='tif_stream.lo' libtool=yes  DEPDIR=.deps 
depmode=tru64 /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile 
cxx -DHAVE_CONFIG_H  -I. -I. -I. -I.   -I/usr/pkg/include   -O2 -ieee 
-I/usr/pkg/include -ieee -c -o tif_stream.lo tif_stream.cxx
 cxx -DHAVE_CONFIG_H -I. 
-I/home/admin/pkgsrc/work/graphics/tiff/work/.buildlink/include -O2 -ieee -ieee 
-c -MD tif_stream.cxx  -DPIC -o .libs/tif_stream.o
cxx: Error: tif_stream.cxx, line 112: class "ios" has no member "iostate"
                ios::iostate    old_state;
---------------------^
cxx: Info: 1 error detected in the compilation of "tif_stream.cxx".
*** Error code 1

Stop.

>How-To-Repeat:
./bootstrap on Tru64
cd /usr/pkgsrc/graphics/tiff
bmake

>Fix:
Please refer to section 7.1.2 of this manual:
http://h30097.www3.hp.com/cplus/ugu_stl.html#stl_compat_ios_sec

When I defined __USE_STD_IOSTREAM, tif_stream.cxx compiled seamlessly.




Home | Main Index | Thread Index | Old Index