Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gnuplot build fails on sage-1.4.1.2 #143

Closed
RalphieBoy mannequin opened this issue Oct 21, 2006 · 3 comments
Closed

Gnuplot build fails on sage-1.4.1.2 #143

RalphieBoy mannequin opened this issue Oct 21, 2006 · 3 comments

Comments

@RalphieBoy
Copy link
Mannequin

RalphieBoy mannequin commented Oct 21, 2006

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@lists.sourceforge.net"
-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
: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

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/143

@RalphieBoy
Copy link
Mannequin Author

RalphieBoy mannequin commented Oct 21, 2006

Attachment: Gnuplot.errlog.gz

Build log for gnuplot

@RalphieBoy
Copy link
Mannequin Author

RalphieBoy mannequin commented Oct 22, 2006

comment:1

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!

@williamstein
Copy link
Contributor

comment:2

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant