zsh-workers
 help / color / mirror / code / Atom feed
* Re: Problem with zsh 3.1.9 (Sun Solaris 7)
@ 2001-01-11 11:23 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2001-01-11 11:23 UTC (permalink / raw)
  To: James Kirkpatrick, zsh-workers


Peter Stephenson wrote:

> > I'm trying to install zsh 3.1.9, from a pre-built package from the Sun
> > freeware site (www.sunfreeware.com).  This was supposedly built on Solaris
> > 7 and I've installed it on Solaris 7, and brought over the /etc/zshrc,
> > /etc/zshenv, /etc/zlogin, and /etc/zshfn/* from an older system (Solaris
> > 2.5.1, zsh 3.0.7).  When I invoke zsh (as root) I get:
> > 
> >   /etc/zshrc: failed to load module: comp1 [22]
> 
> ...
> 
> Otherwise, for the modules, you need to set MODULE_PATH (colon-separated
> array) or module_path (array).  The default location is
> /usr/local/lib/zsh/$ZSH_VERSION .  We're changing to a hierarchical module
> naming scheme, so comp1 will become zsh/comp1 etc., but the bare names
> should work fine in 3.1.9.

The fact that the shell tries to load the comp1 module is also a sign
that it tries to use the stuff from a 3.0.x shell, because in 3.1.9
the comp1 module has gone.

May be related to path problems, too, but maybe the init scripts have
zmodload's for modules that don't exist anymore.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with zsh 3.1.9 (Sun Solaris 7)
       [not found] <Pine.GSO.4.10.10101101248310.19225-100000@asuwlink.uwyo.edu>
@ 2001-01-11 10:35 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2001-01-11 10:35 UTC (permalink / raw)
  To: James Kirkpatrick, Zsh hackers list

> I'm trying to install zsh 3.1.9, from a pre-built package from the Sun
> freeware site (www.sunfreeware.com).  This was supposedly built on Solaris
> 7 and I've installed it on Solaris 7, and brought over the /etc/zshrc,
> /etc/zshenv, /etc/zlogin, and /etc/zshfn/* from an older system (Solaris
> 2.5.1, zsh 3.0.7).  When I invoke zsh (as root) I get:
> 
>   /etc/zshrc: failed to load module: comp1 [22]

All your problems look like difficulties with the path.  The two possible
reasons for this are that the files are installed in the wrong place, or
the paths aren't set up properly.  If it's the former, you need to dig them
out of the appropriate package.

Otherwise, for the modules, you need to set MODULE_PATH (colon-separated
array) or module_path (array).  The default location is
/usr/local/lib/zsh/$ZSH_VERSION .  We're changing to a hierarchical module
naming scheme, so comp1 will become zsh/comp1 etc., but the bare names
should work fine in 3.1.9.

For the functions, in particular compinit, you need to set FPATH or fpath
in a similar way.  The default installation location for these is
/usr/local/share/zsh/$ZSH_VERSION/functions , and depending on the
configuration you may need to add all the subdirectories of that instead of
the top directory (it's obvious which --- either that directory contains a
large number of files or a set of subdirectories).

Both of these are basic requirements for the shell to work normally, so if
they need setting I'd suggest you put them in /etc/zshenv; for example,
  MODULE_PATH=/usr/local/lib/zsh/3.1.9
  FPATH=/usr/local/share/zsh/3.1.9/functions
or
  fpath=(/usr/local/share/zsh/3.1.9/functions/*)

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-11 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-11 11:23 Problem with zsh 3.1.9 (Sun Solaris 7) Sven Wischnowsky
     [not found] <Pine.GSO.4.10.10101101248310.19225-100000@asuwlink.uwyo.edu>
2001-01-11 10:35 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).