On Mon, Nov 29, 2004 at 05:07:49PM +0000, Jo�o Correia wrote:
> James I get this:
>
> [EMAIL PROTECTED] gateway-1.4.0]# patch -p0 <mysql-redhat-configure.patch
> patch unexpectedly ends in middle of line
> patch: **** Only garbage was found in the patch input.
> [EMAIL PROTECTED] gateway-1.4.0]#
bleh :( well ... ? patch file corrupted? what emailer do you use?
something else? what patch version?
look in your configure file
ls -al it
ls -al configure configure.orig mysql-redhat-configure.patch
-rwxrwxr-x 1 jamesc jamesc 168767 Nov 29 16:50 configure
-rwxrwxr-x 1 jamesc jamesc 168753 Oct 6 16:55 configure.orig
-rw-rw-r-- 1 jamesc jamesc 440 Nov 29 16:50
mysql-redhat-configure.patch
should be exactly that many bytes
that patch would only work if you had not edited configure file
so unpack gateway-1.4.0 again if needed to get clean configure
edit your configure file by hand
--- configure 2004-11-09 14:15:18.000000000 +0000
+++ ../gateway-1.4.0/configure 2004-10-06 16:55:59.000000000 +0100
@@ -4542,7 +4542,7 @@
fi
if test -z "$MYSQL_LIBS" ; then
- MYSQL_LIBS="$($MYSQL_CONFIG --libs |sed s/\'//g)"
+ MYSQL_LIBS="$($MYSQL_CONFIG --libs)"
echo $ac_n "checking mysql libs""... $ac_c" 1>&6
echo "configure:4548: checking mysql libs" >&5
echo "$ac_t"" $MYSQL_LIBS " 1>&6
goto line 4542, go down to line MYSQL_LIBS="$($MYSQL_CONFIG --libs)"
put in the sed
be very careful
I kicked off a build which had not finished when I sent last email.
Build ran fine, looks good. checks all pass, running now on my box as service.
Red Hat Linux release 9 (Shrike)
James.