Re: [users@httpd] httpd-2.2.3 / MySQL 5.0.24a - buildsteps and improved error reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I installed MySQL-5.0.24a from source into /usr/local, set it up (have
> it running), modified /etc/ld.so.conf and ran ldconfig.
> I downloaded httpd-2.2.3 and apr_dbd_myqsl.c again and applied your
> proposed changes to all those files. I'm using the apr/apr-util that is
> included with httpd-2.2.3.
You need apr 1.2.8-dev+ which uses mysql_confg find the libs and headers (if they these
are not in your standard paths)

> As far as I can tell, HAVE_MYSQL_H or HAVE_MYSQL_MYSQL_H are never
> defined but maybe I'm not looking in the right place (httpd source,
> mysql.h, don't know what else)..
pgollucci@xxxxxxxxxxxxxxx /home/pgollucci/dev/repos/asf/apr/apr-util/trunk 23 0>sgrep HAVE_MYSQL *
dbd/apr_dbd.c:#if APU_HAVE_MYSQL
include/apu.h.in:#define APU_HAVE_MYSQL         @apu_have_mysql@

> checking for Berkeley DB... found db4
> checking for default DBM... sdbm (default)
>   setting APRUTIL_EXPORT_LIBS to "-ldb-4.2"
>   setting APRUTIL_LIBS to "-ldb-4.2"
> /path/to/httpd-2.2.3/srclib/apr-util/configure: line 31266:
> APU_CHECK_DBD: command not found
> /path/to/httpd-2.2.3/srclib/apr-util/configure: line 31267:
> APU_CHECK_DBD_MYSQL: command not found
> /path/to/httpd-2.2.3/srclib/apr-util/configure: line 31268:
> APU_CHECK_DBD_SQLITE3: command not found
> /path/to/httpd-2.2.3/srclib/apr-util/configure: line 31269:
> APU_CHECK_DBD_SQLITE2: command not found
Never seen that.

> =============================
> When running make, I get these errors (sorry for the wrapping..):
[your apu did not compile with mysql linked in.]
--with-mysql=DIR
also see above for the 1.2.8-dev requirement.  I was not able to get this to work in 1.2.7
which comes with 2.2.3.

repos/asf/apr/apr/branches/1.2.x
repos/asf/apr/apr-util/branches/1.2.x

> I'm sure you got it to work because otherwise you surely wouldn't have
> written these buildsteps, but I can't get DBD-MySQL to work and I really
> don't know what I seem to be doing wrong here. ;-\
I've not yet gotten to actually trying to configure this.... :(


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@xxxxxxxxxx) 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."
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
       <___/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux