public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Regarding installation of GNATS
@ 2004-03-23 16:09 shilpa.reddy
  2004-03-24  6:42 ` Mel Hatzis
  0 siblings, 1 reply; 2+ messages in thread
From: shilpa.reddy @ 2004-03-23 16:09 UTC (permalink / raw)
  To: help-gnats; +Cc: hatzis


[-- Attachment #1.1: Type: text/plain, Size: 495 bytes --]

My directory name is gnats-4.0
I have run the following commands successfully....
1)  ./configure
2) make
3) make install
4) I go into gnats directory. There is a file named "mkdb"
     In this directory I run "mkdb default".........  I encounter the
following 
 
    mkdb: No proper entry for default in /usr/local/etc/gnats/databases
    grep: /usr/local/etc/gnats/databases: Is a directory
   grep: /usr/local/etc/gnats/databases: Is a directory
 
What do I do now ??
 

 


[-- Attachment #1.2: Type: text/html, Size: 1215 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regarding installation of GNATS
  2004-03-23 16:09 Regarding installation of GNATS shilpa.reddy
@ 2004-03-24  6:42 ` Mel Hatzis
  0 siblings, 0 replies; 2+ messages in thread
From: Mel Hatzis @ 2004-03-24  6:42 UTC (permalink / raw)
  To: shilpa.reddy; +Cc: help-gnats

On 03/23/2004 12:43 AM, shilpa.reddy@wipro.com submitted:
> My directory name is gnats-4.0
> I have run the following commands successfully....
> 1)  ./configure
> 2) make
> 3) make install
> 4) I go into gnats directory. There is a file named "mkdb"
>      In this directory I run "mkdb default".........  I encounter the
> following
> 
>     mkdb: No proper entry for default in /usr/local/etc/gnats/databases
>     grep: /usr/local/etc/gnats/databases: Is a directory
>    grep: /usr/local/etc/gnats/databases: Is a directory

It appears that you've installed GNATS under /usr/local. The odd thing
in your case is that /usr/local/etc/gnats/databases is a directory,
instead of a file.

If you install GNATS under /usr/local, the GNATS binaries expect to find
the file /usr/local/etc/gnats/databases which contains a list of database
entries. At a minimum, this file should contain a single entry for the
'default' database which is mandatory.

I'm not sure why you have a directory named /usr/local/etc/gnats/databases.
Perhaps this is something from a previous install of GNATS?

In any case, if you wish to have your GNATS server installed under /usr/local,
you'll need to move the /usr/local/etc/gnats/databases directory aside,
and replace it with a file, containing something like:

default:Bug database:/usr/local/com/gnatsdb.

Alternatively, you can use the '--with-gnats-dblist-file' configure option to
specify a different location for your databases file.

--
Mel Hatzis

> 
> What do I do now ??
> 
> 
> 
> 
> 
> 
> Confidentiality Notice
> 
> The information contained in this electronic message and any attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-23 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-23 16:09 Regarding installation of GNATS shilpa.reddy
2004-03-24  6:42 ` Mel Hatzis

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).