Bug 245214 - adminserver: Solaris port for 1.1
Summary: adminserver: Solaris port for 1.1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Admin
Version: 1.1.0beta
Hardware: sparc
OS: Other
low
low
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 240316 FDS1.1.0
TreeView+ depends on / blocked
 
Reported: 2007-06-21 18:10 UTC by Rich Megginson
Modified: 2015-12-07 16:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:59:33 UTC
Embargoed:


Attachments (Terms of Use)
diffs (17.36 KB, patch)
2007-06-21 18:10 UTC, Rich Megginson
no flags Details | Diff
cvs commit log (3.05 KB, text/plain)
2007-06-22 01:39 UTC, Rich Megginson
no flags Details
cvs commit log - fix build breakage (1.46 KB, text/plain)
2007-06-22 02:33 UTC, Rich Megginson
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.