Re: Error installing Postgres on Solaris 9 - Mailing list pgsql-bugs

From Thanh Q Lam
Subject Re: Error installing Postgres on Solaris 9
Date
Msg-id 42CAE826.2000206@alcatel.com
Whole thread Raw
In response to Re: Error installing Postgres on Solaris 9  (Michael Fuhr <mike@fuhr.org>)
List pgsql-bugs
<meta http-equiv="Content-Type"
 content="text/html;charset=ISO-8859-15">



Hi Tom/Michael,

To answer Michael's question, I'm trying to install 7.4.8 on Solaris
9.  I tried 8.0 which failed at the same problem.

Here is the result of grep from my box:

  nsmapp1{postgres}: usr/include> grep projid_t *.h */*.h
nss_dbdefs.h:    projid_t    projid;
project.h:    projid_t pj_projid;    /* numerical project id */
project.h:extern struct project *getprojbyid(projid_t, struct project
*, void *, size_t);
project.h:extern projid_t getprojidbyname(const char *);
project.h:extern projid_t getprojid(void);
project.h:extern projid_t setproject(const char *, const char *, int);
project.h:extern int project_walk(int (*)(projid_t, void *), void *);
userdefs.h:    projid_t defproj;    /* default project id */
sys/exacct_impl.h:    projid_t pu_projid;    /* project ID */
sys/exacct_impl.h:    projid_t fu_projid;    /* project ID */
sys/procfs.h:    projid_t pr_projid;    /* project id */
sys/procfs.h:    projid_t pr_projid;    /* project id */
sys/project.h:    projid_t     kpj_id;        /* project ID        */
sys/project.h:kproject_t *project_hold_by_id(projid_t, int);
sys/project.h:projid_t curprojid(void);
sys/stream.h:    projid_t    db_projid;
sys/task.h:extern task_t *task_create(projid_t);
sys/task.h:extern taskid_t settaskid(projid_t, uint_t);
sys/types.h:typedef id_t    projid_t;

  nsmapp1{postgres}: usr/include> ls -l `grep -l projid_t *.h */*.h`
-rw-r--r--   1 root     bin        18587 Apr  6  2002 nss_dbdefs.h
-rw-r--r--   1 root     bin         1681 Apr  6  2002 project.h
-rw-r--r--   1 root     bin         4129 May 23  2002 sys/exacct_impl.h
-rw-r--r--   1 root     bin        31559 Mar 18  2004 sys/procfs.h
-rw-r--r--   1 root     bin         1063 Apr  6  2002 sys/project.h
-rw-r--r--   1 root     bin        25923 Mar 18  2004 sys/stream.h
-rw-r--r--   1 root     bin         1890 Apr  6  2002 sys/task.h
-rw-r--r--   1 root     bin        16231 May  3 11:40 sys/types.h
-rw-r--r--   1 root     bin         3530 Apr  6  2002 userdefs.h

  nsmapp1{postgres}: usr/include> what `grep -l projid_t *.h */*.h`
nss_dbdefs.h:
    nss_dbdefs.h    1.32    01/02/08 SMI
project.h:
    project.h    1.3    01/09/14 SMI
userdefs.h:
    userdefs.h    1.13    01/09/20 SMI
sys/exacct_impl.h:
    exacct_impl.h    1.4    02/03/15 SMI
sys/procfs.h:
    procfs.h    1.23    02/10/08 SMI
sys/project.h:
    project.h    1.4    01/09/07 SMI
sys/stream.h:
    stream.h    1.92    03/01/28 SMI
sys/task.h:
    task.h    1.3    01/04/05 SMI
sys/types.h:
    types.h    1.75    04/01/06 SMI


Michael Fuhr wrote:

  On Tue, Jul 05, 2005 at 03:27:49PM -0400, Tom Lane wrote:


    Michael Fuhr <mike@fuhr.org> writes:


      I wonder what's different between Thanh's Solaris 9 box and mine.


    It would be useful for you guys to compare the results of

    cd /usr/include
    grep projid_t *.h */*.h



Results from my box attached.  Here are some other tidbits:

% ls -l `grep -l projid_t *.h */*.h`
-rw-r--r--   1 root     bin        18587 Apr  6  2002 nss_dbdefs.h
-rw-r--r--   1 root     bin         1681 Apr  6  2002 project.h
-rw-r--r--   1 root     bin         4129 May 23  2002 sys/exacct_impl.h
-rw-r--r--   1 root     bin        31559 Mar 18  2004 sys/procfs.h
-rw-r--r--   1 root     bin         1063 Apr  6  2002 sys/project.h
-rw-r--r--   1 root     bin        25923 Mar 18  2004 sys/stream.h
-rw-r--r--   1 root     bin         1890 Apr  6  2002 sys/task.h
-rw-r--r--   1 root     bin        16231 May 17 09:51 sys/types.h
-rw-r--r--   1 root     bin         3530 Apr  6  2002 userdefs.h

% what `grep -l projid_t *.h */*.h`
nss_dbdefs.h:
        nss_dbdefs.h    1.32    01/02/08 SMI
project.h:
        project.h       1.3     01/09/14 SMI
userdefs.h:
        userdefs.h      1.13    01/09/20 SMI
sys/exacct_impl.h:
        exacct_impl.h   1.4     02/03/15 SMI
sys/procfs.h:
        procfs.h        1.23    02/10/08 SMI
sys/project.h:
        project.h       1.4     01/09/07 SMI
sys/stream.h:
        stream.h        1.92    03/01/28 SMI
sys/task.h:
        task.h  1.3     01/04/05 SMI
sys/types.h:
        types.h 1.75    04/01/06 SMI




nss_dbdefs.h:    projid_t    projid;
project.h:    projid_t pj_projid;    /* numerical project id */
project.h:extern struct project *getprojbyid(projid_t, struct project *, void *, size_t);
project.h:extern projid_t getprojidbyname(const char *);
project.h:extern projid_t getprojid(void);
project.h:extern projid_t setproject(const char *, const char *, int);
project.h:extern int project_walk(int (*)(projid_t, void *), void *);
userdefs.h:    projid_t defproj;    /* default project id */
sys/exacct_impl.h:    projid_t pu_projid;    /* project ID */
sys/exacct_impl.h:    projid_t fu_projid;    /* project ID */
sys/procfs.h:    projid_t pr_projid;    /* project id */
sys/procfs.h:    projid_t pr_projid;    /* project id */
sys/project.h:    projid_t     kpj_id;        /* project ID        */
sys/project.h:kproject_t *project_hold_by_id(projid_t, int);
sys/project.h:projid_t curprojid(void);
sys/stream.h:    projid_t    db_projid;
sys/task.h:extern task_t *task_create(projid_t);
sys/task.h:extern taskid_t settaskid(projid_t, uint_t);
sys/types.h:typedef id_t    projid_t;

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Error installing Postgres on Solaris 9
Next
From: Tom Lane
Date:
Subject: Re: Error installing Postgres on Solaris 9