Opened 16 years ago

Closed 16 years ago

#143 closed defect (wontfix)

Gnuplot build fails on sage-

Reported by: Justin Walker Owned by: William Stein
Priority: major Milestone:
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Missing header file:

gnuplot-4.0.0: blew chunks here:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term -I../term \

-DBINDIR=\"/SandBox/Justin?/sb/sage-1.4/local/bin\" \ -DX11_DRIVER_DIR=\"/SandBox/Justin?/sb/sage-1.4/local/libexec/gnuplot/4.0\" \ -DCONTACT=\"gnuplot-bugs@…\" \ -DHELPFILE=\"/SandBox/Justin?/sb/sage-1.4/local/share/gnuplot/4.0/gnuplot.gih\" \ -I/SandBox/Justin/sb/sage-1.4/local/include -g -O2 -ObjC -MT gplt_x11.o -MD -MP \ -MF ".deps/gplt_x11.Tpo" \

-c -o gplt_x11.o test -f 'gplt_x11.c' || echo './'gplt_x11.c; \

then mv ".deps/gplt_x11.Tpo" ".deps/gplt_x11.Po"; \ else rm -f ".deps/gplt_x11.Tpo"; exit 1; \ fi gplt_x11.c:519: error: 'Class' redeclared as different kind of symbol <built-in>:0: error: previous declaration of 'Class' was here make[3]: * [gplt_x11.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Error building gnuplot

Attachments (1)

Gnuplot.errlog (56.0 KB) - added by Justin Walker 16 years ago.
Build log for gnuplot

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by Justin Walker

Attachment: Gnuplot.errlog added

Build log for gnuplot

comment:1 Changed 16 years ago by Justin Walker

The problem is that, on Mac OS X, gnuplot builds with the flag "-ObjC" (enable Objective C support). This has to do with support for something called AquaTerm?, which it (gnuplot) can use as a display vehicle.

The flag should only be used for the code that actually uses Objective C, but instead it is used for all code; 'Class' is a reserved word for Objective C, and a variable name in the gnuplot code. Hence...

We need an 'autoconfig' guy!

comment:2 Changed 16 years ago by William Stein

Resolution: wontfix
Status: newclosed

Since gnuplot is not integrated in any way with SAGE, and won't be a longterm part of SAGE, people should get it some other way (e.g., fink or Darwinports, etc.). Therefore I've removed SAGE's optional gnuplot package.

Note: See TracTickets for help on using tickets.