Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 58647
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sébastien Riccio <madjik@dancefloor.ch>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 58647 depends on: Show dependency tree
Bug 58647 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-28 05:25 0000
When trying to emerge vpopmail 5.4.x builds i got a compilation error. It looks
like it is searching for mysql.h and it is available in /usr/include/mysql.



Reproducible: Always
Steps to Reproduce:
1. emerge vpopmail

Actual Results:  
vauth.c:33:19: mysql.h: No such file or directory
vauth.c:40: error: syntax error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:41: error: syntax error before "mysql_read_getall"
vauth.c:41: warning: type defaults to `int' in declaration of
`mysql_read_getall
'


Expected Results:  
Compiled vpopmail :)

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-
gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP 1900+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/s
hare/config /usr/share/config /var/qmail/alias /var/qmail/control
/var/vpopmail/
domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache apm arts avi berkdb crypt cups encode esd foomaticdb gd gdbm gif 
gpm gtk2 imap imlib innodb java jikes jpeg kde libg++ libwww mad maildir mikmod 
mmx motif mpeg mysql ncurses nls nocd odbc oggvorbis opengl oss pam pdflib perl 
png prelude python qt quicktime readline ruby sdl slang snmp spell ssl svga 
tcltk tcpd truetype x86 xml2 xmms xv zlib"

------- Comment #1 From Tuan Van (RETIRED) 2004-08-21 14:08:45 0000 -------
please try vpopmail-5.4.6.

------- Comment #2 From Sébastien Riccio 2004-08-24 11:01:53 0000 -------
Same problem with 5.4.6 and 5.4.6, but now i get the problem.

I tried a little work that thing out... and discovered that when compiling, configure reports this:

auth inc = -I/usr/local/include/mysql
auth lib = -L/usr/local/lib/mysql  -lmysqlclient -lz -lm

but it should be /usr/include/mysql and /usr/lib/mysql

If i look into the original vpopmail configure options, I can see this:

  --enable-incdir=DIR        Your MySQL/Oracle 'include' directory.
  --enable-libdir=DIR        Your MySQL/Oracle 'lib' directory.

Looking closer at the .ebuild files i can see this:

     --enable-libs=/usr/include/mysql \
     --enable-sqllibdir=/usr/lib/mysql \

Looks like these configure options have been renamed.

When replacing these with :

     --enable-incdir=/usr/include/mysql \
     --enable-libdir=/usr/lib/mysql \

Everythings compile successfully.

It would be nice to apply these changes to the original .ebuild files.

Thank you.



------- Comment #3 From Robin Johnson 2004-08-24 11:12:04 0000 -------
In CVS now.
In future, please don't mark a bug as resolved+fixed until we have it in CVS.
It might easily get lost and forgotten about as already done.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug