Hi,

I need to install Ldap and had no success in making it work on solaris 8.
Is there any solaris version of Ldap. After a unsuccessful installation from 
the openldap.org site, I looked at sun's free ware site
http://www.sunfreeware.com/ (more precisely 
ftp://ftp.sunfreeware.com/pub/freeware/sparc/5.8/)under solaris8 where i 
found openldap-2.0.7-sol8-sparc-local.gz.
I could gunzip it but cannot do pkgadd as I am not root.
dot:>pkgadd -d openldap-2.0.7-sol8-sparc-local
pkgadd: ERROR: You must be "root" for pkgadd to execute properly.

Is there any binary version that has been tested on solaris sparc 5.8 
version??

Waiting for some help!!! :(

Thanks,
Pavan Sura.



From: "PavanKumar Sura" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Openca-Users] Ldap help!
Date: Sun, 01 Sep 2002 23:29:08 -0400

Hi Michael,

Thanks for the clarification about Ldap. I was releaved to know that I donot 
need any ldap modules for RA server. So I started to install Ldap on sloaris 
(On RA server). I almost succeeded to install Ldap. Sorry for puting this 
question on OpenCA list. I thought you must have definetly succeeded 
installing Ldap on solaris.

Machine hardware:   sun4u
OS version:         5.8
Processor type:     sparc
Hardware:           SUNW,Ultra-5_10
with Sun WorkShop University Edition 5.0

./configure, "make depend", make and "make test" work fine
But make install ends up with error.

Error always ends with these lines after make install command.
==================================================================
/usr/local/bin/install: `./lber.h' and 
`/home/pkira/public_html/pavansura/openld
ap-2.1.2/include/lber.h' are the same file
/usr/local/bin/install: `lber_types.h' and 
`/home/pkira/public_html/pavansura/op
enldap-2.1.2/include/lber_types.h' are the same file
/usr/local/bin/install: `./ldap.h' and 
`/home/pkira/public_html/pavansura/openld
ap-2.1.2/include/ldap.h' are the same file
/usr/local/bin/install: `./ldap_cdefs.h' and 
`/home/pkira/public_html/pavansura/
openldap-2.1.2/include/ldap_cdefs.h' are the same file
/usr/local/bin/install: `./ldap_schema.h' and 
`/home/pkira/public_html/pavansura
/openldap-2.1.2/include/ldap_schema.h' are the same file
/usr/local/bin/install: `./ldap_utf8.h' and 
`/home/pkira/public_html/pavansura/o
penldap-2.1.2/include/ldap_utf8.h' are the same file
/usr/local/bin/install: `ldap_features.h' and 
`/home/pkira/public_html/pavansura
/openldap-2.1.2/include/ldap_features.h' are the same file
make[1]: *** [install-local] Error 1
make[1]: Leaving directory 
`/home/pkira/public_html/pavansura/openldap-2.1.2/inc
lude'
make: *** [install-common] Error 1
dot:>
==================================================================


I am loking at OpenLdap site and other online resources for help but found 
no clue for the past two days.
I even tried to install different versions of OpenLdap both stable and 
release versions. No use again.

Here is my config file "configure.sura"

====================================================================
#! /bin/bash

export CPPFLAGS="-I/usr/gnu/include
-I/home/pkira/BerkeleyDB.4.0/include
-I/home/pkira/public_html/pavansura/openssl-0.9.7/include"
export LDFLAGS="-L/home/pkira/BerkeleyDB.4.0/lib
-R/home/pkira/BerkeleyDB.4.0/lib
-L/home/pkira/public_html/pavansura/openssl-0.9.7/lib
-R/home/pkira/public_html/pavansura/openssl-0.9.7/lib"

./configure \
--prefix=/home/pkira/public_html/pavansura/openldap-2.1.4 \
--without-cyrus-sasl \
--enable-ldbm
==================================================================

My actual configure.sura has all the lines of each export in a single line. 
Also I installed cyrus-sasl and set its path in the CPPFLAGS and LDFLAGS but 
i was getting some error in make command so i decided to configire 
--without-cyrus-sasl
Also i removed enable-wrappers as the configuration didnot find the 
wrappers.

I also realized that though i gave the path to Berkeley DB 4 (which i 
installed) my configuration is not using DB4 rather it is using default db 
that is available on my machine.
Only openldap-2.1.4 and openldap-2.1.3 are able to use BerkeleyDB.4.0
Rest all versions are using some other old Berkeeley DB version that is 
installed in Unix.

I beleive I may have to add some more lines in configure.sura...??
make test does all the 15 tests without problem..

Any help would be appreaciated.
Thank you all for all your help.


Pavan Sura.


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to