update on gnuplot
update on gnuplot
- Subject: update on gnuplot
- From: Markian Hlynka <email@hidden>
- Date: Wed, 19 Feb 2003 14:07:17 -0700
I've managed to get gnuplot to compile But, it doesn't recognize X11!
gah!
OK, so, amidst much complaining from the compiler, I got a build. For
example:
---------------
ld: warning dynamic shared library:
/System/Library/Frameworks/AppKit.framework/AppKit not made a weak
library in output with MACOSX_DEPLOYMENT_TARGET environment variable
set to: 10.1
wd=`pwd` && cd ./demo && $wd/bf_test
and
gcc -DHAVE_CONFIG_H -I.. -I.. -I../term -I. -g -O2 -ObjC -c doc2info.c
gcc: -ObjC: linker input file unused because linking not done
---------------
I find the part where it says that the environment is set to 10.1
especially disturbing. Anway, I accomplished what compile I have by
commenting out the lines in term.h that refer to openstep. I'm not sure
if they did that correctly:
/* Apple MacOs X Server (Openstep Unix) */
// #if defined(__APPLE__) && defined(__MACH__)
// # include "openstep.trm"
// #endif
It seems to me that this would detect _any OS X installation, and I
don't know that this would work for something that's _not OS X server,
thus I removed it.
Anyway, despite getting it to compile, like I said, it does not accept
x11 as a terminal:
-------------------------------
Terminal type set to 'unknown'
gnuplot> set terminal x11
^
unknown or ambiguous terminal type; type just 'set terminal'
for a list
gnuplot> set terminal dumb
Terminal type set to 'dumb'
Options are 'feed 79 24'
gnuplot> plot sin(x)
1
++----------------**---------------+----**-----------+--------**-----++
+ *+ * + * * + sin(x)
****** +
0.8 ++ * * * * *
* ++
| * * * * *
* |
0.6 ++ * * * * *
* ++
* * * * * *
* |
0.4 +* * * * * *
* ++
|* * * * * *
* |
0.2 +* * * * * *
* ++
| * * * * * *
* |
0 ++* * * * * *
*++
| * * * * * *
*|
-0.2 ++ * * * * * *
*+
| * * * * * *
*|
-0.4 ++ * * * * * *
*+
| * * * * * *
*
-0.6 ++ * * * * * *
++
| * * * * * *
|
-0.8 ++ * * * * * *
++
+ * * + * * + * *
+
-1
++-----**---------+----------**----+---------------**+---------------++
-10 -5 0 5
10
-------------------------------
Finally, I'm not sure that it's relevant, but I have not yet done step
3, "make install". I don't see why that would make any difference.
Any help is appreciated,
Markian
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.