Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > postgresql troubles

postgresql troubles
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Toronto, ON, Canada
Status: Offline
Reply With Quote
Apr 24, 2003, 02:53 PM
 
From previous OpenOSX GRASS GIS CD installation of PostgreSQL--which was giving me problems--I (foolishly!) tracked down 'pgsql' and 'postgresql' which I deleted except for '/opt/local/pgsql' and the file '/System/Library/PHP/DB/pgsql.php' which I've temporarily renamed. I then made new directories '/usr/local/src' and '/usr/local/src/postgres' into which I downloaded and unpacked 'postgresql-7.3.2.tar.gz'.

As per ADC article "PostgreSQL on Mac OS X" on "Internet Developer
Web Development & Mac OS X" I ran 'configure' and 'make' but on running 'make install' I had errors as below:

...

All of PostgreSQL successfully made. Ready to install.
[Eyreka:src/postgres/postgresql-7.3.2] eyreka% make install
make -C doc install
mkdir /usr/local/pgsql
mkdir /usr/local/pgsql/doc
mkdir /usr/local/pgsql/doc/html
make[1]: *** [installdirs] Error 1
make: *** [install] Error 2


Please help. I have complete record of 'configure' and 'make' if needed.
(Last edited by eyreka; Apr 25, 2003 at 01:26 AM. )
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 25, 2003, 12:24 PM
 
It may just be a permissions issue. Make sure you use "sudo" when you do the "make install" after the make.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
eyreka  (op)
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Toronto, ON, Canada
Status: Offline
Reply With Quote
Apr 25, 2003, 02:26 PM
 
Originally posted by Arkham_c:
It may just be a permissions issue. Make sure you use "sudo" when you do the "make install" after the make.
Thanks--yes, that was my problem!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:47 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2