dbTalk Databases Forums  

[PORTS] Problems at 'make' stage on Solaris 2.9

mailing.database.pgsql-ports mailing.database.pgsql-ports


Discuss [PORTS] Problems at 'make' stage on Solaris 2.9 in the mailing.database.pgsql-ports forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Stephen Weigand
 
Posts: n/a

Default [PORTS] Problems at 'make' stage on Solaris 2.9 - 10-27-2004 , 01:20 PM






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


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Michael Fuhr
 
Posts: n/a

Default Re: [PORTS] Problems at 'make' stage on Solaris 2.9 - 10-27-2004 , 01:53 PM






On Wed, Oct 27, 2004 at 01:11:22PM -0500, Stephen Weigand wrote:
Quote:
ar crs libpgport.a isinf.o getopt_long.o qsort.o path.o sprompt.o thread.o
make[2]: ar: Command not found
Try adding /usr/ccs/bin to your PATH. That's where ar lives on
Solaris.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
  #3  
Old   
Stephen Weigand
 
Posts: n/a

Default Re: [PORTS] Problems at 'make' stage on Solaris 2.9 - 10-27-2004 , 05:23 PM



This was exactly the solution. I'm up and running.
Thanks!!

Quote:
Date: Wed, 27 Oct 2004 12:45:13 -0600
From: Michael Fuhr <mike (AT) fuhr (DOT) org


On Wed, Oct 27, 2004 at 01:11:22PM -0500, Stephen Weigand wrote:

ar crs libpgport.a isinf.o getopt_long.o qsort.o path.o sprompt.o thread.o
make[2]: ar: Command not found

Try adding /usr/ccs/bin to your PATH. That's where ar lives on
Solaris.

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.