On Monday 15 April 2002 19:23, James Ogley wrote: - Yes, this looks good - it's these lines that are important, Makefile is - the file that the command make uses to determine what it should do. - config.h is a standard name for a C header file that contains config - information for the app you're building - - > linking ./intl/libgettext.h to intl/libintl.h - - I guess this is specific to spellutils, so don't worry if you don't see - this when building other software Woops, I got the following when I tried to "make": make make all-recursive make[1]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7' Making all in intl make[2]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7/intl' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 intl-compat.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 bindtextdom.c In file included from bindtextdom.c:47: gettextP.h:49: warning: ANSI does not permit the keyword `inline' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 dcgettext.c In file included from dcgettext.c:79: gettextP.h:49: warning: ANSI does not permit the keyword `inline' In file included from dcgettext.c:85: hash-string.h:38: warning: ANSI does not permit the keyword `inline' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 dgettext.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 gettext.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 finddomain.c In file included from finddomain.c:57: gettextP.h:49: warning: ANSI does not permit the keyword `inline' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 loadmsgcat.c In file included from loadmsgcat.c:39: gettextP.h:49: warning: ANSI does not permit the keyword `inline' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 localealias.c In file included from localealias.c:73: gettextP.h:49: warning: ANSI does not permit the keyword `inline' localealias.c: In function `read_alias_file': localealias.c:258: warning: pointer targets in passing arg 1 of `fgets' differ in signedness localealias.c:317: warning: pointer targets in passing arg 1 of `strlen' differ in signedness localealias.c:318: warning: pointer targets in passing arg 1 of `strlen' differ in signedness gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 textdomain.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 l10nflist.c In file included from l10nflist.c:42: /usr/include/argz.h:163: warning: ANSI does not permit the keyword `inline' /usr/include/argz.h:177: warning: ANSI does not permit the keyword `inline' l10nflist.c:157: warning: ANSI does not permit the keyword `inline' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -Wall -pedantic -g -O2 explodename.c explodename.c: In function `_nl_explode_name': explodename.c:112: warning: pointer targets in passing arg 1 of `_nl_normalize_codeset' differ in signedness rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o ranlib libintl.a make[2]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7/intl' Making all in po make[2]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7/po' make[2]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7' gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c pospell.c pospell.c: In function `check_child': pospell.c:277: warning: implicit declaration of function `strsignal' gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c pospell_write.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c pospell_read.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c lib.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c exec.c gcc -Wall -pedantic -g -O2 -o pospell pospell.o pospell_write.o pospell_read.o lib.o exec.o lib.o: In function `nb_tmpnam': /home/brian/Downloads/Mutt/spellutils-0.7/lib.c:124: the use of `tmpnam' is dangerous, better use `mkstemp' gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c newsbody.c newsbody.c: In function `check_child': newsbody.c:288: warning: implicit declaration of function `strsignal' gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c newsbody_write.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c newsbody_read.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -g -O2 -c header.c gcc -Wall -pedantic -g -O2 -o newsbody newsbody.o newsbody_write.o newsbody_read.o header.o lib.o exec.o lib.o: In function `nb_tmpnam': /home/brian/Downloads/Mutt/spellutils-0.7/lib.c:124: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7' make[1]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7' brian@thor:~/Downloads/Mutt/spellutils-0.7> make install Making install in intl make[1]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7/intl' if test "spellutils" = "gettext" \ && test 'intl-compat.o' = 'intl-compat.o'; then \ if test -r ./mkinstalldirs; then \ ./mkinstalldirs /usr/local/lib /usr/local/include; \ else \ ../mkinstalldirs /usr/local/lib /usr/local/include; \ fi; \ /usr/bin/install -c -m 644 intlh.inst /usr/local/include/libintl.h; \ /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \ else \ : ; \ fi if test "spellutils" = "gettext"; then \ if test -r ./mkinstalldirs; then \ ./mkinstalldirs /usr/local/share/gettext/intl; \ else \ ../mkinstalldirs /usr/local/share/gettext/intl; \ fi; \ /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \ dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file /usr/local/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7/intl' Making install in po make[1]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7/po' if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs /usr/local/share; \ else \ /bin/sh ../mkinstalldirs /usr/local/share; \ fi mkdir /usr/local/share/locale mkdir: cannot create directory `/usr/local/share/locale': Permission denied mkdir /usr/local/share/locale/da mkdir: cannot create directory `/usr/local/share/locale/da': No such file or directory mkdir /usr/local/share/locale/da/LC_MESSAGES mkdir: cannot create directory `/usr/local/share/locale/da/LC_MESSAGES': No such file or directory /usr/bin/install: cannot create regular file `/usr/local/share/locale/da/LC_MESSAGES/spellutils.mo': No such file or directory installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/spellutils.mo if test "spellutils" = "gettext"; then \ if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs /usr/local/share/gettext/po; \ else \ /bin/sh ../mkinstalldirs /usr/local/share/gettext/po; \ fi; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ /usr/local/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7/po' make[1]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7' make[2]: Entering directory `/home/brian/Downloads/Mutt/spellutils-0.7' /bin/sh ./mkinstalldirs /usr/local/bin /usr/bin/install -c pospell /usr/local/bin/pospell /usr/bin/install: cannot create regular file `/usr/local/bin/pospell': Permission denied /usr/bin/install -c newsbody /usr/local/bin/newsbody /usr/bin/install: cannot create regular file `/usr/local/bin/newsbody': Permission denied make[2]: *** [install-binPROGRAMS] Error 1 make[2]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/brian/Downloads/Mutt/spellutils-0.7' make: *** [install-recursive] Error 1 What happened and how do I fix this? Cheers, Brian