Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127781 - Request for shipping apr_dbd_mysql with Apache httpd 2.2 (and apr-1.2.6)
Summary: Request for shipping apr_dbd_mysql with Apache httpd 2.2 (and apr-1.2.6)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://svn.apache.org/viewcvs.cgi/apr...
Whiteboard:
Keywords:
Depends on:
Blocks: 128501
  Show dependency tree
 
Reported: 2006-03-27 12:42 UTC by W-Mark Kubacki
Modified: 2007-06-15 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
apr-util-1.2.6.ebuild (apr-util-1.2.6.ebuild,2.09 KB, text/plain)
2006-03-27 14:27 UTC, W-Mark Kubacki
Details
apr-1.2.6.ebuild (apr-1.2.6.ebuild,1.07 KB, text/plain)
2006-03-27 14:29 UTC, W-Mark Kubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description W-Mark Kubacki 2006-03-27 12:42:35 UTC
mod_auth_mysql does currently not work with Apache 2.2.x. mod_authn_dbd is its successor.

Unfortunately there is no option in current Apache 2.2.x ebuilds (although masked) to compile Apache with support for MySQL. 

Please, include support for MySQL in dev-libs/apr-util and/or net/www/apache.
Comment 1 W-Mark Kubacki 2006-03-27 14:27:53 UTC
Created attachment 83263 [details]
apr-util-1.2.6.ebuild

APR-Util ebuild with MySQL support. The line with wget is rather an ugly hack.
Comment 2 W-Mark Kubacki 2006-03-27 14:29:35 UTC
Created attachment 83264 [details]
apr-1.2.6.ebuild

To be complete, a copy of apr-1.2.2 named apr-1.2.6.
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-03-27 21:40:05 UTC
When I started working on putting apr 1.2 into the tree, I tested this. I couldn't get MySQL to work correctly (IIRC it wouldn't even compile). Does mysql support actually *work* for you?

I put the mysql support aside to get apache 2.2 in the tree. I may look into this further at some point, but it may be awhile.
Comment 4 W-Mark Kubacki 2006-03-28 05:20:05 UTC
It does compile with the above ebuilds. (Please see http://svn.ossdl.de/all/ossdl/ for recent ones.)

Unfortunately, when activating "mysql" or "sqlite3" (I did not test plain "sqlite", yet) as DBDriver Apache throws SEGFAULTs. 
Someone has already reported this to Apache's mailing lists:
http://mail-archives.apache.org/mod_mbox/httpd-users/200602.mbox/%3C1DAD734F-5B5D-4EEB-A476-1386B2E1F4AB@automaticrootbeer.com%3E
Comment 5 Conrad Kostecki gentoo-dev 2006-11-26 23:41:06 UTC
BlackBox / # emerge --info
Portage 2.1.2_rc2-r2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i586)
=================================================================
System uname: 2.6.18-gentoo-r3 i586 Geode(TM) Integrated Processor by AMD PCS
Gentoo Base System version 1.12.6
Last Sync: Mon, 27 Nov 2006 06:50:01 +0000
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k6-2 -Os -mmmx -m3dnow -pipe -fomit-frame-pointer -mfpmath=387 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 / acpi alsa apache2 berkdb bzip2 caps cdinstall clamav crypt cups dedicated elibc_glibc ftp gd gpm iconv imap input_devices_keyboard input_devices_mouse jabber java javascript jpeg jpeg2k kernel_linux ldap linguas_de mbox mmx mp3 mysql mysqli ncurses nls nptl odbc offensive pam pcre php png postgres readline samba sasl session slang snmp spell ssl symlink tcpd threads tiff truetype unicode usb userland_GNU vhosts video_cards_cyrix video_cards_fbdev video_cards_nsc video_cards_v4l video_cards_vesa video_cards_vga vorbis xinetd xml zlib"
Unset:  CTARGET, INSTALL_MASK
Comment 6 Christian Heim (RETIRED) gentoo-dev 2007-06-15 15:29:49 UTC
I don't think we're changing apr/apr-util just now to support apr_dbd_mysql. Maybe we'll look at it once apache-2.2 is stable.
Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2007-06-15 17:59:29 UTC
mysql support added to apr-util-1.2.8-r1 ...
Comment 8 Benedikt Böhm (RETIRED) gentoo-dev 2007-06-15 18:00:09 UTC
... therefore resolved fixed