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

Problems at 'make' stage on Solaris 2.9

From: Stephen Weigand <Weigand(dot)Stephen(at)mayo(dot)edu>
To: pgsql-ports(at)postgresql(dot)org
Subject: Problems at 'make' stage on Solaris 2.9
Date: 2004-10-27 18:11:22
Message-ID: 200410271811.i9RIBMW05968@blindpig.mayo.edu (view raw or flat)
Thread:
Lists: pgsql-ports
Hi List,

I'm on Solaris 2.99 and gcc 3.2.3 and am not a 
privileged user. I have downloaded postgresql-7.4.6 
and use the configure options (based on limited
experience and knowledge):

./configure --without-readline 
            --prefix= $HOME/local/pgsql 
            --with-includes=/opt/gnu/include      
            --with-libraries=/opt/gnu/lib

with my $PATH being set by

set path=(/opt/gnu/bin /usr/bin)

(which I do because there are a couple of versions 
of gcc on my system.)

The last line of config.log is
"configure: exit 0" which I think is good news?

When I run make (using GNU make 3.80) I get:

make -C doc all
make[1]: Entering directory `$HOME/postgresql-7.4.6/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `$HOME/postgresql-7.4.6/doc'
make -C src all
make[1]: Entering directory `$HOME/postgresql-7.4.6/src'
make -C port all
make[2]: Entering directory `$HOME/postgresql-7.4.6/src/port'
ar crs libpgport.a isinf.o getopt_long.o qsort.o path.o sprompt.o 
thread.o
make[2]: ar: Command not found
make[2]: *** [libpgport.a] Error 127
make[2]: Leaving directory `$HOME/postgresql-7.4.6/src/port'
make[1]: *** [all] Error 2
make[1]: Leaving directory `$HOME/postgresql-7.4.6/src'
make: *** [all] Error 2

My understanding is that our system has some files in 
special places so I wonder if I need to specify the 
location of additional libraries and includes? I can
try to find them if I know what to look for.

Any help would be appreciated. 

Thank you,

Stephen

:::::::::::::::::::::::::::::::::
Stephen Weigand, M.S.
Division of Biostatistics
Mayo Clinic Rochester, Minn., USA
(507) 266-1650


Responses

pgsql-ports by date

Next:From: Michael FuhrDate: 2004-10-27 18:45:13
Subject: Re: Problems at 'make' stage on Solaris 2.9
Previous:From: Adrian MaierDate: 2004-10-26 06:13:54
Subject: Re: [HACKERS] Question on the 8.0Beta Version

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