gnuplot stopped giving me the help data but states: success

Using applications, configuring, problems
Message
Author
User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

gnuplot stopped giving me the help data but states: success

#1 Post by benny7440 »

Let me start saying that I had an older version of gnuplot & recently installed a newer one ( version 4.2 patchlevel 5).

The first installed one never gave me this problem. I'm afraid I cannot remember if I uninstalled the previous version before installing the present one. The package manager app showed just one instance of gnuplot, although there appears from 5-6 'blank' lines before the last entry.

PS. It would be of great value to me if there's someone that knows & tell me of a gnuplot tutorial (not the demos at sourceforge).
[b]Toshiba Satellite L555 / ACPI x64-based PC / Intel Core i5 / ~1.46 @ 3 Partitions GB HDD / 4 GB RAM / CD-DVD RW Drive.
[/b]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Why not drop back to the old one? Slacko or 528?

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#3 Post by benny7440 »

Hello Semme, good to hear from you!

I'm not sure I understood what you wrote/implied. I'm working at the moment with PL528 but have installed slacko-5.5.4G, reccently. At the moment using slacko for this is out of the question for me because I first need it to be persistent, something that I've been working on for more than a week now. I also wanted to use gnuplot & other apis from PL528 until I get used to salcko, later I wouldn't have a problem moving on.

There's a man-doc that contains what I used to see after issuing help at the gnuplot screen but the method that was at hand is much preferable because is a hierarchical one vs. a long doc where one has to fetch for the info 'serially'.

Apparently, there's something missing or mis-configured. Any ideas?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Try this newer build. Install'm right smack on top, then check here for GUI's & ideas..

gnuplot-doc_4.6.1-1 + gnuplot-nox_4.6.1-1 + gnuplot-x11_4.6.1-1 + gnuplot_4.6.1-1

As far as which pup for YOU?.. Stick with 528 if it's been comfortable. It's :wink: easier.

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#5 Post by benny7440 »

Thanks for the links & recommendation, Semme! I d/l all .deb files that you posted but don't know what is contained in them or if I should have d/l all of them. I'll keep them safe until I know how to proceed; speacially if I already have:

G N U P L O T
Version 4.2 patchlevel 5
last modified Mar 2009
System: Linux 2.6.33.2


I'm not uninstalling my present version because I don't know if I had to d/l dependencies for it & what might happen to them if I uninstall it.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

"If you have tried to do something and failed, you are vastly better off than if you had tried to do nothing and succeeded."

-- Lloyd Jones (variation)

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#7 Post by benny7440 »

Thanks Semme for replying! I clicked on each of the .deb downloaded files but I must admit that from start I felt I was walking blind because I didn't know what I was installing. I checked if there was something at the Menu>Utility (and at other possible locations) but no entry made there. Then, I opened a shell window and issued 'gnuplot' but I just obtained:

# gnuplot
gnuplot: error while loading shared libraries: libedit.so.2: cannot open shared object file: No such file or directory


as my output. I think some library file is missing. Where can I obtain it & install?

Exactly, what it was what I downloaded and is it too hard to obtain a Menu entry for it in case it's the complete package for gnuplot? Thanks in advance!

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

Prior to installing those, you had gnuplot already onboard, correct?

How'd you open it then? Are you're implying it had a GUI?

LabPlot, QtiPlot and SciDAVis are all in pacman.

What's the output here: ldd /usr/bin/gnuplot

If it's Urxvt you're using, ditch it in favor of Roxterm >> in PPM.

@ least you'll have a console you can :roll: copy and paste with..

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#9 Post by benny7440 »

I'm sorry but have to admit that I made a big mistake by installing all those while I'm working with a NEW Slacko installation instead of my usual PL528005 OS.

So, disregard my previous post - all of it. Now I'm uninstalling all of them from Slacko; next, I'm going to re-install at PL528005 and see what happens and then will post below whatever I find.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

Hey, we can move along quickly if you keep your response :wink: simple.

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#11 Post by benny7440 »

OK, I installed those now at PL528005.

When I went to Menu>Business>gnuplot & clicked on it, it appeared briefly (<half a sec) on the desktop but dissapeared (not minimized). I retried it at a shell window & obteained:

sh-4.1# gnuplot
gnuplot: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
sh-4.1#


again.

I must state that before doing these .deb installations it worked, although the 'help' feature wasn't. Now it refuses to even start. I still think it's a lib thing. Do you agree? I googled for it but I don't know what version should I d/l, 32-bit or 64-bit version? From which source should I d/l it?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#12 Post by Semme »

Run and dump this.. You can copy and paste from /root: ldd /usr/bin/gnuplot > gnuplot_deps.txt

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#13 Post by benny7440 »

The commands' output is shown below:

sh-4.1# ldd /usr/bin/gnuplot > gnuplot_deps.txt
sh-4.1# pwd
/root
sh-4.1#

Nothing in there.

Edit: Another mistake by my part, I was expecting that ldd command would show something at the shell window, sorry. Its output follows:

