Hi again, This is the first time I have tried this. I am in the process of installing spellutils from source (?) onto my SuSE 7.3 Pro system. Does this look right so far? I haven't got a clue: tar xzvf spellutils-0.7.tar.gz spellutils-0.7/ spellutils-0.7/Makefile.in spellutils-0.7/README spellutils-0.7/stamp-h.in spellutils-0.7/ABOUT-NLS spellutils-0.7/COPYING spellutils-0.7/INSTALL spellutils-0.7/Makefile.am spellutils-0.7/NEWS spellutils-0.7/acconfig.h spellutils-0.7/aclocal.m4 spellutils-0.7/config.guess spellutils-0.7/config.h.in spellutils-0.7/config.sub spellutils-0.7/configure spellutils-0.7/configure.in spellutils-0.7/getopt.c spellutils-0.7/install-sh spellutils-0.7/missing spellutils-0.7/mkinstalldirs spellutils-0.7/pospell.c spellutils-0.7/pospell_write.c spellutils-0.7/pospell_read.c spellutils-0.7/pospell.h spellutils-0.7/lib.c spellutils-0.7/exec.c spellutils-0.7/lib.h spellutils-0.7/getopt.h spellutils-0.7/newsbody.c spellutils-0.7/newsbody_write.c spellutils-0.7/newsbody_read.c spellutils-0.7/header.c spellutils-0.7/newsbody.h spellutils-0.7/strncasecmp.c spellutils-0.7/strncasecmp.h spellutils-0.7/pospell.1 spellutils-0.7/newsbody.1 spellutils-0.7/FILES spellutils-0.7/intl/ spellutils-0.7/intl/ChangeLog spellutils-0.7/intl/Makefile.in spellutils-0.7/intl/linux-msg.sed spellutils-0.7/intl/po2tbl.sed.in spellutils-0.7/intl/xopen-msg.sed spellutils-0.7/intl/gettext.h spellutils-0.7/intl/gettextP.h spellutils-0.7/intl/hash-string.h spellutils-0.7/intl/libgettext.h spellutils-0.7/intl/loadinfo.h spellutils-0.7/intl/bindtextdom.c spellutils-0.7/intl/dcgettext.c spellutils-0.7/intl/dgettext.c spellutils-0.7/intl/gettext.c spellutils-0.7/intl/finddomain.c spellutils-0.7/intl/loadmsgcat.c spellutils-0.7/intl/localealias.c spellutils-0.7/intl/textdomain.c spellutils-0.7/intl/l10nflist.c spellutils-0.7/intl/explodename.c spellutils-0.7/intl/intl-compat.c spellutils-0.7/intl/cat-compat.c spellutils-0.7/intl/VERSION spellutils-0.7/po/ spellutils-0.7/po/ChangeLog spellutils-0.7/po/Makefile.in.in spellutils-0.7/po/POTFILES.in spellutils-0.7/po/spellutils.pot spellutils-0.7/po/stamp-cat-id spellutils-0.7/po/da.po spellutils-0.7/po/da.gmo spellutils-0.7/po/cat-id-tbl.c brian@thor:~/Downloads/Mutt> cd spellutils-0.7 brian@thor:~/Downloads/Mutt/spellutils-0.7> ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for POSIXized ISC... no checking for a BSD compatible install... /usr/bin/install -c checking for working const... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for size_t... yes checking for pid_t... yes checking for ranlib... ranlib checking for inline... inline checking for off_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... no checking whether catgets can be used... no checking for msgfmt... (cached) no checking for gmsgfmt... no checking for xgettext... : checking for catalogs to be installed... da checking for strerror... yes checking for strsignal... yes checking for getopt... yes checking for strncasecmp... yes updating cache ./config.cache creating ./config.status creating Makefile creating intl/Makefile creating po/Makefile.in creating config.h linking ./intl/libgettext.h to intl/libintl.h Now if all if this looks OK, all I need to do is "make" and a "make install" correct? Cheers, Brian
This is the first time I have tried this. I am in the process of installing spellutils from source (?) onto my SuSE 7.3 Pro system. Does this look right so far? I haven't got a clue: updating cache ./config.cache creating ./config.status creating Makefile creating intl/Makefile creating po/Makefile.in creating config.h
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 -- James Ogley, Unix Systems Administrator, Pinnacle Insurance Plc james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 (0) 20 8731 3619 Using Free Software since 1994, running GNU/Linux (SuSE 7.x) This email was created and sent with Ximian Evolution 1.0.3 NEW: Advogato diary at www.advogato.org/person/riggwelter *********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
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
You'll need to be root in order to install, so, you'll need to do this... ./configure --whatever-options make su [provide root password] make install On Mon, 2002-04-15 at 14:37, Brian Durant wrote:
Woops, I got the following when I tried to "make": /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? -- James Ogley, Unix Systems Administrator, Pinnacle Insurance Plc james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 (0) 20 8731 3619 Using Free Software since 1994, running GNU/Linux (SuSE 7.x) This email was created and sent with Ximian Evolution 1.0.3 NEW: Advogato diary at www.advogato.org/person/riggwelter
*********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
hi, it looks like you tried to install the package as an ordinary user. the following output is produced by the command: make install this is usually possible if you are logged in as root. to achieve this after running the command: make change to user root by typing: su after which you will be prompted for root's password. then do: make install
/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?
i hope that this helps.
--
Gerald Marewo
On Monday 15 April 2002 21:18, Gerald Marewo wrote: - i hope that this helps. Thanks to all that helped on this issue. It seems to have installed without problems. Brian
* Brian Durant
Now if all if this looks OK, all I need to do is "make" and a "make install" correct?
Yes, correct. It will end up in /usr/local then. If you want to put it somewhere else, you will have to specify --prefix to ./configure. ./configure --help Is a good starting point. -- Mads Martin Jørgensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort?" -- A. P. J.
participants (4)
-
Brian Durant
-
Gerald Marewo
-
James Ogley
-
Mads Martin Jørgensen