Unable to install Berkeley DB v6: conflicting install ... how??

Frederick C. Lee frederick.c.lee at gmail.com
Thu Jan 14 13:46:13 PST 2010


Thanks for the quick reply:

I followed your suggestion and moved: /bin, /lib & /include directories from
the /usr/local to the desktop.
{I couldn't find which file was causing the problem so I moved their
directories.}

Then I re-installed the db46 (using force, verbose & clean):

[/Users/Ric]sudo port

MacPorts 1.8.1

Entering interactive mode... ("help" for help, "quit" to quit)

[Users/Ric] > install -f -v -c db46

--->  Computing dependencies for db46

--->  Extracting db46

--->  Applying patches to db46

--->  Configuring db46

--->  Building db46

--->  Staging db46 into destroot

--->  Installing db46 @4.6.21_6

--->  Activating db46 @4.6.21_6

--->  Cleaning db46

... as you see, it went well.

New /bin, /iib & /include directories weren't recreated; so I'll return the
originals intact.
I hope there won't be further conflicts.

Ric.

On Thu, Jan 14, 2010 at 1:20 PM, Joshua Root <jmr at macports.org> wrote:

> On 2010-1-15 08:12 , Frederick C. Lee wrote:
> > Greetings:
> >      I'm attempting to install gtk2 which depends on db46; which bombed.
> > So I've tried to explicitly install db46 confirm:
> >
> >
> > [Users/Ric] > install -v -c db46
> > --->  Computing dependencies for db46
> > --->  Extracting db46
> > Error: You have a conflicting install of Berkeley DB in /usr/local,
> > please move it aside before building db46
> > Error: Target org.macports.extract returned: Berkeley DB in /usr/local
> > is in the way
> > Error: Status 1 encountered during processing.
> > Goodbye
> >
> >
> ------------------------------------------------------------------------------------------
> > I had manually removed the Berkeley DB from /usr/local:
> >
> > [/Users/Ric]ls /usr/local
> > ActivePerl-5.8/          httpd-2.2.6/
> >  mysql-5.1.22-rc-osx10.4-i686/
> > CPAN-1.9203/           httpd-2.2.6.tar.gz                perl/
> > apache2/                   include/                             php5/
> > bin/                           info/
>  share/
> > git/                            lib/
> src/
> > graphviz-2.14/            libexec/
> >  svn_installer_backup/
> > hermes/                     man/
> >
> > --------
> >
> > But every time I try to install db46, MacPorts always says db46 is
> > blocking it from within /usr/local.
> > But as you can see, it's not there!
>
> No, we can't see that from the listing you've provided. There are
> probably BDB headers or libraries in /usr/local/include or
> /usr/local/lib (respectively) still.
>
> - Josh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100114/400742fb/attachment.html>


More information about the macports-users mailing list