linux-gate.so.1 => (0xffffe000)
libedit.so.2 => /usr/lib/libedit.so.2 (0xb76d9000)
libgd.so.2 => not found
liblua5.1.so.0 => not found
libwx_gtk2u_core-2.8.so.0 => not found
libwx_baseu-2.8.so.0 => not found
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb76be000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb767b000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7601000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb75c2000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb74f8000)
libm.so.6 => /lib/libm.so.6 (0xb74d1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73db000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb73bc000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb73a3000)
libc.so.6 => /lib/libc.so.6 (0xb7249000)
libbsd.so.0 => not found
libncurses.so.5 => /lib/libncurses.so.5 (0xb7210000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb71e9000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb71e3000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb71de000)
librt.so.1 => /lib/librt.so.1 (0xb71d5000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb715e000)
libz.so.1 => /lib/libz.so.1 (0xb7149000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7119000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb70bf000)
libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0xb7048000)
libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0xb703d000)
libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0xb7027000)
libpng12.so.0 => /lib/libpng12.so.0 (0xb7002000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb6ffd000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb6ff5000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6fda000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6fd0000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb6eb3000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb6e82000)
/lib/ld-linux.so.2 (0xb76fc000)
libdl.so.2 => /lib/libdl.so.2 (0xb6e7e000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb6e56000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6e52000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6e4c000)

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#14 Post by Semme »

Two more questions then..

Was gnuplot removed prior to installing those four pkgs I linked or left in place as suggested.. install on top?

Did the original have a menu item that when launched opened some sort of GUI or front-end? You imply this..

We're all ready to go, I just need some straight answers before proceeding.

And don't worry :wink: it'll be *better* than before!

==

Ah, nevermind. Install these.. they're in PPM:
  • libgd2-noxpm_2.0.36~rc1~dfsg
  • liblua5.1-0_5.1.4-5
  • libwxgtk2.8-0_2.8.10.1
  • libwxbase2.8-0_2.8.10.1
  • libbsd0_0.2.0-1
Then tell me WHAT I WANNA HEAR!
Attachments
this-help1.jpg
(99.65 KiB) Downloaded 373 times
v4point6.jpg
(47.73 KiB) Downloaded 490 times

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#15 Post by benny7440 »

I haven't removed/uninstalled/deleted anything before or after downloading and installing those packages. But I repeat that I, by mistake while working on Slacko installed them AND later uninstalled them. Then, returned to PL528 and installed them. That's what I've done up to the present.

The original gnuplot worked ok in relation to showing a 'hierarchical' menu of choices when I typed help on the "shell like screen" that opened after clicking on the Menu>Business>gnuplot item. that item is still there but now it doesn't bring that shell for working with gnuplot.

After installing >half of those libs it started to appear a message stating that there was a missing lib - "perlapi-5.10.1"; after installing the last one of those you proposed I then searched for this last one but there was no match according to PPM. Should I google it & d/l it? If the answer is yes & there're 32-bit and 64-bit versions of it, which one is the apropriate one?

After installing the above libs I quickly tested it & it showed the desired help functionality OK. I also did some simple plots & it seems to be OK also. I did noticed though some strange behavior of the Delete & Arrow keys: the Delete, Insert, Home, PgUp & PgDn all give me a "~", superscripted while the End key inserts a blank space. Except for the Left & Right-Arrow, the other two keep inserting text at present position. I don't know if this has something to do with a small window that opened after installing each lib asking if I wanted to "Trim the fat" out of each package but, following the instructions given at those messages, I've chosen with each and everyone of those to Trim the fat. At doing this I found an entry stating: en.es & I deleted the ".es" part of each one, leaving the rest of the Tick marks as they were (selected). Any ideas?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#16 Post by Semme »

Ignore perlapi- it's a fluke.

==

As 32/64bit pkgs are concerned- Lucid itself is 32.

64's can run 32bit apps, not the other way around.

In your case, run what the OS is >> 32bit.

==

Getting back to gnuplot, is this the help page you've been asking about?

Not knowing what the older version was like, I'll guess they now route all help through the shell.

Their FAQ for this current build >> http://gnuplot.info/faq/faq.html

==

Concerning the 'FAT'.. think about it- here's a program where you want that fat, right?

So, without trimming any fat, I'd reinstall this right on top.
Attachments
bully.jpg
(22.51 KiB) Downloaded 182 times

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#17 Post by benny7440 »

The help thing that I was talking about was what normally should appear on the screen that opens when you click on the gnuplot link under Menu>Business. Normally, after keying in help & hitting Enter on that window I saw a lot of info descending & penetrating the bowels of gnuplot, every step took me deeper in: this is the help feature that stopped working lately. But now is back!

I found two almost consecutive instances of that lib with PPM. When uninstalled the last one the first also dissappeared. D/l & installed the .deb package you suggested without any trimming. It's working as before, same "~" character when Delete is pressed. This's not a big problem if it stays confined to ONLY these few keys. I'll have to test it for a few days before I might find something serious that needs to be fixed. Thank you a lot for your help, Semme!

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#18 Post by Semme »

You're welcome. :wink: The tilde we can catch up with. I'm curious, what's the menu item opening?

In your gnuplot.desktop file >> /usr/share/applications.. Copy'n paste, OK.

This pet now.. you remember if it was from Muggins or Emil?

User avatar
benny7440
Posts: 440
Joined: Mon 20 Apr 2009, 04:23

#19 Post by benny7440 »

I'm uploading an image that might help you understand what I mean in relation to Menu>Business>gnuplot and what appears next in my screen.

The second paragraph (line) of your last post confused me & that's why the uploaded image. Hope it shows what you need to inspect. If I'm wrong here & there's a command to be issued from the shell I'm missing it.
Attachments
forum-semme-gnuplot-0.png
(79.65 KiB) Downloaded 207 times

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#20 Post by Semme »

Oh, I see.. sorry. What I wanted was for you to rt-clk that file and hit *open as text* so as to copy'n paste.

Benny- supply me with a short command sequence so I can get a sense of when this "~" shows up, OK.

How 'bout a 8) cmd shell you can easily customize.. fonts, colors, transparency.. the whole nine yards?

Post Reply