Monday, November 12, 2007

Building BerkeleyDB on Solaris 10

This may be a running blog entry. So far the first problem I ran into was getting the 'configure' script to run correctly. The error I kept getting was that my C compiler did not create executables. The problem was that Solaris has a native 'cc' compiler in the /usr/ucb/bin directory. Apparently Berkeley DB configuration always looks for the native compiler before looking for 'gcc'. So the answer was to set the CC environment variable to 'gcc' and then everything worked. Of course this presuemes that gcc is installed. I have been amazed at the amount of 'stuff' I had to install on Solaris after the initial install. The Solaris package management system leaves much to be desired (as far as I can tell -- maybe I'm just missing something). I was reduced to the old method of trying to install a package, check the dependency errors, then tracking back to install the dependicies first, etc. It took a while to setup all the tools that I was used to getting when would work on a clean RedHat install.

3 comments:

adam brown said...

Hi, this is not so related to your page, but it is the site you asked me 1 month ago about the abs diet. I tried it, worked well. Well here is the site

MP3 e MP4 said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the MP3 e MP4, I hope you enjoy. The address is http://mp3-mp4-brasil.blogspot.com. A hug.

David said...

If you need help about solaris,please go for www.unix-tutorials.com.


Bangkok hotels