[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Help on Solaris Install--Its not working



On Mon, May 07, 2001 at 09:43:44AM -0700, Doug Cabell wrote:
> I am running Solaris 8 and trying  to install OpenLDAP.
> 
> 
> I am running Sleepycat 3.2.9 and it is in the /usr/local/BerkeleyDB 3.2
> directory.
> 
> I am using the latest version of gcc to compile.
> 
> 
> I get the following error:
> ---
> # ./configure --with-ldbm-api=db2

1.  it's often much more sensible to NOT do configures/builds as root.
  Because often, root's environment isnt set up correctly. See #4, below.

2. reconfigure/recompile/install sleepycat with
   ./configure --prefix=/usr/local

3. Just use plain ./configure, and read the output to see if it picks up
   berkeley db.


4.

> checking whether make sets ${MAKE}... ./configure: make: not found
> no

this says your compile environment is completely screwed up.

As in "your PATH isnt set right, and you've probably messed up other
things on top of that.".


Lemme guess: you're normally a csh user, and you dont realize that you 
need to "export PATH" when using an sh-derivative like /sbin/sh for root.