public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: "Mike M. Volokhov" <mishka@apk.od.ua>
To: Tim Buck <tbuck@rrinc.com>
Cc: help-gnats@gnu.org
Subject: Re: My experiences building GNATS 4.10
Date: Wed, 23 Mar 2005 13:37:00 -0000	[thread overview]
Message-ID: <20050323102144.253729fe.mishka@apk.od.ua> (raw)
In-Reply-To: <c653610b6e0c49fe3bb6a71d3434527f@rrinc.com>

On Tue, 22 Mar 2005 16:54:39 -0500
Tim Buck <tbuck@rrinc.com> wrote:

> I got an error building GNATS 4.10:
> 
>    Creating gnats-databases...
>    make: don't know how to make gnats-pwconv.o. Stop
>    *** Error code 2
> 
>    Stop in /usr/projects/tim/gnats-4.1.0.
> 
> This is on FreeBSD-4.9 using gcc-2.95.4. I edited gnats/Makefile
> and appended "gnats-pwconv.c" to the SOURCES line, which got me
> past this error. Then I got this one:

Yes, this (and some other) file has been missed. Is this ok to put just
all *.c files into SOURCES? I.e.:

Index: Makefile.in
===================================================================
RCS file: /cvsroot/gnats/gnats/gnats/Makefile.in,v
retrieving revision 1.71
diff -u -r1.71 Makefile.in
--- Makefile.in	24 Feb 2005 21:21:22 -0000	1.71
+++ Makefile.in	23 Mar 2005 08:07:10 -0000
@@ -125,7 +125,12 @@
 
 #### Host-, target-, and site-specific makefiles are inserted here.
 
-SOURCES = btime.c cmds.c file-pr.c gen-closed-date.c gen-index.c getclose.c gnatsd.c pr-age.c pr-edit.c pr-stat.c query-pr.c queue-pr.c
+SOURCES = adm.c btime.c client.c cmds.c database.c edit.c fconfig.c \
+	fconfigl.c field.c file-pr.c gen-closed-date.c gen-index.c \
+	getclose.c getdate.c gnats-pwconv.c gnatsd.c gnugetopt.c gnugetopt1.c \
+	index.c internal.c lists.c mail.c misc.c mk_auth.c pr-age.c \
+	pr-edit.c pr-init.c pr-stat.c pr.c query-pr.c query.c queue-pr.c \
+	regex.c version.c
 
 EXTRA_OBJS = @EXTRA_OBJS@
 
> 
>    make: don't know how to make send-pr. Stop
>    *** Error code 2
> 
> I can get past this one by going into the send-pr directory and
> doing a "make" there. Next I get this error:
> 
> -I . -o gnats.info
> -I:No such file or directory
> *** Error code 1
> 
> Stop in /usr/projects/tim/gnats-4.1.0.
> 
> I manually ran "makeinfo -I . -o gnats.info gnats.texi" from the
> doc directory to get around this.

Seems you using FreeBSD make instead of GNU make, so as ${MAKEINFO} has
been not substituted by its default value (makeinfo), and you unable to
built send-pr from top directory. Generally said, missing ".c.o"
expansions can be also done using GNU make.

Another question is why build process so unclean (missing .c files,
missing variables, some "magic" explicit rules at the end of makefile,
and so on)? IMHO we should cleanup makefiles to be compliant to generic
make rules or use GNU atomake framework (but I'm personally are not
familiar with GNU build tools). Which way more preferred?

--
Mishka.


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats

  reply	other threads:[~2005-03-23  8:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-06 21:07 GNATS 4.1.0 Released! Chad Walstrom
2005-03-07 17:35 ` David S Gathright
2005-03-07 18:10   ` 'Chad Walstrom'
2005-03-08 15:42     ` 'Chad Walstrom'
2005-03-08  2:44   ` David S Gathright
2005-03-23  8:35 ` My experiences building GNATS 4.10 Tim Buck
2005-03-23 13:37   ` Mike M. Volokhov [this message]
2005-03-23 15:33     ` Tim Buck
2005-03-24  9:07     ` My experiences building GNATS 4.1.0 Chad Walstrom
2005-03-28 16:59       ` Mike M. Volokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050323102144.253729fe.mishka@apk.od.ua \
    --to=mishka@apk.od.ua \
    --cc=help-gnats@gnu.org \
    --cc=tbuck@rrinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).