You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rebecca Lovelace <go...@gmail.com> on 2006/06/01 04:11:45 UTC

Installing mod-perl on Tiger

Hi, apologies if this has come up before.  I already requested the FAQ
and message indexes and nothing appears set up in that department.

I recently upgraded to Tiger and installed Apache 2.0.50.  I then
tried to install mod-perl 2.0.2.  When I ran make after building the
makefile, I was told that my makefile had been rebuilt and I should
run make again.  When I run make the second time, I got tons of errors
such as:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/perl.h:2286:
parse error before "I32"
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/perl.h:2286:
warning: no semicolon at end of struct or union
/usr/include/regexp.h:84: conflicting types for `regcomp'
...
make[1]: *** [mod_perl.lo] Error 1
make: *** [modperl_lib] Error 2

Does anyone have any suggestions on debugging this?  Could it be some
conflict with Developer Tools libraries and Apache?  I'm not that
familiar with how Apache interfaces with the OSX libraries (if at all)
and I don't see a lot of Mac-related Apache/Perl docs out there.
Maybe I am just looking in the wrong place.

Any advice would be appreciated, even if it's just as simple as a
recommendation for me to understand the underlying integration.

Thanks!
Rebecca

Re: Installing mod-perl on Tiger

Posted by Sean Davis <sd...@mail.nih.gov>.


On 5/31/06 11:35 PM, "Jonathan Vanasco" <jo...@2xlp.com> wrote:

> 
> On May 31, 2006, at 10:11 PM, Rebecca Lovelace wrote:
>> 
>> Any advice would be appreciated, even if it's just as simple as a
>> recommendation for me to understand the underlying integration.
> 
> my advice (apologies if you know this, i'm just copy pasting from an
> older email)
> 
> make sure devtools is installed
> use the built-in perl - its easier
> build apache2 from scratch - don't use the osx one
> build modperl from scratch.  make sure you link against the apache2
> you built - not the osx one
> build expat from scratch if you need any libxml stuff

I second that notion.  Building from source on the OSX has been really
straightforward in my experience.  However, trying to integrate with the
included version of apache is prone to produce headaches.

Sean


Re: Installing mod-perl on Tiger

Posted by Jonathan Vanasco <jo...@2xlp.com>.
On May 31, 2006, at 10:11 PM, Rebecca Lovelace wrote:
>
> Any advice would be appreciated, even if it's just as simple as a
> recommendation for me to understand the underlying integration.

my advice (apologies if you know this, i'm just copy pasting from an  
older email)

	make sure devtools is installed
	use the built-in perl - its easier
	build apache2 from scratch - don't use the osx one
	build modperl from scratch.  make sure you link against the apache2  
you built - not the osx one
	build expat from scratch if you need any libxml stuff

hope that helps



  - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -