Hi all,
I try to compile ezmlm with mysql see what I have got with the compilation
phase :
www:~/qmailnco# rpm --rebuild --clean --target i686
ezmlm-idx-mysql-0.53.324-4md
k.src.rpm
....
here it crashs
./load ezmlm-gate subdb.a getconf.o slurpclose.o slurp.o \
getopt.a getln.a auto_bin.o env.a sig.a fs.a \
strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a wait.a \
open.a lock.a seek.a `head -1 conf-sqlld`
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [ezmlm-gate] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.99481 (%build)
What can I do against this error ?
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.99481 (%build)
see somethings about my conf :
www:/usr/src/RPM/SPECS# ls /usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.a*
www:/usr/src/RPM/SPECS# rpm -qa | grep "mysql"
php-mysql-4.0.6-3mdk
www:/usr/src/RPM/SPECS# rpm -qa | grep "MySQL"
MySQL-devel-4.0.1-2
MySQL-shared-3.23.41-5mdk
MySQL-client-4.0.1-2
MySQL-4.0.1-2
www:/usr/src/RPM/SPECS# rpm -qf /usr/lib/mysql/libmysqlclient.a
MySQL-devel-4.0.1-2
www:/usr/src/RPM/SPECS#
the containt of the /var/tmp/rpm-tmp.99481 file :
#!/bin/sh
RPM_SOURCE_DIR="/usr/src/RPM/SOURCES"
RPM_BUILD_DIR="/usr/src/RPM/BUILD"
RPM_OPT_FLAGS="-O2 -march=i686"
RPM_ARCH="i386"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="ezmlm-idx-mysql"
RPM_PACKAGE_VERSION="0.53.324"
RPM_PACKAGE_RELEASE="4mdk"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
RPM_BUILD_ROOT="/var/tmp/ezmlm-idx-mysql-0.53.324-root"
export RPM_BUILD_ROOT
set -x
umask 022
cd /usr/src/RPM/BUILD
cd ezmlm-0.53
echo /usr/bin > conf-bin
echo /usr/share/man > conf-man
echo "gcc $RPM_OPT_FLAGS" > conf-cc
echo "gcc $RPM_OPT_FLAGS -s" > conf-ld
make mysql
make it install
# provide ascii files as well
if [ -x /usr/bin/lynx ]; then
pushd ezman
find * -name '*.html' | while read html; do
lynx -dump -nolist $html >${html%.html}.txt
done
popd
fi
exit 0
"/var/t
Thanks
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php