Quoth Andreas Kahari:
> In <[EMAIL PROTECTED]> Sergei Duzhin writes:
> [cut]
> > Question: is this possible and, if yes, what changes should I
> > make in the Makefile?
> > 
> > Sergei Duzhin,
> > The University of Aizu
> 
> Yes.
> 
> None.
> 
> Run 'configure' with the option "--prefix=/path/to/local/install/dir"
> (and all other options that you want to have enabled/disabled, see
> "./configure -h").  After that, do "make" and "make install".
> 
> "/path/to/local/install/dir" should be the path to a directory on your
> account.

Ok, I've been having similar problems (I maintain the local copy of
mutt, but don't have root; I need to use a special program "cscp" to
copy files into the public hierarchy), so I configured with
"--prefix=./subdir".  When I make install, I get a bunch of errors:

> [...]
> ../mkinstalldirs ./subdir/man/man1
> mkdir ./subdir
> mkdir ./subdir/man
> mkdir ./subdir/man/man1
> /cs/bin/ginstall -c -m 644 mutt.man ./subdir/man/man1/mutt.1
> /cs/bin/ginstall -c -m 644 dotlock.man ./subdir/man/man1/mutt_dotlock.1
> ../mkinstalldirs /usr/local/doc/mutt
> mkdir /usr/local/doc
> mkdir: Failed to make directory "/usr/local/doc"; Permission denied
> mkdir /usr/local/doc/mutt
> mkdir: Failed to make directory "/usr/local/doc/mutt"; No such file or
> directory
> *** Error code 2
> make: Fatal error: Command failed for target `install'
> Current working directory /godzilla/cs0/mutt/mutt-1.0pre3/doc
> *** Error code 1
> make: Fatal error: Command failed for target `install-recursive'

It starts off nice, dealing with ./subdir/man, but then decides it needs
access to /usr/local/doc/mutt, which I don't have.  I'd fix this in the
configure script, but autoconf is still a mysterious black box to me.

To be honest, the main thing I'm looking to do here is figure out how to
tell it where the po files are, which apparently is done during a
(successful) make install.

Ah, and system info: I'm on Solaris 2.7 running on an Ultra 10; I'm
using whatever the local version of 'make' is, but gmake gives
essentially the same error (can't create /usr/local/doc).  And for the
record, my configure line was:

configure --enable-pop --enable-buffy-size --with-sharedir="/cs/share/mutt" 
--with-included-gettext --prefix="./subdir"

-- 
-=-Don [EMAIL PROTECTED]=-=-<http://www.cs.brown.edu/~dpb/>-=-
"640K ought to be enough for anybody."          --Bill Gates, 1981

Reply via email to