pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error building on SCO
2+ messages / 2 participants
[nested] [flat]

* Error building on SCO
@ 2002-09-25 15:06  Sergio Pili <sergiop@uolsinectis.com.ar>
  0 siblings, 1 reply; 2+ messages in thread

From: Sergio Pili @ 2002-09-25 15:06 UTC (permalink / raw)
  To: pgsql-admin; +Cc: sergio.pili@uolsinectis.com.ar

Hi!

I nedd to compile it in SCO but the configure program abort.

Can you help me please?

Thank you!

Regards,

Sergio

------------------------------

OS version (from 'uname')
-------------------------
SCO Open Server 5.0.4
System = SCO_SV
Release = 3.2v5.0.4
KernelID = 97/05/07
Machine = Pentium Pro

gmake version
-------------
3.78.1

gcc version
-----------
2.95 19990728

Postgres version to install
---------------------------
7.2.1


---------------------


The output of configure is:

checking for sigsetjmp... yes
checking for optreset... no
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.

Last lines of configure log are:

configure:7358: checking for finite
configure:7367: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure:7382: checking for sigsetjmp
configure:7391: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure:7478: checking for optreset
configure:7490: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
Undefined			first referenced
 symbol  			    in file
optreset                            /usr/tmp/ccf1KTPQ.o
conftest: fatal error: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7483 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
configure:7516: checking test program
configure:7525: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure: failed program was:
#line 7521 "configure"
#include "confdefs.h"
int main() { return 0; }




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

* Re: Error building on SCO
@ 2002-09-25 22:06  Peter Eisentraut <peter_e@gmx.net>
  parent: Sergio Pili <sergiop@uolsinectis.com.ar>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2002-09-25 22:06 UTC (permalink / raw)
  To: Sergio Pili <sergiop@uolsinectis.com.ar>; +Cc: pgsql-admin@postgresql.org, <sergio.pili@uolsinectis.com.ar>

Sergio Pili writes:

> I nedd to compile it in SCO but the configure program abort.

Since your system didn't produce any output for the failed test, I can
only guess.  Maybe you need to export LD_LIBRARY_PATH=/usr/local/lib to
allow it to find the readline libraries.  Otherwise, try to compile the
test program yourself (including all the libraries) and see what it does.

-- 
Peter Eisentraut   peter_e@gmx.net




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


end of thread, other threads:[~2002-09-25 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25 15:06 Error building on SCO Sergio Pili <sergiop@uolsinectis.com.ar>
2002-09-25 22:06 ` Peter Eisentraut <peter_e@gmx.net>

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