pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Configure exit 1
4+ messages / 3 participants
[nested] [flat]

* Configure exit 1
@ 2009-03-05 20:27  Carol Walter <walterc@indiana.edu>
  0 siblings, 3 replies; 4+ messages in thread

From: Carol Walter @ 2009-03-05 20:27 UTC (permalink / raw)
  To: pgsql-admin

Greetings,

This is on a Solaris 10 box.  Did I shoot myself in the foot by trying  
to do a completely clean install?

I'm installing version PostgreSQL 8.3.6 as a test.  I want to take it  
live in two weeks.  I installed it configured and ran gmake once and  
it seemed to work fine, but I didn't have the data directory name that  
I thought I should have had, so I ran gmake distclean deleted the  
files that were created in postgres directory and ran configure  
again.  This time I got an error on it.  The error said that ...

checking whether getpwuid_r takes a fifth argument... yes
checking whether strerror_r returns int... yes
checking test program... failed
configure: error:
Could not execute a simple test program.  This may be a problem
related to locating shared libraries.  Check the file 'config.log'
for the exact reason.

When I looked at the config.log file, the end looks like this ...

#define HAVE_WCTYPE_H 1
#define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
#define PACKAGE_NAME "PostgreSQL"
#define PACKAGE_STRING "PostgreSQL 8.3.6"
#define PACKAGE_TARNAME "postgresql"
#define PACKAGE_VERSION "8.3.6"
#define PG_KRB_SRVNAM "postgres"
#define PG_VERSION "8.3.6"
#define PG_VERSION_NUM 80306
#define PG_VERSION_STR "PostgreSQL 8.3.6 on sparc-sun-solaris2.10,  
compiled by GCC gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)"
#define STRERROR_R_INT
#define USE_PAM 1
#define USE_SSL 1
#define WORDS_BIGENDIAN 1

configure: exit 1

What does an exit code 1 from configure mean?

Thanks,
Carol




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

* Re: Configure exit 1
@ 2009-03-05 20:42  Carol Walter <walterc@indiana.edu>
  parent: Carol Walter <walterc@indiana.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Carol Walter @ 2009-03-05 20:42 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

Hello, again,

I solved my own problem.  The LD_LIBRARY_PATH was not set.

Carol

On Mar 5, 2009, at 3:27 PM, Carol Walter wrote:

> Greetings,
>
> This is on a Solaris 10 box.  Did I shoot myself in the foot by  
> trying to do a completely clean install?
>
> I'm installing version PostgreSQL 8.3.6 as a test.  I want to take  
> it live in two weeks.  I installed it configured and ran gmake once  
> and it seemed to work fine, but I didn't have the data directory  
> name that I thought I should have had, so I ran gmake distclean  
> deleted the files that were created in postgres directory and ran  
> configure again.  This time I got an error on it.  The error said  
> that ...
>
> checking whether getpwuid_r takes a fifth argument... yes
> checking whether strerror_r returns int... yes
> checking test program... failed
> configure: error:
> Could not execute a simple test program.  This may be a problem
> related to locating shared libraries.  Check the file 'config.log'
> for the exact reason.
>
> When I looked at the config.log file, the end looks like this ...
>
> #define HAVE_WCTYPE_H 1
> #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
> #define PACKAGE_NAME "PostgreSQL"
> #define PACKAGE_STRING "PostgreSQL 8.3.6"
> #define PACKAGE_TARNAME "postgresql"
> #define PACKAGE_VERSION "8.3.6"
> #define PG_KRB_SRVNAM "postgres"
> #define PG_VERSION "8.3.6"
> #define PG_VERSION_NUM 80306
> #define PG_VERSION_STR "PostgreSQL 8.3.6 on sparc-sun-solaris2.10,  
> compiled by GCC gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)"
> #define STRERROR_R_INT
> #define USE_PAM 1
> #define USE_SSL 1
> #define WORDS_BIGENDIAN 1
>
> configure: exit 1
>
> What does an exit code 1 from configure mean?
>
> Thanks,
> Carol
>
>
> -- 
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin




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

* Re: Configure exit 1
@ 2009-03-05 20:43  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Carol Walter <walterc@indiana.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2009-03-05 20:43 UTC (permalink / raw)
  To: Carol Walter <walterc@indiana.edu>; +Cc: pgsql-admin

Carol Walter <walterc@indiana.edu> writes:
> I'm installing version PostgreSQL 8.3.6 as a test.  I want to take it  
> live in two weeks.  I installed it configured and ran gmake once and  
> it seemed to work fine, but I didn't have the data directory name that  
> I thought I should have had, so I ran gmake distclean deleted the  
> files that were created in postgres directory and ran configure  
> again.  This time I got an error on it.  The error said that ...

> checking whether getpwuid_r takes a fifth argument... yes
> checking whether strerror_r returns int... yes
> checking test program... failed
> configure: error:
> Could not execute a simple test program.  This may be a problem
> related to locating shared libraries.  Check the file 'config.log'
> for the exact reason.

Did you use the exact same configure arguments both times?  There's
no obvious reason why this test would work once and fail the second
time.

> When I looked at the config.log file, the end looks like this ...

You need to look at the output about the specific test that failed,
which is usually several hundred lines above the end of config.log.
(The rest of it is a dump of configure's internal variables, which
is generally not too interesting.)

			regards, tom lane



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

* Re: Configure exit 1
@ 2009-03-05 20:56  Alvaro Herrera <alvherre@commandprompt.com>
  parent: Carol Walter <walterc@indiana.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2009-03-05 20:56 UTC (permalink / raw)
  To: Carol Walter <walterc@indiana.edu>; +Cc: pgsql-admin

Carol Walter wrote:

> When I looked at the config.log file, the end looks like this ...
>
> #define HAVE_WCTYPE_H 1
> #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
> #define PACKAGE_NAME "PostgreSQL"
> #define PACKAGE_STRING "PostgreSQL 8.3.6"
> #define PACKAGE_TARNAME "postgresql"
> #define PACKAGE_VERSION "8.3.6"
> #define PG_KRB_SRVNAM "postgres"
> #define PG_VERSION "8.3.6"
> #define PG_VERSION_NUM 80306
> #define PG_VERSION_STR "PostgreSQL 8.3.6 on sparc-sun-solaris2.10,  
> compiled by GCC gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)"
> #define STRERROR_R_INT
> #define USE_PAM 1
> #define USE_SSL 1
> #define WORDS_BIGENDIAN 1
>
> configure: exit 1
>
> What does an exit code 1 from configure mean?

config.log ends with a long list of definitions and variables that
configure detected.  The output you actually want is just above the long
#define list, and the sections that say "output variables" and "cache
variables".

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



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


end of thread, other threads:[~2009-03-05 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 20:27 Configure exit 1 Carol Walter <walterc@indiana.edu>
2009-03-05 20:42 ` Carol Walter <walterc@indiana.edu>
2009-03-05 20:43 ` Tom Lane <tgl@sss.pgh.pa.us>
2009-03-05 20:56 ` Alvaro Herrera <alvherre@commandprompt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox