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



Rodrigo Moya wrote:

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

_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list
Here is the patch against the libgda.spec.in file.
--- libgda.spec.in.orig	2002-12-31 16:10:09.000000000 -0500
+++ libgda.spec.in	2002-12-31 16:11:29.000000000 -0500
@@ -44,6 +44,9 @@
 BuildRequires:    unixODBC-devel
 %endif
 
+%if %{SQLITE}
+BuildRequires:	  sqlite-devel
+%endif
 
 %description
 libgda is a library that eases the task of writing
@@ -207,6 +210,7 @@
 %dir %{_libdir}/libgda
 %dir %{_libdir}/libgda/providers
 %{_libdir}/libgda/providers/libgda-default.so
+%{_mandir}/man1/gda-config-tool.1*
 
 %files devel
 %defattr(-,root,root)
@@ -260,6 +264,10 @@
 
 
 %changelog
+* Tue Dec 31 2002 David Hollis <dhollis davehollis com>
+- Added sqlite-devel buildreq
+- Include gda-config-tool man page
+
 * Mon Aug 19 2002 Ben Liblit <liblit acm org>
 - Fixed version number substitutions
 


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