|
|
Newb: Please help with install of Berkeley DB
|
|
|
|
Mac Enthusiast
Join Date: May 2001
Status:
Offline
|
|
Hi,
I'm wanting to upgrade to the new version of PoPfile.
To do this I need to install the Berkeley DB from < http://www.sleepycat.com>
I'm following the instructions at < http://www.sleepycat.com/xmldocs/ref...nix/intro.html>
When I do:
cd dbxml-1.1/lib/db-4.1.25/build_unix
../dist/configure --enable-cxx
make
make install
I get:
[simonmartins-computer:~/Desktop/db-4.1.25/build_unix] simon% make install
mkdir: /usr/local/BerkeleyDB.4.1: No such file or directory
make: *** [install_setup] Error 1
[simonmartins-computer:~/Desktop/db-4.1.25/build_unix] simon%
Can someone help me past this?
Thanks!
Simon
London Uk
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: May 2000
Location: NY, NY, USA
Status:
Offline
|
|
Now keep in mind, I'm not on a Mac right now, but if I remember, OS X doesn't have a /usr/local/ by default. Just do a cd /usr; mkdir local
and maybe it'll work?
6116
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: May 2001
Status:
Offline
|
|
Originally posted by 6116:
Now keep in mind, I'm not on a Mac right now, but if I remember, OS X doesn't have a /usr/local/ by default. Just do a cd /usr; mkdir local
and maybe it'll work?
6116
6116,
Thanks for the quick reply...
When I do: cd /usr; mkdir local I get told that 'File exists'.
Perhaps I need to do: cd /usr; mkdir local/BerkeleyDB.4.1 ?
But isn't that what 'make install' is trying to do anyway?
Simon
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: May 2001
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Aug 2001
Status:
Offline
|
|
Originally posted by 6116:
Now keep in mind, I'm not on a Mac right now, but if I remember, OS X doesn't have a /usr/local/ by default. Just do a cd /usr; mkdir local
and maybe it'll work?
6116
No no no. You don't need to create the directory manually. You DO need to be su to make install
ie
% sudo make install
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: May 2001
Status:
Offline
|
|
Originally posted by riverfreak:
No no no. You don't need to create the directory manually. You DO need to be su to make install
ie
% sudo make install
riverfreak,
Bingo!
Thanks mate. Easy when you know how... :-)
Simon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|