Dear mysqltcl users,

the mysqltcl port is currently broken because a header of the MySQL 5.0.24a client port is faulty. If you use an older version of MySQL then mysqltcl builds without problems. Install it with

  make -DNO_IGNORE install clean

If you use MySQL 5.0.24a then copy the attached patch to

  /usr/ports/databases/mysqltcl/files

and build the port as mentioned above.

I don't want to submit the patch because I suppose the error will be corrected in future versions of MySQL.

Regards
Bjoern
--- generic/mysqltcl.c.old      Tue Sep 19 17:13:05 2006
+++ generic/mysqltcl.c  Tue Sep 19 17:13:18 2006
@@ -53,6 +53,8 @@
 
 enum MysqlHandleType {HT_CONNECTION=1,HT_QUERY=2,HT_STATEMENT=3};
 
+typedef unsigned long ulong;
+
 typedef struct MysqlTclHandle {
   MYSQL * connection;         /* Connection handle, if connected; NULL 
otherwise. */
   char database[MYSQL_NAME_LEN];  /* Db name, if selected; NULL otherwise. */
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to