From: Kroc on 15 Jul 2010 11:12 On 15 juil, 15:21, Georgios Petasis <peta...(a)iit.demokritos.gr> wrote: > I am having ActiveTcl 8.6 beta on Leopard (not snow). > And the latest TDK (5.2). Sorry, I can't help you with ActiveTcl: I only run Tclkit. -- David Zolli
From: Georgios Petasis on 16 Jul 2010 14:53 στις 15/7/2010 13:06, O/H Georgios Petasis έγραψε: > Hi all, > > I am trying to wrap an app for OSX, but some packages seem to not exist. > Any ideas? > > For example, searching with the keyword "tdbc" in packages, I get only > "tdbc::sqlite3", but not the plain "tdbc". > Also, tdom seems to also not been available, but doing package require > tdom in tclsh8.6 returns 0.8.3. > > Any ideas why? > > [BTW, Tk applications seem extremely ugly under OSX. buttons seem, to > have "square" around, and ttk ones show only the label, skipping images? > And there are some "white" areas...] > > George Finally, I managed to find a solution. In the tab packages, I specified manually a teapot (the default one at /Library/Tcl/teapot). Then in the basic tab, just below the button to select the prefix file, there is a button for selecting a base file from the configured teapot repositories. There, I selected base-tk-thread, and all the missing packages (like tdom, sqlite3) are now available. I suppose because it is more recent than the base files that come with TDK? George
From: Georgios Petasis on 16 Jul 2010 15:02 στις 16/7/2010 21:53, O/H Georgios Petasis έγραψε: > στις 15/7/2010 13:06, O/H Georgios Petasis έγραψε: >> Hi all, >> >> I am trying to wrap an app for OSX, but some packages seem to not exist. >> Any ideas? >> >> For example, searching with the keyword "tdbc" in packages, I get only >> "tdbc::sqlite3", but not the plain "tdbc". >> Also, tdom seems to also not been available, but doing package require >> tdom in tclsh8.6 returns 0.8.3. >> >> Any ideas why? >> >> [BTW, Tk applications seem extremely ugly under OSX. buttons seem, to >> have "square" around, and ttk ones show only the label, skipping images? >> And there are some "white" areas...] >> >> George > > Finally, I managed to find a solution. In the tab packages, I specified > manually a teapot (the default one at /Library/Tcl/teapot). > > Then in the basic tab, just below the button to select the prefix file, > there is a button for selecting a base file from the configured teapot > repositories. There, I selected base-tk-thread, and all the missing > packages (like tdom, sqlite3) are now available. > > I suppose because it is more recent than the base files that come with TDK? > > George But unfortunately, the produced executable does not find the packages. For example, despite tdom has been wrapped, it is not found when the wrapped executable runs :-( George
From: AndreasK on 16 Jul 2010 17:26 On Jul 16, 12:02 pm, Georgios Petasis <peta...(a)iit.demokritos.gr> wrote: Hello Georgios, > ÏÏÎ¹Ï 16/7/2010 21:53, O/H Georgios Petasis ÎγÏαÏε: > > > > > ÏÏÎ¹Ï 15/7/2010 13:06, O/H Georgios Petasis ÎγÏαÏε: > >> Hi all, > > >> I am trying to wrap an app for OSX, but some packages seem to not exist. > >> Any ideas? > > >> For example, searching with the keyword "tdbc" in packages, I get only > >> "tdbc::sqlite3", but not the plain "tdbc". > >> Also, tdom seems to also not been available, but doing package require > >> tdom in tclsh8.6 returns 0.8.3. In the global 'Pefrences' of TclApp you can check and configure where TclApp is looking for packages. You can configure the set of paths where .tap files are looked for, and the set of TEApot repositories to use, local or otherwise. > > >> Any ideas why? > > >> [BTW, Tk applications seem extremely ugly under OSX. buttons seem, to > >> have "square" around, and ttk ones show only the label, skipping images? > >> And there are some "white" areas...] > > >> George > > > Finally, I managed to find a solution. In the tab packages, I specified > > manually a teapot (the default one at /Library/Tcl/teapot). Yes, that is the second place in TclApp where it is possible to configure the set of TEApot repositories to search for packages. Contrary to the global preferences this information is per project, i.e. saved and loaded with the .tpj file. > > Then in the basic tab, just below the button to select the prefix file, > > there is a button for selecting a base file from the configured teapot > > repositories. There, I selected base-tk-thread, and all the missing > > packages (like tdom, sqlite3) are now available. One thing to note when looking at the 'Packages' dialog is the text at the top, just above the filter entry field. It tells you for what platforms packages are shown. With a prefix it shows tcl packages and packages matching the platform of the prefix. Without a prefix it defaults to 'only tcl' and tells you so. In that case (i.e. starkit generation) explicitly setting a platform to wrap for (Basic tab, button in bottom left corner) will enable the display and search of the binary packages for that platform. > But unfortunately, the produced executable does not find the packages. > For example, despite tdom has been wrapped, it is not found when the > wrapped executable runs :-( That I cannot explain without having more information than you have given us so far. I can only suspect that you may have a local configuration (project) error that others won't be able to reproduce. It is best to just direct these to our support channel so we can help you directly. -- Andreas Kupries Senior Tcl Developer ActiveState, The Dynamic Language Experts P: 778.786.1122 F: 778.786.1133 andreask(a)activestate.com http://www.activestate.com Get insights on Open Source and Dynamic Languages at www.activestate.com/blog
From: Georgios Petasis on 17 Jul 2010 06:21 στις 17/7/2010 00:26, O/H AndreasK έγραψε: > > That I cannot explain without having more information than you have > given us so far. I can only suspect that you may have a local > configuration (project) error that others won't be able to reproduce. > It is best to just direct these to our support channel so we can help > you directly. > Dear Andreas, I am not sure what you mean by support channel. This forum? http://community.activestate.com/forums/tdk-support I cannot post there: while I am logged in (according to the top of the page), the rest of the page suggests to login in order to post, which does not work as login.activestate.com cannot be located. Regards, George
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: any really good aolserver powered online forums? Next: Font compatibility problem or bug? |