There are several problems related to building and running adminutil on Solaris.
Created attachment 157558 [details]
You don't need to include a dummy C++ source file in order to force libtool to
use CXXLINK. The proper way to deal with this problem is to set "target_LINK =
$(CXXLINK)" in Makefile.am. This forces it to use the C++ linked for building a
particular target, even if all the source files that make up that target are
pure C code.
Please disregard my previous comment. I just noticed that the problem is that
CXXLINK is not defined at all if no C++ source files are listed in Makefile.am.
Created attachment 157576 [details]
cvs commit log
Reviewed by: nkinder (Thanks!)
Files: see diff - new file dummy.cpp
Fix Description: There are several problems with building/running adminutil on
Solaris. The biggest is that ICU introduces a dependency on C++. Solaris
requires linking with the C++ libraries and that also requires using C++ to
link as well. This means using the CXXLINK macro. However, automake will only
generate this macro if it detects a C++ source file in Makefile.am. So, we
have to introduce a dummy.cpp file to force automake to generate the CXXLINK
macro, then use that to link the shared libraries.
Accept automake version 1.10 or later.
Look for mozldap6 first, then mozldap.
Platforms tested: Solaris 9 64bit
Flag Day: Yes - autotool file changes
Created attachment 157585 [details]
cvs commit log - fix build breakage
Fix linux build breakage - use $(LINK) if not using $(CXXLINK)
We have been successfully building and using adminutil on Solaris for some time
now. Marking as verified.