[esp-r] Re: Esp-r linux install

Duncan Lithgow dlithgow at gmail.com
Sat Jun 2 19:19:45 BST 2007


On Sat, 2007-06-02 at 17:34 +0100, Jon Hand wrote: 
> ::In reply to my own earlier email... I have not managed to install esp-r
> ::on Ubuntu, yet. Ubuntu doesn't know what to do with a .run file.
I have filed a bug with Ubuntu about that.

> There web page where the linux installer was found also has
> a readme file and the 4th paragraph says what to do if
> the run file does not execute.
Yes, I found that reasonable quickly once the problem didn't solve
itself. If all else fails, I read the directions ;-)

Thanks for the pointer Jon.

= 1. On my first attempt I saw this from the terminal:

proceeding with the X11 version...
This may take a few minutes ...
mkdir: cannot create directory `/opt/esru': No such file or directory
./setup: line 131: cd: /opt/esru: No such file or directory

... and of course it failed. Ubuntu doesn't have an /opt directory by
default. Could you add that consideration into the installer please? (I
can't find where to submit bug reports/ RFEs.) I created the /opt
directory so that is fine.

= 2. Next hurdle is setting the PATH correctly. I think we've talked
about this before, otherwise I'd really be lost!

Your PATH environment variable needs to be updated. The .bash_profile
file the PATH= line should include the following...
:/opt/esru/bin:/opt/esru/esp-r/bin

Again that's good instruction but it's actually very hard for a new user
to find out _how_ to add something to their path, and that shouldn't
stand in the way of them using esp-r. Could the installer just ask for
permission to add those paths to PATH? (I don't know how that's done
system wide as root).

I added "export PATH=$PATH:/opt/esru/bin:/opt/esru/esp-r/bin" to my
users .bashrc file. Is that wrong/better/ok?

Either way couldn't the installer handle this with a simple y/n
question?

= 3. Is this a problem?

Please wait while the installer performs
cleanup...ls: /usr/esru/esp-r/bin: No such file or directory

But the directory is definately there, I checked.

= 4. After restarting bash I tried the command esp-r and it looks like
that's working now. But I get:

prj: error while loading shared libraries: libg2c.so.0: cannot open
shared object file: No such file or directory

Again, wget can quickly fix these issues if there's a live internet
connection. Could the installer handle that as well? That'd be great -
hey I might even get my computer illiterate thermal tutor to try it!

For some reason on Ubuntu that library is called libg2c0 instead, who
should I grumble to about that? Perhaps for now you could mention that
in the readme.

= 5. And now it runs! Cheers.

Duncan
(finally with some time to learn to use it)




More information about the esp-r mailing list