Bug 245214

Summary: adminserver: Solaris port for 1.1
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: AdminAssignee: 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:59:33 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 Flags
diffs
none
cvs commit log
none
cvs commit log - fix build breakage none

Description Rich Megginson 2007-06-21 18:10:18 UTC
There are several problems related to building and running mod_admserv on Solaris.

Comment 1 Rich Megginson 2007-06-21 18:10:18 UTC
Created attachment 157561 [details]
diffs

Comment 2 Noriko Hosoi 2007-06-21 22:19:10 UTC
Your fixes look good.

Comment 3 Rich Megginson 2007-06-22 01:39:57 UTC
Created attachment 157589 [details]
cvs commit log

Reviewed by: nhosoi (Thanks!)
Files: see diff
Branch: HEAD
Fix Description: Fortitude can supply different components, depending on the
operating system.  On Fedora, mod_nss and Apache are already there, so we don't
use Fortitude.
On RHEL4, we use Fortitude for mod_nss.
On Solaris, we use Fortitude for Apache and mod_nss.
I've created a fortitude.m4 that can handle all of these cases, and changed the
existing httpd.m4 and mod_nss.m4 to first see if fortitude.m4 has found the
component.  configure will also pass the proper --with flags to mod_admserv and
mod_restartd.
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.
There were a few other minor porting issues which required the additional
compiler defines and use of config.h.
We need to set the libpath before using the @cgibindir@/config program.
LIBPATH was not being set correctly on Solaris because I was using the extended
sort flags instead of the standard ones.
Platforms tested: Solaris 9 64bit
Flag Day: no
Doc impact: no

Comment 4 Rich Megginson 2007-06-22 02:33:36 UTC
Created attachment 157592 [details]
cvs commit log - fix build breakage

Fix Description: Fix build breakage involving CXXLINK and LINK

Comment 5 Nathan Kinder 2007-12-21 18:51:09 UTC
We have been building and running adminserver on Solaris for quite some time
now.  Our Console automated tests have been testing the functionality.

Marking as VERIFIED.