?
Solved

FreeBSD can't install PostgreSQL 8.0

Posted on 2005-03-04
1
Medium Priority
?
533 Views
Last Modified: 2013-11-22
I previously had PostgreSQL 7.4 installed, I removed it and trying to install 8.0. Although I deinstalled the 7.4 client and server when I tried installing version 8.0 it complained that postgresql74-client is still installed. I manually removed the pgsql user and the directory (maybe I shouldn't have done this). I manually did it because I went to the ports and deinstalled and it didn't complained about anything, but the directories were still there.

when I tried to installing postgresql80-client it gives me output below:

bruno# make install clean
===>   postgresql-client-8.0.1 depends on executable: gmake - found
===>   postgresql-client-8.0.1 depends on shared library: krb5.3 - found
===>   postgresql-client-8.0.1 depends on shared library: intl - found
===>  Configuring for postgresql-client-8.0.1
MIT's and Heimdal Kerberos are mutually exclusive.
Please choose one or the other.
*** Error code 1

Stop in /usr/ports/databases/postgresql80-client.
bruno#

I'm stuck and don't want to reinstall the OS, I'm sure there's some easy way around. I should mention also, I'm got Apache with PHP install, and not sure if because if the PostgreSQL extension for PHP might be using the 7.4 client which might be causing any problems.
0
Comment
Question by:Squig
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 62

Accepted Solution

by:
gheist earned 1000 total points
ID: 13470074
make clean
rm -rf /var/db/ports/postgresql*

make install clean

Or you may use portupgrade port to do this in correct way.
Since you deleted all database data, there islittle or no reason to be careful at all.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question