Re: [Mutt] #2355: Mutt can't be built with a separate build dir and
#2355: Mutt can't be built with a separate build dir and read-only source dir
Changes (by brendan):
* component: mutt => build
* milestone: => 1.6
Old description:
> {{{
> The makefile has errors so that Mutt can't be built with a separate build
> dir and read-only source dir.
> >How-To-Repeat:
> $ aclocal -I m4 && autoheader && ( cd m4 && make -f Makefile.am.in ) &&
> automake -i && autoconf
> $ cd ..
> $ chmod -R a-w mutt
> $ mkdir mutt-build
> $ cd mutt-build
> $ ../mutt/configure
> $ make
> ../mutt/gen_defs ../mutt/OPS ../mutt/OPS.PGP ../mutt/OPS.SMIME
> ../mutt/OPS.CRYPT > keymap_defs.h
> ../mutt/patchlist.sh < ../mutt/PATCHES > patchlist.c
> echo 'const char *ReleaseDate = "'`head -n 1 ../mutt/ChangeLog | LC_ALL=C
> cut -d ' ' -f 1`'";' > reldate.h
> /usr/bin/make all-recursive
> Making all in m4
> make[2]: Nothing to be done for `all'.
> Making all in po
> file=../../mutt/po/`echo de | sed 's,.*/,,'`.gmo \
> && rm -f $file && /opt/local/bin/msgfmt --statistics -o $file
> ../../mutt/po/de.po
> /opt/local/bin/msgfmt: error while opening "../../mutt/po/de.gmo" for
> writing: Permission denied
> 1032 translated messages.
> make[2]: *** [de.gmo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> >Fix:
> Unknown
> }}}
New description:
{{{
The makefile has errors so that Mutt can't be built with a separate build
dir and read-only source dir.
>How-To-Repeat:
$ aclocal -I m4 && autoheader && ( cd m4 && make -f Makefile.am.in ) &&
automake -i && autoconf
$ cd ..
$ chmod -R a-w mutt
$ mkdir mutt-build
$ cd mutt-build
$ ../mutt/configure
$ make
../mutt/gen_defs ../mutt/OPS ../mutt/OPS.PGP ../mutt/OPS.SMIME
../mutt/OPS.CRYPT > keymap_defs.h
../mutt/patchlist.sh < ../mutt/PATCHES > patchlist.c
echo 'const char *ReleaseDate = "'`head -n 1 ../mutt/ChangeLog | LC_ALL=C
cut -d ' ' -f 1`'";' > reldate.h
/usr/bin/make all-recursive
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in po
file=../../mutt/po/`echo de | sed 's,.*/,,'`.gmo \
&& rm -f $file && /opt/local/bin/msgfmt --statistics -o $file
../../mutt/po/de.po
/opt/local/bin/msgfmt: error while opening "../../mutt/po/de.gmo" for
writing: Permission denied
1032 translated messages.
make[2]: *** [de.gmo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
>Fix:
Unknown
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2355#comment:6>