> --- can't find package tclodbc
The *tcl* package tclodbc does not seem to be installed.
I never used this package myself, but I found this message where the
author of the *Oz* package describes how to install
the tcl package:
http://lists.gforge.info.ucl.ac.be/pipermail/mozart-users/2002/002244.html
Cheers,
Wolfgang
YULIBAN FERNANDO PENAGOS GOMEZ wrote:
Ey thank you so much, i am new using oz and mozart...
I have made what you tell me and it works, i have install the Tcl
package, but now i am getting this:
Tk Module: --- package require tclodbc
ozr [database drivers]
--- can't find package tclodbc
---
Tk Module: --- database configure config_dsn Microsoft\ Access\
Driver\ (*.mdb) [list "CREATE_DB=c:\\OzODBC\\testdb.mdb General"]
database configure add_dsn Microsoft\ Access\ Driver\ (*.mdb) [list
"DSN=testdb" "DBQ=c:\\OzODBC\\testdb.mdb"]
database connect testdb testdb "" ""
testdb {CREATE TABLE Table1 (IntData INTEGER, CharData CHAR (20),
DateData DATE)}
testdb {CREATE UNIQUE INDEX Table1_Ix1 ON Table1 (IntData)}
testdb {CREATE INDEX Table1_Ix2 ON Table1 (CharData, DateData)}
ozr [testdb tables]
--- invalid command name "database"
---
In the buffer Oz Emulator
Thanks again
Take care
> Date: Mon, 18 May 2009 20:27:47 +0200
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: xtclodbc
>
> Looks like you forgot to compile "tclodbc.oz".
> I see there is a makefile distributed with the package. So if you
are on
> Linux, you would simply type "make" in the directory.
> On Windows, you can compile the module manually with:
>
> ozc -c tclodbc.oz
>
> You will also need to install the Tcl package itself (
> http://sourceforge.net/projects/tclodbc ) but I have no idea how to do
> this with the Tcl version that is included in Mozart. (Somebody else
has
> a clue?)
>
> Cheers,
> Wolfgang
>
>
> YULIBAN FERNANDO PENAGOS GOMEZ wrote:
> > Hi i would like get some help with this example (wich i did download
> > from www.mozart-oz.org)
> >
> > when i compile it i get this:
> >
> > %********************** Error: module manager *******************
> > %**
> > %** Could not link module
> > %**
> > %** Could not load functor at URL: tclodbc.ozf
> > %**--------------------------------------------------------------
> >
> > so i would apreciate every possible help
> >
> > Thanks!!
> >
> >
> >
> >
------------------------------------------------------------------------
> > Explore the seven wonders of the world Learn more!
> >
<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE>
> >
> >
------------------------------------------------------------------------
> >
> >
_________________________________________________________________________________
> > mozart-users mailing list [email protected]
> > http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
------------------------------------------------------------------------
Discover the new Windows Vista Learn more!
<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users