Running the installation script on a machine where I don't have root
permission, and installing in one of my own directories, I got
(naturally enough) error messages from the lines at the end:
rm /usr/local/bin/poplog
ln -s $usepop/bin/poplog.sh /usr/local/bin/poplog
ls -l /usr/local/bin/poplog
echo "Installing man files"
cd /usr/local/man/man1
ln -s $usepop/man/man1/* .
Maybe these lines should just be skipped for non-default installations
because it really isn't obvious where the links should go. It will
depend on the user's path setup.
Everything else seems to be fine.
Stephen Isard
>From A.Sloman@cs.bham.ac.uk Wed Jan 26 15:34:02 2005
Path: news.demon.co.uk!mutlu.news.demon.net!peer-uk.news.demon.net!kibo.news.demon.net!demon!newsfeed.stueberl.de!feed.news.tiscali.de!easynet-quince!easynet.net!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!warwick!news-out.ftel.co.uk!bhamcs!news
From: A.Sloman@cs.bham.ac.uk
Newsgroups: comp.lang.pop
Subject: Re: New package for V15.6, now with installation script (Correction)
Date: Wed, 26 Jan 2005 15:34:02 +0000 (UTC)
Organization: cs.bham.ac.uk MAIL->NEWS gateway
Lines: 36
Message-ID: <ct8d9a$28h5$1@soapbox.cs.bham.ac.uk>
X-Trace: soapbox.cs.bham.ac.uk 1106753642 74277 147.188.192.10 (26 Jan 2005 15:34:02 GMT)
X-Complaints-To: abuse@cs.bham.ac.uk
X-Relay-Info: Relayed through cs.bham.ac.uk MAIL->NEWS gateway
Originator: exim@emily
Xref: news.demon.co.uk comp.lang.pop:1397
Steve Isard wrote:
> Running the installation script on a machine where I don't have root
> permission, and installing in one of my own directories, I got
> (naturally enough) error messages from the lines at the end:
>
> rm /usr/local/bin/poplog
.....etc.
> Maybe these lines should just be skipped for non-default installations
> because it really isn't obvious where the links should go. It will
> depend on the user's path setup.
I guess this could be another option, perhaps an interactive one when
I find out how to do that.
Also the steps should be skipped when the script is not run as root.
How does a bash script test if it is run by superuser?
> Everything else seems to be fine.
Thanks for checking it.
It's just possible that you may find that the introduction of the
'package' structure makes something you previously used inaccessible.
In that case putting a 'uses' command in your init.p or vedinit.p file
will extend the search lists to include the appropriate package(s).
Aaron
[In Saarbruecken -- temporarily connected.]
|