You are here

can't start friom sources

Hello!

The same error on Ubuntu 6.06 and 7.10:

./Coccinella.tcl
Error in startup script: image "buttonok" doesn't exist
while executing
"button .__tk__messagebox.ok -padx 3m -text ОК -underline 0 -command {set tk::Priv(button) ok}"
("eval" body line 1)
invoked from within
"eval $wcmd"
(procedure "tk::AmpWidget" line 12)
invoked from within
"tk::AmpWidget button .__tk__messagebox.ok -padx 3m -text &ОК -command {set tk::Priv(button) ok}"
("eval" body line 1)
invoked from within
"eval [list tk::AmpWidget button $w.$name -padx 3m] $opts [list -command [list set tk::Priv(button) $name]]"
(procedure "tk::MessageBox" line 200)
invoked from within
"tk::MessageBox -icon error -title Ошибки -message {This application requires the tile package to work! couldn't load file "/home/dm/Coccinella-0..."
("eval" body line 1)
invoked from within
"eval tk::MessageBox $args"
(procedure "tk_messageBox" line 2)
invoked from within
"tk_messageBox -icon error -title [mc Error] -message "This application requires the tile package to work! $::errorInfo""
(procedure "::Init::LoadPackages" line 31)
invoked from within
"::Init::LoadPackages"
(file "./Coccinella.tcl" line 181)

There is something in faq about broken image package in faq, but I can't understand answer :-(

Forum: 

Which Coccinella version are you trying and which Tcl/Tk version are you using?

Hello!

tcl 8.4
tk 8.4
coccinella 0.96.6
on ubuntu 6.06/amd64

This normally is fixed in cvs. Can you test tomorrow's daily build to verify? (or get the cvs version)

Hello!

I downloaded breakfast :-)
Looks like this problem is fixed, but now I can't start coccinella because it contains x86 binary libs,
couldn't load file"libtile0.7.3.so"
...
wrong ELF class ELFCLASS32
...
I run x86-64 Ubuntu.
Is coccinella 64-bit compatible?

Thank you!

Can you try to run with Tcl/Tk 8.5? That Tcl/Tk version includes the Tile theming and so this binary is not needed.

Hello!

With 8.5 I have the same problem with treectrl- libtreectrl.so is for i686 :-(

I'm as lost as you are here. The only recomendation I have is to start building the parts yourself. Could you start wish, type 'wish' or wiish8.5, and then do
parray tcl_platform
I use this info to figure out which binaries are compatible, but I've learnt that there is no systematic way of doing this.

>The only recomendation I have is to start building the parts yourself

I see.
I thought that I can run/build sources on any (almost) platform with tcl support without too much work ;-)
Unfortunately, I have no time now to build libraries :-(((

I thought that I can run/build sources on any (almost) platform with tcl support without too much work ;-)

Yes, but there are dependencies not written in Tcl ;-)

This issue is an indirect cause of a missing tile libe as explained below, and I fixed it some time ago.