Bug 245208
Summary: | adminutil: Solaris port for 1.1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> | ||||||||
Component: | Admin | Assignee: | Rich Megginson <rmeggins> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 1.1.0beta | ||||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | sparc | ||||||||||
OS: | Other | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-12-07 16:38:56 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 240316, 427409 | ||||||||||
Attachments: |
|
Description
Rich Megginson
2007-06-21 17:36:36 UTC
Created attachment 157558 [details]
diffs
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
Branch: HEAD
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)
to_be_verified_by_dev We have been successfully building and using adminutil on Solaris for some time now. Marking as verified. |