[rt-users] rt and Mac OSX Panther server

Dean Brissinger Dean.Brissinger at vexcel.com
Tue Feb 17 20:04:48 EST 2004


Peter and anyone else trying to use Panther:

    Panther is not well documented.  So here is a 10-step guide to the
trials you will encounter and the things out outside of the
documentation that you need to know.

1) Disable the firewall:

        To make setup and debugging a whole lot easier you should make
        sure the firewall is NOT running.  Open the firewall tab in the
        Sharing control panel and click Stop if it is running.



2) Repair the buggy Panther Perl:

        Panther has a bug in it that prevents DBD::mysql from
        building!    The patch is to edit the file:
        
               
        /System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config.pm
        
        Locate this line:
        
                ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc'
        
        and replace it with:
        
                ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'
        


3) Build an Apache server with a static mod_perl module:

        Apache must be built statically with mod_perl.  I've tested the
        mod_perl that comes with Panther and had very bad results.
        
        * Download the current mod_perl1 from http://perl.apache.org/.
        
        * Download Apache 1.3.29 from
        http://httpd.apache.org/download.cgi.
        
        * For the most part you will use the mod_perl1 instructions for
        building and installing your new web server.  A few catches:  a)
        Do NOT trust the quick and dirty guide for the impatient!  It
        skips critical steps!  b) to build the Makefile and configure
        for Panther's existing httpd.conf you need to add some
        APACI_ARGS that configure Apache.  This is done by using this
        command in place of the command provided in the mod_perl
        documentation (broken in to multiple lines just for e-mail
        formatting):
        
        % perl Makefile.PL APACHE_SRC=../apache_1.3.29/src \
               DO_HTTPD=1 USE_APACI=1 \
               APACI_ARGS="--enable-module=most \
               --enable-shared=max --with-layout=Darwin" \
               EVERYTHING=1
        
        

4) Remove apple's HFS and Rendezvous modules:

        Edit /etc/httpd/httpd.conf and comment out the lines that try to
        load hfs_apple_module and rendezvous_apple_module.  There are 4
        of them.
        
        There may be a way to get the hfs and rendezvous modules to
        work.  However, this is not something I needed support for and
        spent no time on.  I doubt it, but you may find help for these
        modules on http://www.opendarwin.org/.  I believe they are
        Apple's and unavailable as source.



5) Install MySQL

        You need mysql before you can build all the Perl dependancies
        for RT.  I suggest Complete MySQL from
        http://www.serverlogistics.com/mysql.php.  The Installer is a
        standard MacX install GUI.  There are two things you must beware
        of:
        
        
                * To install the Complete MySQL control panel.  Just
                double-click it.  Don't drag it to the PrefPanes
                folder.  This behavior was changed in Panther and the
                documentation for Complete MySQL was not updated.
                
                * DON'T SET A MYSQL ROOT PASSWORD.  A mysql root
                password will prevent the Perl dependencies from
                building with CPAN.  If you want to use this feature set
                the password only after RT is up and running.



6) Setup RT!  (YAY!)

        You should follow the directions provided with RT.  A few of the
        perl modules required by RT must be forced to install because
        the tests want to run as user nobody.  For these 3 or so perl
        modules just force the install.  There is also one that has 3
        failed tests (98% passed).  You should force this one to install
        also as the failures do not affect RT.  As of this writing, I
        have only gotten RT 3.0.8 to work on Panther.  3.0.9 may or may
        not work.
        
        To force a perl module to install using CPAN start CPAN from the
        command prompt then use the force install command:
        
        
                % perl -MCPAN -e shell
                cpan> force install DBI::mysql
                
        
        Using DBI::mysql as an example.



7) Setup Postfix

        The postfix configuration on 10.3 is standard.  Refer to the
        Postfix documentation.  I cannot explain in detail how to
        configure it because e-mail is unique to your environment. 
        However, the things you will need to do include enabling SMTP in
        /etc/postfix/master.cf to let your Panther machine get mail from
        outside hosts.  You will also need to setup an aliases file to
        put the RT e-mail aliases in.  In the postfix file look for
        alias_maps.  Then set it up like so:
        
        
                alias_maps = hash:/etc/aliases
        
        
        You then can edit /etc/aliases, add the RT aliases, and you are
        set to go.  One small oddity I found with Panther is that you
        have to run two commands to get the aliases to "really" take
        effect:
        
        
                # postalias /etc/aliases
                # newaliases



8) Setup the firewall and start it:

        Not ever environment is concerned with security.  If you are
        not, leave the firewall off.  If you are, turn the firewall on
        but make sure to open ports for web hosting (port 80, WWW) and
        receiving e-mail (port 25, SMTP).



9) Help is on-line:

        Check out the RT3 users list at bestpractical.com for any
        problems you bump in to.  Google is also a great resource. 
        Searching for an exact error message in Google groups often
        shows that someone already had the same problem.  Once you've
        got it working, you should share your wisdom with others and
        help support free software for all.  :-)



10) Go back to step 9.



On Fri, 2004-02-13 at 20:03, peter.hein at wright.edu wrote:

> My adventures with OS X Panther and rt
> 
> After a couple of re-installs of the os and variations on compiling and 
> installing I come to the list of 
> wisdom for guidance. I have read about problems with DBI and DBD perl modules 
> with Panther - 
> along with lines of threaded versions vs non threaded. I have also read of 
> problems using gcc3 
> instead of gcc2 when compiling the modules. I have gone through the 
> perl/threaded-darwin../ env 
> config change. This fixed some issues while breaking others. I was able to 
> force install DBI - by 
> hand, but it never worked quite right and DBD still never installed. In fact 
> for the life of me I can't 
> get these two to work in any way. It seems there is a dark road to travel to 
> get these components to 
> run under Panther.
> 
> I have a dual-1.25G4 Panther Server 10.3.2 all updates. I have compile my own 
> Apache 1.3.x, and 
> installed MySQl 4.x and they work fine. It is this perl issue that keeps 
> beating me down. While I 
> don't usually noodle under the hood everyday, I don't get lost when I get in 
> the trenches - until now 
> !?!
> 
> Is it worth fighting this battle? I have read, it seems, that most/some people 
> have it running on 
> 10.2.8. Does this make installation easier due to earlier versions of 
> software? I don't mind using 
> 10.2.8 if this issue clear up. I do have a license for Jaguar Server at the 
> office.
> 
> Peter N. Hein
> Wright State University - CaTS - Network Services
> Macintosh Software Specialist II
> peter.hein at wright.edu
> voice: 937.775.4949
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm






Dean J. Brissinger
Senior Systems Administrator

303-583-0278 (direct)
303-583-0200 (main)
303-583-0246 (fax)
Dean.Brissinger at vexcel.com
www.vexcel.com

1690 38th Street
Boulder, CO  80301  USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040217/870b01c0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vexcellogo.jpg
Type: image/jpeg
Size: 1579 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040217/870b01c0/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-3.png
Type: image/png
Size: 819 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040217/870b01c0/attachment.png>


More information about the rt-users mailing list