Hi Matt,
  I'm no Mac expert (not even a Mac user, sorry), so forwarding this to
the development lists of apreq and Apache::Test (the test framework)

On 07/06/2011 18:38, Matt waller wrote:
> Hi,
>
> I'm trying to install Apache2::Request using cpan.
> I'm using a mac.
> The mac would like me to recompile perl and all modules using 64 bit
> architecture, if it were to let me use the default httpd settings with
> the default mod_perl.so
> However I can start httpd using a 'preferred architecture flag' and so
> use 32 bit perl and 32 bit mod_perl.so.
> basically in the apachectl I have:
>
> HTTPD='/usr/sbin/httpd'
> ARCH='/usr/bin/arch -i386 '
>
> and then later I go:
>
> $ARCH $HTTPD $ARGV
>
> .. so anyway, this works quite well.
>
> So I've got a long way into installation, and figured out macs don't
> like the location that the newly compiled libapreq2.3.dylib was left in,
> so I manually moved that to /usr/lib/
> and so I'm basically one step away from being able to run the test
> section of installation.
>
> If I manually do:
> /usr/bin/arch -i386 /usr/sbin/httpd  -d
> /Users/mw6/.cpan/build/libapreq2-2.13/module/t -f
> /Users/mw6/.cpan/build/libapreq2-2.13/module/t/conf/httpd.conf -D
> APACHE2 -D PERL_USEITHREADS
> it just works..
>
> but without the arch flag, the tests don't work.
>
> So what suggestions do you have for either providing a custom path to
> httpd for this module (eg; i might be able to create a script to do
> startup)
> or just a way to do what I want.
>
> Thanks for any help,
>
>
> Matt.

Reply via email to