Re: [gnome-db] building libgda without freetds provider

David T Hollis wrote:

I'm trying to build the latest libgda but I'm having problems with the FreeTDS and found the following problem: I have FreeTDS installed but the provider isn't liking the headers being in /usr/include/freetds. configure finds everything fine and the right -I is passed on the CFLAGS but gda-freetds-provider.c bombs not being able find tds.h. I figured, no problem, I'm not using FreeTDS right now so I'll set it to 0 in the spec file. No luck. Bombs at the same spot. I tried to hand compile it passing --without-freetds to configure but it still picks up the headers and enables support. Need to ensure that if the user explicitly says "I don't want that!" that configure doesn't try to helpfully enable. I'd work up a patch but it's a little late. Maybe tomorrow if no one beats me to it.

gnome-db-list mailing list
gnome-db-list gnome org

Turns out it was the spec file that wasn't correct. If TDS was disabled, the spec was adding --without-freetds to configure, but configure simply wanted --without-tds. Patch attached.

---	2003-03-11 07:16:12.000000000 -0500
+++	2003-03-11 07:17:54.000000000 -0500
@@ -149,9 +149,9 @@
 %if %{FREETDS}
-CONFIG="$CONFIG --with-freetds"
+CONFIG="$CONFIG --with-tds"
-CONFIG="$CONFIG --without-freetds"
+CONFIG="$CONFIG --without-tds"
 %if %{IBMDB2}
@@ -287,6 +287,9 @@
+* Tue Mar 11 2003 David Hollis <dhollis davehollis com>
+- Fix --with-tds & --without-tds to match what configure wants
 * Tue Jan 28 2003 Yanko Kaneti <yaneti declera com>
 - Remove the idl path
 - Include gda-config man page

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