Skip site navigation (1) Skip section navigation (2)

Re: Failed compile PostgreSQL 7.1.2 on AIX 5.1

From: Michał Pasternak <doc(at)lublin(dot)t1(dot)pl>
To: "BigWhat(dot)com" <ml(dot)postgres(at)bigwhat(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Failed compile PostgreSQL 7.1.2 on AIX 5.1
Date: 2001-07-27 02:46:20
Message-ID: 20010727044620.A3612@lublin.t1.pl (view raw or flat)
Thread:
Lists: pgsql-ports
BigWhat.com [Thu, Jul 26, 2001 at 10:24:00AM -0400]:
> I am attempting to compile PostgreSQL 7.1.2 on an IBM B50 running AIX 5.1.
> Running configure with --with-perl and/or --with-python works fine but when
> I do the next step and run gmake it goes fine until the following error. If
> someone could point me in the direction of what exactly is causing the error
> I would appreciate it greatly.
> 
> <!-- BEGIN Error Message -->
> gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
> access/SUBSYS
> .o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
> executo
> r/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
> optimizer/SU
> BSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
> storage
> /SUBSYS.o tcop/SUBSYS.o
> tils/SUBSYS.o -lz -lPW -lld -lnsl -ldl -lreadline  -o p

Try adding -lm (or whatever math libray on AIX is called) to above line
It should look like:
  
  gcc options files -lz -lm -lPW -lld -lnsl and so
                                          ~~~~

-- 
[ Michal Pasternak     doc(at)lublin(dot)t1(dot)pl     +48606570000  ]
[ sklepy internetowe, bazy danych, programy na zamówienie ]
[ . .. ..- .- . .. http://lublin.t1.pl . .-. .--.. . . .- ]

In response to

pgsql-ports by date

Next:From: BigWhat.comDate: 2001-07-30 15:52:59
Subject:
Previous:From: BigWhat.comDate: 2001-07-26 14:24:00
Subject: Failed compile PostgreSQL 7.1.2 on AIX 5.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group