Operating System - HP-UX
1834137 Members
2241 Online
110064 Solutions
New Discussion

gnuplot and 11i - what's up!?

 
SOLVED
Go to solution
Tom Jackson
Valued Contributor

gnuplot and 11i - what's up!?

Hi:

I have a J6000 running HPUX 11i and I'm trying to install gnuplot and its dependancies. I went to the catalog of HP-UX software. I tried installing the 3.7.1 binary for HPUX 11.0. It created a directory structure with some files in it, but I couldn't get gnuplot to launch. I also tried the 3.7.1 source code tar and it wouldn't compile with cc or gcc. I keep getting the following error:

hidden3d.c: In function `intersect_polygon':
hidden3d.c:1714: `m' undeclared (first use in this function)
hidden3d.c:1714: (Each undeclared identifier is reported only once
hidden3d.c:1714: for each function it appears in.)
hidden3d.c:1714: parse error before numeric constant
hidden3d.c:1714: parse error before numeric constant
hidden3d.c:1719: parse error before numeric constant
hidden3d.c:1719: parse error before numeric constant
hidden3d.c:1731: parse error before numeric constant
hidden3d.c:1731: parse error before numeric constant
*** Error exit code 1

Stop.

Then I downloaded ftp://ftp.ucc.ie/pub/gnuplot/gnuplot-3.7.2.tar.gz and tried to compile it and got the same error as above.

My gcc64 version is 3.0.2.

Thanks for taking a look,

Tom
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: gnuplot and 11i - what's up!?

harry d brown jr
Honored Contributor
Solution

Re: gnuplot and 11i - what's up!?


Tom,

I just installed zlib, libpng, and gnuplot, and had some issues:

(1) I had to copy the /usr/local/lib/libz* to /opt/zlib/lib

(2) I had to create /opt/libpng, then /opt/libpng/lib, then copy /usr/local/lib/libpng* /opt/libpng/lib

then it worked!

live free or die
harry
Live Free or Die
Tom Jackson
Valued Contributor

Re: gnuplot and 11i - what's up!?

Harry:

Thanks for the pointers. Which download should I install? I was thinking the 11.0 binary from the HP-UX catalog.

Tom
harry d brown jr
Honored Contributor

Re: gnuplot and 11i - what's up!?

I downloaded the 11.00 depot from

http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/gnuplot-3.7.1/

live free or die
harry
Live Free or Die
Tom Jackson
Valued Contributor

Re: gnuplot and 11i - what's up!?

Harry:

I installed libpng, zlib and gnuplot from the HP software catalog as you recommended, and verified the lib files are in /opt/zlib/lib and /opt/libpng/lib and still no-workie.

I enter /opt/gnuplot/bin/X11/gnuplot and get the following error:

/usr/lib/dld.sl: Bad magic number for shared library: /opt/zlib/lib/libz.sl
/usr/lib/dld.sl: Exec format error
Abort(coredump)

I also tried re-installing zlib.

Any ideas??

Tom
Tom Jackson
Valued Contributor

Re: gnuplot and 11i - what's up!?

Harry:

Thanks for your help. You are a real time saver. I was trying to run the 11.20 version of zlib and libpng, along with the wrong gnuplot version. Sticking with 11.0 and moving the lib files under /opt did the trick.

Tom