System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Help in setting/configure up gnuplot

 
SOLVED
Go to solution
Super Advisor

Help in setting/configure up gnuplot

Hi all!

I am running hp-ux 11.31, so I have download and installed the following products:
gnuplot 4.4.0
zlib-1.2.5
flex 2.5.35
gettext 0.18.1.1
m4 1.4.15

Then after swinstall gnuplot.... depot it created the following directories:
/usr/local/bin/gnuplot
/usr/local/lib/gnuplot
/usr/local/doc/gnuplot
/usr/local/share/gnuplot
/usr/local/libexec/gnuplot
/var/adm/sw/products/gnuplot

Now if I go inside "/usr/local/bin/gnuplot
" and run ./gnuplot, I bump into the following error:
/usr/lib/hpux32/dld.so: Unable to find library 'libreadline.so'.
Killed

I´ve try to find in google that library, but I cant find it.

On the other hand by searching, in google, I am supposed to run "./configue". BUT where?

I need to use gnuplot to plot performance stats from glance.
Your help will appreciated.

F.R.
17 REPLIES 17
Trusted Contributor

Re: Help in setting/configure up gnuplot

download gnuplot from

http://sourceforge.net/projects/gnuplot/files/gnuplot/4.4.2/gp442win32.zip/download?use_mirror=autoselect

Note: this link is officially redirected by http://www.gnuplot.info/

Installation
------------
Installation instructions are available in the source itself; the short
version for linux/unix-like systems is to unpack the tarball and then
build it:
cd gnuplot-4.4.1 ; ./configure ; make
test it:
make check
install it:
make install

Pay careful attention to the output of the ./configure script.
It may indicate that some output drivers have been omitted because the
necessary support libraries were not found. In general you need to have
previously installed the "*-devel-*" versions of these libraries.


thanks
kamal
Super Advisor

Re: Help in setting/configure up gnuplot

Hi

Ok, I can do that: But what is wrong withe the gnuplot 4.4.0 that I have downloaded from http://hpux.connect.org.uk ?


F.R.
Trusted Contributor

Re: Help in setting/configure up gnuplot

It is better to compile and install third party application rather than installing a depot.
Super Advisor

Re: Help in setting/configure up gnuplot

Hi

The download file you suggested I beleive is for windows systems.My operating system is hp-ux 11.31


F.R.
Trusted Contributor

Re: Help in setting/configure up gnuplot

hello

don't download the ZIP file, you should navigate to the required tar file by clicking on the gunplot link under home in the middle of the page.

it will take you to the below link

http://sourceforge.net/projects/gnuplot/files/gnuplot/4.4.2/

download the tar archive and use it.

Note: please don't forget to assign points to the answers which helped you.

thanks
kamal
Acclaimed Contributor

Re: Help in setting/configure up gnuplot

>I have download and installed the following products:
>dld.so: Unable to find library libreadline.so.

The runtime dependencies include more than you downloaded, including readline:
expat fontconfig freetype gd gettext jpeg libXpm libiconv libpng ncurses readline termcap zlib cairo libXrender pixman glib2 pango libXft

You should use depothelper to get all the dependencies:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/depothelper-2.00/
Super Advisor

Re: Help in setting/configure up gnuplot


Hi!


I have installed depothelper using swinstall, I have also install its dependencies which are m4 and make, but I have got another error: "gmake: *** No rule to make target `install'. Stop." when doing
./gmake install


F.R.
Acclaimed Contributor

Re: Help in setting/configure up gnuplot

>but I have got another error: "gmake: *** No rule to make target `install'. Stop." when doing
>./gmake install

Did it say you needed to use gmake to install depothelper? (I guess it does but they are pretty sparse. )-:

Does it tell you what directory you need to be in to do that? (That's a common cause of that error message.)
Super Advisor

Re: Help in setting/configure up gnuplot

from installation page says:

to install

gmake install

to test

depothelper -l

but it does not say in which directory you need to run it, but I am running it from inside /usr/local/bin/depothelper


F.R.