OpenMacNews wrote:
> i'm bldg modperl2 (r443381) on OSX 10.4.7 w/ Apache/2.2.4-dev, APR
> 1.2.8-dev, APR-Util 1.2.8-dev (all r443341), perl 588 amd msql 5.0.22
For future reference thats good -- because apr-util 1.2.7 has a bug in 
build/dbd.m4 for detecting mysql
so you really do need branches/1.2.x at the moment .... Bill Wrowe posted to 
[EMAIL PROTECTED] on 09/07 and intent to roll
RC's for the next versions very soon.

At any rate, 1.2.8-dev will do -- hope it didn't take you 6 hours to figure 
that out like it did me.

> @ "perl Makefile.PL MP_APXS=/usr/local/apache2/sbin/apxs MP_USE_DSO"
MP_USE_DSO is the default you don't need it.

>     Writing Makefile for ModPerl::WrapXS
>     Note (probably harmless): No library found for -lmysqlclient_r
>     Writing Makefile for APR
Duplicated; However, I get this in my generated Makefile.PL

$ grep mysql xs/APR/APR/Makefile.PL
#     LIBS => 
[q[-L/usr/local/software/freebsd-6.1-stable/3.4.4/apr-util/r447019/lib 
-laprutil-1 -lmysqlclient_r -lexpat
-L/usr/local/software/freebsd-6.1-stable/3.4.4/mysql/5.0.24/lib/mysql 
-lmysqlclient_r -lz -pthread -lcrypt -lm  -pthread
-L/usr/local/lib  
-L/usr/local/software/freebsd-6.1-stable/3.4.4/apr/r447019/lib -lapr-1 -lcrypt  
-lpthread]]

EXTRALIBS = -L/usr/local/software/freebsd-6.1-stable/3.4.4/apr-util/r447019/lib 
-laprutil-1 -lexpat
-L/usr/local/software/freebsd-6.1-stable/3.4.4/mysql/5.0.24/lib/mysql 
-lmysqlclient_r -lz -L/usr/local/lib
-L/usr/local/software/freebsd-6.1-stable/3.4.4/apr/r447019/lib -lapr-1 -lpthread

LDLOADLIBS = 
-L/usr/local/software/freebsd-6.1-stable/3.4.4/apr-util/r447019/lib -laprutil-1 
-lexpat
-L/usr/local/software/freebsd-6.1-stable/3.4.4/mysql/5.0.24/lib/mysql 
-lmysqlclient_r -lz -lcrypt -lm -L/usr/local/lib
-L/usr/local/software/freebsd-6.1-stable/3.4.4/apr/r447019/lib -lapr-1 -lcrypt 
-lpthread
BSLOADLIBS =

Also, this is nothing more then an annoyance for the MOMENT as there is NO XS 
GLUE in mod_perl for apr-util's apr_dbd_*
(YET) ... I'm particularly interested in seeing some such glue and would look 
for an attempt at it in mod_perl 2.0.5 (or
quite possibly 2.2)

------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
       <___/

Reply via email to