Mathew, Aaron,
Thank you for your response.
I have installed my OpenLDAP version to a custom location (and running
on a different port), since I needed it running in an environment with
no root privileges. This location was provided to the configure script
-
./configure --with-libldap= <ldaplocation>/lib
--with-ldap-includes=<ldaplocation>/include
"configure" did show one warning for the "missing" script that comes
bundled with this version -
openldap-2.3.23/contrib/ldapc++/missing: Unknown `--run' option
Running "make" after this showed the errors below.
I'm using the sunstudio 8 suite of compilers. Libtool (version 1.5),
automake (1.9) and autoconf (version 2.59) were all installed recently
to /usr/local/bin.
The truss output does not show any missing errors. The only ENOENT
occurrences are for temporary files that are subsequently created.
---------------------- begin excerpt ----------------------
:
23561: stat("/usr/local/lib/libc.so.1", 0xFFBFEA48) Err#2 ENOENT
23561: stat("/usr/lib/libc.so.1", 0xFFBFEA48)
:
:
:
23561: stat("/jinhua1/openldap/sbin/libdl.so.1", 0xFFBFEA48) Err#2
ENOENT
23561: stat("/usr/lib/libdl.so.1", 0xFFBFEA48) = 0
:
:
23561: ioctl(4, TCGETA, 0xFFBFEEA4) Err#25 ENOTTY
23561: read(4, " # T h i s i s a ".., 8192) = 8192
:
:
23561: open("aclocal.m4", O_RDONLY) = 4
23561: fstat64(4, 0xFFBFEE40) = 0
23561: fstat64(4, 0xFFBFECE8) = 0
23561: ioctl(4, TCGETA, 0xFFBFEDCC) Err#25 ENOTTY
23561: read(4, " # g e n e r a t e d ".., 8192) = 8192
:
:
23561: open("configure.in", O_RDONLY) = 4
23561: fstat64(4, 0xFFBFEE40) = 0
23561: fstat64(4, 0xFFBFECE8) = 0
23561: ioctl(4, TCGETA, 0xFFBFEDCC) Err#25 ENOTTY
23561: read(4, " d n l C o p y r i g h".., 8192) = 2532
:
:
sysconfig(_CONFIG_MAXPID) = 30000
23561: lstat64("/var/tmp/aaa^HxbaibU", 0xFFBFED10) Err#2 ENOENT
23561: open("/var/tmp/aaa^HxbaibU", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
23561: unlink("/var/tmp/aaa^HxbaibU") = 0
---------------------- end excerpt ----------------------
Thanks,
Peter
-----Original Message-----
From: matthew sporleder [mailto:msporleder@gmail.com]
Sent: Tuesday, May 30, 2006 9:53 AM
To: Peter DSouza
Cc: openldap-software@openldap.org
Subject: Re: Building C++ sdk on Solaris 9
On 5/30/06, Peter DSouza <pdsouza@esri.com> wrote:
>
>
> Hi all,
>
>
>
> I've tried to find a good solution online for the problem below, but
> haven't been successful. I'm trying to build the C++ SDK that comes
> with OpenLDAP 2.3.23. The "make" command returns an error that comes
> from autoheader -
>
>
>
> autoheader: WARNING: Using auxiliary files such as `acconfig.h',
> `config.h.bot'
> autoheader: WARNING: and `config.h.top', to define templates for
> `config.h.in'autoheader: WARNING: is deprecated and discouraged.
> autoheader:
> autoheader: WARNING: Using the third argument of `AC_DEFINE' and
> autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
> without
> autoheader: WARNING: `acconfig.h':
> autoheader:
> autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
> autoheader: [Define if a function `main' is needed.])
> autoheader:
> autoheader: WARNING: More sophisticated templates can also be
produced,
> see the
> autoheader: WARNING: documentation.
> configure.in:22: /usr/local/bin/m4: ERROR: Reading inserted file: No
> such file or directory
> autom4te: /usr/local/bin/m4 failed with exit status: 1
> autoheader: /usr/local/bin/autom4te failed with exit status: 1
>
>
>
> This is on Solaris 9. I'm using autoheader 2.59. Any help on this
> front would be greatly appreciated.
>
> I'd be glad to furnish any other details that may be needed to figure
> this out.
>
Maybe you could be a little more specific about the steps you took.
Did you run configure? If so, with which commands? What's your
environment? What compiler are you using?
etc, etc, etc.
I've been building things successfully with solaris 8 and 10 for a
while, and I'm sure other people on this list build with solaris 9 all
the time.
_Matt