Autor Tópico: [resolvido] instalar amsn 0.98.3 via terminal  (Lida 5069 vezes)

Offline fstapf

  • Usuário Ubuntu
  • *
  • Mensagens: 10
    • Ver perfil
[resolvido] instalar amsn 0.98.3 via terminal
« Online: 20 de MAR?O de 2010, 18:20 »
Olá!

Estou tentando instalar o amsn 0.98.3 via terminal porém ocorre o seguinte erro ao digitar o comando
sudo ./configure
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... configure: error: Unable to find Tcl directory or Tcl package is not tcl-dev

procurei o google sobre o tcl package mas não achei nada construtivo

estou usando o terminal porque a versão referida ainda não é possível de ser instalada via central de programas

alguém pode ajudar?
« Última modificação: 21 de MAR?O de 2010, 13:32 por fstapf »

Offline velox256

  • Usuário Ubuntu
  • *
  • Mensagens: 1.915
  • Debian é Debian... :)
    • Ver perfil
    • Linux Inside
Re: instalar amsn 0.98.3 via terminal
« Resposta #1 Online: 20 de MAR?O de 2010, 19:10 »
Dá uma olhada aqui:

Citar
http://sidserra.phpnet.us/amsn.htm


Olá!

Estou tentando instalar o amsn 0.98.3 via terminal porém ocorre o seguinte erro ao digitar o comando
sudo ./configure
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... configure: error: Unable to find Tcl directory or Tcl package is not tcl-dev

procurei o google sobre o tcl package mas não achei nada construtivo

estou usando o terminal porque a versão referida ainda não é possível de ser instalada via central de programas

alguém pode ajudar?
Computador perereca, com disco perereca, monitor perereca e sistema super xuxu. Visitem a minha página em http://sidserra.k6.com.br ou meu blog em http://sidserra.blogspot.com.br.

Offline fstapf

  • Usuário Ubuntu
  • *
  • Mensagens: 10
    • Ver perfil
Re: instalar amsn 0.98.3 via terminal
« Resposta #2 Online: 20 de MAR?O de 2010, 20:18 »
Dá uma olhada aqui:

Citar
http://sidserra.phpnet.us/amsn.htm


Olá!

Estou tentando instalar o amsn 0.98.3 via terminal porém ocorre o seguinte erro ao digitar o comando
sudo ./configure
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... configure: error: Unable to find Tcl directory or Tcl package is not tcl-dev

procurei o google sobre o tcl package mas não achei nada construtivo

estou usando o terminal porque a versão referida ainda não é possível de ser instalada via central de programas

alguém pode ajudar?

Fiz tudo certinho que diz no tutoria, aparece o seguinte erro se eu tento iniciar o amsn no terminal:

Application initialization failed: Can't find a usable tk.tcl in the following directories:
    /usr/lib/tcl8.5/tk8.5 /usr/lib/tk8.5 /lib/tk8.5 /usr/library

/usr/lib/tk8.5/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
"if {[tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D)}] units
    }
    bind Listbox <Option-Mou..."
    (file "/usr/lib/tk8.5/listbox.tcl" line 182)
    invoked from within
"source /usr/lib/tk8.5/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
   SourceLibFile button
   SourceLibFile entry
   SourceLibFile listbox
   SourceLibFile menu
   SourceLibFile panedwindow
   SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    proc ::tk::SourceLibFile {file} {
        namespace eval :: [list source [file join $::tk_library $file.tcl]]
    }
   ..."
    (file "/usr/lib/tk8.5/tk.tcl" line 404)
    invoked from within
"source /usr/lib/tk8.5/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

Error in startup script: no event type or button # or keysym
    while executing
"bind Pixmapscroll <MouseWheel> {
        tk::ScrollByUnits %W v [expr {- (%D)}]
    }"
    invoked from within
"if {![catch {tk windowingsystem} wsystem] && $wsystem == "x11"} {
    bind Pixmapscroll <MouseWheel> {
        tk::ScrollByUnits %W v [expr {- (%D)}]
..."
    (file "pixmapscroll.tcl" line 717)
    invoked from within
"source [file join pixmapscroll.tcl]"
    ("package ifneeded pixmapscroll 0.9" script)
    invoked from within
"package require pixmapscroll"
    invoked from within
"if { $initialize_amsn == 1 } {

   if {![::picture::Loaded]} {
      if { [OnDarwin] } {   
         tk_messageBox -default ok -message "There's a problem loading a..."
    (file "gui.tcl" line 4)
    invoked from within
"source gui.tcl      "
    ("uplevel" body line 22)
    invoked from within
"uplevel \#0 {

   # amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
   source amsncore.tcl
   source audio.tc..."
    (procedure "reload_files" line 2)
    invoked from within
"reload_files"
    (file "/usr/bin/amsn" line 291)
[/list][/list][/list]

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: instalar amsn 0.98.3 via terminal
« Resposta #3 Online: 21 de MAR?O de 2010, 00:13 »
Então ao invés de procurar no google, procure no gerenciador de pacotes synaptic, a biblioteca que falta está disponível lá para ser instalada.

Se tivesse feito uma pesquisa aqui no fórum veria que isto é um erro antigo, muito discutido aqui  e já teria resolvido seu problema commais rapidez.

[],s

Offline fstapf

  • Usuário Ubuntu
  • *
  • Mensagens: 10
    • Ver perfil
Re: [resolvido] instalar amsn 0.98.3 via terminal
« Resposta #4 Online: 21 de MAR?O de 2010, 13:33 »
Valeu a ajuda, foi um pouco esclarecedora em alguns pontos... mas realmente não achei outros tópicos que falem exatamente sobre esse assunto... resolvi a instalação instalado todos os pacotes tcl e tk q achei o synaptic... pelo menos deu certo...