Re: [gnome-db] Gnome DB 0.9 / FreeTDS 0.60 fixes



On Mon, 2002-12-30 at 07:17, David T Hollis wrote:
> Here are some patches I created to get the 0.9 SRPMS (RH8) to compile 
> correctly on my system.  I tweaked the FreeTDS spec file to put the .a 
> files (static-link libs) in the -devel package for cleanliness and had 
> to create a patch for the configure script for libgda to find the 
> FreeTDS headers in the right place (/usr/include/freetds).
> 
> 
> ______________________________________________________________________
> 
> --- freetds.spec	2002-12-12 09:51:17.000000000 -0500
> +++ freetds.spec.new	2002-12-30 00:57:39.000000000 -0500
> @@ -3,16 +3,19 @@
>   
this patch, I guess, should be sent to the FreeTDS developers, some of
which might be listening in this list
________________________________________________________________________
> 
> --- configure.in.orig	2002-12-30 00:55:56.000000000 -0500
> +++ configure.in	2002-12-30 00:56:56.000000000 -0500
> @@ -284,7 +284,7 @@
>  	AC_MSG_CHECKING(for freetds files)
>  	for d in $dir /usr/local/freetds /usr /opt/freetds /opt/packages/freetds /opt/freetds-0.50
>  	do
> -		if test -f "$d/include/tds.h" -a -e "$d/lib/libtds.so" -a -f "$d/include/tdsver.h"
> +		if test -f "$d/include/freetds/tds.h" -a -e "$d/lib/libtds.so" -a -f "$d/include/freetds/tdsver.h"
>  		then
that won't work on my debian system, which has FreeTDS headers in
/usr/include, not /usr/include/freetds. So, could you please modify the
patch to work on both cases?


> --- libgda.spec	2002-12-30 00:49:37.000000000 -0500
> +++ libgda.spec.new	2002-12-30 01:12:17.000000000 -0500
> @@ -13,7 +13,7 @@
seems correct to me, but you should be patching libgda.spec.in instead,
since libgda.spec is generated from it. Please resend the patch for the
correct file and I'll apply it.

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]