Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#3459 closed defect (fixed)

BUG: plotutils fails to build on Tiger

Reported by: benwill@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

GNU plotutils fails to build on Tiger.


[ben@assam-tol ben] $ port info plotutils plotutils 2.4.1, graphics/plotutils (Variants: x11, darwin) http://www.gnu.org/software/plotutils/


[ben@assam-tol ben] $ sudo port install plotutils ...building/installing dependencies, building plotutils... Making all in libplotter /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -O2 -c g_write.cc rm -f .libs/g_write.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -O2 -c g_write.cc -fno-common -DPIC -o .libs/g_write.lo In file included from /usr/include/gcc/darwin/4.0/c++/backward/iostream.h:31,

from ./../include/plotter.h:61, from extern.h:44, from g_write.cc:5:

/usr/include/gcc/darwin/4.0/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. g_write.cc: In function `void _write_bytes(const plPlotterData*, int, const unsigned char*)': g_write.cc:43: error: invalid conversion from 'const unsigned char*' to 'const char*' g_write.cc:43: error: initializing argument 1 of 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*, std::streamsize) [with _CharT = char, _Traits = std::char_traits<char>]' make[2]: * [g_write.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Change History (4)

comment:1 Changed 19 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to blb@…
Summary: ploutils fails to build on TigerBUG: plotutils fails to build on Tiger

comment:2 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

Building with gcc4 has now been fixed. Thanks for the report.

comment:3 Changed 19 years ago by benwill@…

Cool... but how can I get hold of the updated portfile/patch?

(In reply to comment #1)

Building with gcc4 has now been fixed. Thanks for the report.

comment:4 Changed 19 years ago by benwill@…

d'oh. got it with port update. i thought there was a secret place for unreleased file.

(In reply to comment #2)

Cool... but how can I get hold of the updated portfile/patch?

(In reply to comment #1)

Building with gcc4 has now been fixed. Thanks for the report.

Note: See TracTickets for help on using tickets.