Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TDBC with ActiveTcl 8.6

182 views
Skip to first unread message

Bruce Johnson

unread,
Jan 26, 2013, 12:16:24 PM1/26/13
to
I'm trying to load tdbc::mysql with the latest ActiveTcl8.6 on a 64bit Ubuntu system
Linux onemoonscientific.com 2.6.32-042stab049.7 #1 SMP Thu Mar 1 18:03:05 MSK 2012 i686 GNU/Linux

but get an error about TclOO.

Help would be appreciated.

Bruce


# /opt/ActiveTcl-8.6/bin/tclsh8.6
% package require TclOO
1.0
% package require tdbc
1.0b17
% package require tdbc::mysql
Error loading TclOO package; package not present or incomplete
% set errorInfo
Error loading TclOO package; package not present or incomplete
while executing
"load /opt/ActiveTcl-8.6/lib/teapot/package/linux-glibc2.3-x86_64/lib/tdbc_mysql1.0b15/libtdbcmysql1.0b15.so tdbcmysql"
("package ifneeded tdbc::mysql 1.0b15" script)
invoked from within
"package require tdbc::mysql"

Teacup list shows:


/opt/ActiveTcl-8.6/bin/teacup list --at-default tdb
entity name version platform
------- ----------- ------- ---------------------
package tdbc 1.0b17 linux-glibc2.3-x86_64
package tdbc::mysql 1.0b15 linux-glibc2.3-x86_64
------- ----------- ------- ---------------------
2 entities found

George Petasis

unread,
Jan 26, 2013, 12:39:11 PM1/26/13
to
Try "teacup update". Version 1.0 of the packages will be installed.

George

Bruce Johnson

unread,
Jan 26, 2013, 1:56:41 PM1/26/13
to

Bruce Johnson

unread,
Jan 26, 2013, 1:58:28 PM1/26/13
to
I did
teacup remove
teacup update

Which I assume should remove everything and then install everything. After that I have the following versions and still get the same error.

Bruce


teacup list --at-default tdb
entity name version platform
------- -------------- ------- ---------------------
package tdbc::mysql 1.0b15 linux-glibc2.3-x86_64
package tdbc::odbc 1.0b15 linux-glibc2.3-x86_64
package tdbc::postgres 1.0b15 linux-glibc2.3-x86_64
package tdbc::sqlite3 1.0.0 tcl
------- -------------- ------- ---------------------
4 entities found
root@onemoonscientific:/home/scripts/wlist/notUsed#
root@onemoonscientific:/home/scripts/wlist/notUsed# tclsh8.6

Bruce Johnson

unread,
Jan 26, 2013, 5:14:38 PM1/26/13
to
I built Tcl 8.6 from the latest source and now have tdbc 1.0.0 and everything works fine.
Not sure why I was getting older versions from the ActiveState teapot.

Andreas Kupries

unread,
Jan 30, 2013, 12:24:50 AM1/30/13
to
Bruce Johnson <bruce....@gmail.com> writes:

> I built Tcl 8.6 from the latest source and now have tdbc 1.0.0 and everything works fine.
> Not sure why I was getting older versions from the ActiveState teapot.
>> ------- -------------- ------- ---------------------
>>
>> package tdbc::mysql 1.0b15 linux-glibc2.3-x86_64

64bit linux ... Checked, this platform does not have the 1.0 packages
yet. Will check tomorrow they were not built, or published.

--
So long,
Andreas Kupries <akup...@shaw.ca>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>

Tcl'2013, Sep 23-27, New Orleans, LA, USA.
EuroTcl'2013, Jul 6-7, Munich, GER
-------------------------------------------------------------------------------
0 new messages