Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22963 - proftpd-1.2.9_rc1.ebuild fails with USE=mysql
Summary: proftpd-1.2.9_rc1.ebuild fails with USE=mysql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 17:17 UTC by Paul Giordano
Modified: 2003-06-17 10:10 UTC (History)
1 user (show)

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


Attachments
patch to proftpd-1.2.9_rc1.ebuild to allow mysql compile (proftpd-ebuild.diff,393 bytes, patch)
2003-06-16 17:20 UTC, Paul Giordano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Giordano 2003-06-16 17:17:39 UTC
Emerge when USE=mysql fails because of missing mysql.h include - needs same kind
of "--with-includes" that postgresql has.

Reproducible: Always
Steps to Reproduce:
USE=mysql emerge proftpd
Actual Results:  
mod_sql_mysql.c:137:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: parse error before "MYSQL"
....
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/proftpd-1.2.9_rc1/work/proftpd-1.2.9rc1/modules'
make: *** [modules] Error 2

!!! ERROR: net-ftp/proftpd-1.2.9_rc1 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! compile problem


Expected Results:  
>>> Completed installing into /var/tmp/portage/proftpd-1.2.9_rc1/image/


Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21-rc4-aa1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/
http://gentoo.seren.com/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/opt/portage/distfiles"
PKGDIR="/opt/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang
readline arts svga ggi java guile X sdl gpm tcpd pam libwww ssl python imlib
oggvorbis gnome gtk qt kde motif opengl aalib acl acpi alsa bonobo cdr dga
directfb dvd esd ethereal evo fbcon flash gb gd gphoto2 gtk2 gtkhtml imap ipv6
jikes lcms ldap matrox mbox mozilla mysql nas -nls oav odbc pda perl pic
postgres ruby samba sasl scanner slp snmp socks5 sse tcltk tetex tiff usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr
-falign-functions=4"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -ffast-math
-fforce-addr -falign-functions=4"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Paul Giordano 2003-06-16 17:20:14 UTC
Created attachment 13392 [details, diff]
patch to proftpd-1.2.9_rc1.ebuild to allow mysql compile
Comment 2 Jonathan Hitchcock 2003-06-17 02:35:03 UTC
I had the same problems, which the patch fixed.
Comment 3 Nick Hadaway 2003-06-17 10:10:42 UTC
added the mysql include directory to myconf... 
Also adding change to 1.2.8