I've been successful in getting the Berkeley DB package to run under Solaris
2.6.
First I downloaded the 'db.1.86' package from "ftp://sleepy.vwh.net/pub/"
Then I extracted and tried building the sunos52 port. I ran into four errors
with signed integer types in include/db.h. I commented those out and
successfully built libdb.a. I then copied libdb.a to /usr/local/lib, and
db.h to /usr/local/include, and cdefs.h to /usr/local/include/sys.
I then tried building and installing the DB_File module. However, I had
repeated problems running perl with it.
I then stepped back, and rebuilt perl from scratch.(I deleted the build
directory I had been using, and extracted the tar anew.) Configure was able
to detect the correct db library version and correctly built itself.
I have been using it since.
Zebee Johnstone wrote:
> From: Zebee Johnstone <zebee@cse.unsw.edu.au>
>
> Looking in the archives, other people have it running on Solaris...
>
> I'm using PC Solaris, 2.6
>
> Trouble is that this installation does not have the Berkely DB
> database stuff, but the gnu one, gdbm. So the module DB_file.pm
> can't be compiled, so the bits of cricket that need that don't
> work.
>
> I have collection working fine, but setting up the graphing is
> not.
>
> Can cricket be set up to use AnyDB_pm instead of DB_File.pm? If not,
> can someone point me to a copy of the db stuff I can compile and
> install (I need db.h and libdb.a) on this box? I got the "latest"
> from a gnu mirror and it was for Solaris 2.2 and required header
> files I don't have...
>
> Zebee
> --
> Zebee Johnstone zebee@cse.unsw.edu.au
> System/Network Administrator
> School of Computer Science and Engineering
> University of New South Wales Kensington NSW 2052 Australia
> Phone: +61-2-9385-4781
>
> ------------------------------------------------------------------------
> ONElist members are using Shared Files in great ways!
> http://www.onelist.com
> Are you? If not, see our homepage for details.
-- Matthew Lee Stier * Fujitsu Network Communications Unix Systems Administrator | Two Blue Hill Plaza Ph: 914-731-2097 Fx: 914-731-2011 | Sixth Floor Matthew.Stier@fnc.fujitsu.com * Pearl River, NY 10965
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:51 PST