Re: Error installing Postgres on Solaris 9

From: Thanh Q Lam <thanh(dot)q(dot)lam(at)alcatel(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Error installing Postgres on Solaris 9
Date: 2005-07-05 20:05:58
Message-ID: 42CAE826.2000206@alcatel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-15">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Tom/Michael,<br>
<br>
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.<br>
<br>
Here is the result of grep from my box:<br>
<br>
  nsmapp1{postgres}: usr/include&gt; grep projid_t *.h */*.h<br>
nss_dbdefs.h:    projid_t    projid;<br>
project.h:    projid_t pj_projid;    /* numerical project id */<br>
project.h:extern struct project *getprojbyid(projid_t, struct project
*, void *, size_t);<br>
project.h:extern projid_t getprojidbyname(const char *);<br>
project.h:extern projid_t getprojid(void);<br>
project.h:extern projid_t setproject(const char *, const char *, int);<br>
project.h:extern int project_walk(int (*)(projid_t, void *), void *);<br>
userdefs.h:    projid_t defproj;    /* default project id */<br>
sys/exacct_impl.h:    projid_t pu_projid;    /* project ID */<br>
sys/exacct_impl.h:    projid_t fu_projid;    /* project ID */<br>
sys/procfs.h:    projid_t pr_projid;    /* project id */<br>
sys/procfs.h:    projid_t pr_projid;    /* project id */<br>
sys/project.h:    projid_t     kpj_id;        /* project ID        */<br>
sys/project.h:kproject_t *project_hold_by_id(projid_t, int);<br>
sys/project.h:projid_t curprojid(void);<br>
sys/stream.h:    projid_t    db_projid;<br>
sys/task.h:extern task_t *task_create(projid_t);<br>
sys/task.h:extern taskid_t settaskid(projid_t, uint_t);<br>
sys/types.h:typedef id_t    projid_t;<br>
<br>
  nsmapp1{postgres}: usr/include&gt; ls -l `grep -l projid_t *.h */*.h`<br>
-rw-r--r--   1 root     bin        18587 Apr  6  2002 nss_dbdefs.h<br>
-rw-r--r--   1 root     bin         1681 Apr  6  2002 project.h<br>
-rw-r--r--   1 root     bin         4129 May 23  2002 sys/exacct_impl.h<br>
-rw-r--r--   1 root     bin        31559 Mar 18  2004 sys/procfs.h<br>
-rw-r--r--   1 root     bin         1063 Apr  6  2002 sys/project.h<br>
-rw-r--r--   1 root     bin        25923 Mar 18  2004 sys/stream.h<br>
-rw-r--r--   1 root     bin         1890 Apr  6  2002 sys/task.h<br>
-rw-r--r--   1 root     bin        16231 May  3 11:40 sys/types.h<br>
-rw-r--r--   1 root     bin         3530 Apr  6  2002 userdefs.h<br>
<br>
  nsmapp1{postgres}: usr/include&gt; what `grep -l projid_t *.h */*.h`<br>
nss_dbdefs.h:<br>
    nss_dbdefs.h    1.32    01/02/08 SMI<br>
project.h:<br>
    project.h    1.3    01/09/14 SMI<br>
userdefs.h:<br>
    userdefs.h    1.13    01/09/20 SMI<br>
sys/exacct_impl.h:<br>
    exacct_impl.h    1.4    02/03/15 SMI<br>
sys/procfs.h:<br>
    procfs.h    1.23    02/10/08 SMI<br>
sys/project.h:<br>
    project.h    1.4    01/09/07 SMI<br>
sys/stream.h:<br>
    stream.h    1.92    03/01/28 SMI<br>
sys/task.h:<br>
    task.h    1.3    01/04/05 SMI<br>
sys/types.h:<br>
    types.h    1.75    04/01/06 SMI<br>
<br>
<br>
Michael Fuhr wrote:<br>
<blockquote type="cite" cite="mid20050705194642(dot)GA98704(at)winnie(dot)fuhr(dot)org">
<pre wrap="">On Tue, Jul 05, 2005 at 03:27:49PM -0400, Tom Lane wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Michael Fuhr <a class="moz-txt-link-rfc2396E" href="mailto:mike(at)fuhr(dot)org">&lt;mike(at)fuhr(dot)org&gt;</a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">I wonder what's different between Thanh's Solaris 9 box and mine.
</pre>
</blockquote>
<pre wrap="">It would be useful for you guys to compare the results of

cd /usr/include
grep projid_t *.h */*.h
</pre>
</blockquote>
<pre wrap=""><!---->
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

</pre>
<pre wrap="">
<hr width="90%" size="4">
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;
</pre>
</blockquote>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 5.9 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-07-05 20:09:50 Re: Error installing Postgres on Solaris 9
Previous Message Michael Fuhr 2005-07-05 20:03:26 Re: Error installing Postgres on Solaris 9