aMSN Forums
November 01, 2020, 12:24:59 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error in startup script: can't find package des  (Read 12169 times)
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« on: December 10, 2010, 10:50:15 am »

Hello, just compiled aMSN 0.98.4 without problems, but when trying to launch i get this from shell:

Code:
joe@ghubuntu:~/Desktop/amsn-0.98.4$ wish amsn
Error in startup script: can't find package des
    while executing
"package require des"
    (file "config.tcl" line 4)
    invoked from within
"source config.tcl"
    invoked from within
"if {$::tcl_version < 8.5} {
wm state . withdrawn

# Dummy functions required by sourcing sxml/lang/config.tcl
set initialize_amsn 1
proc status_lo..."
    (file "amsn" line 155)

Tried to look for package in repos named des but can't seem to find it, any suggestions? Thank you

PS: Ubuntu Karmic Koala
Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #1 on: December 10, 2010, 11:10:35 am »

Ok installed tcllib from repos which contains a whole bunch of tcl libraries includng des, now when I run aMSN I get this error:

Code:
joe@ghubuntu:~/Desktop/amsn-0.98.4$ ./amsn
Error in startup script: invalid command name "::amsn::errorMsg"
    while executing
"::amsn::errorMsg "[trans corruptconfig [file join ${HOME} "config.xml.old"]]""
    (procedure "load_config" line 35)
    invoked from within
"load_config "
    invoked from within
"if { $initialize_amsn == 1 } {
###############################################################
create_dir $HOME
create_dir $HOME/plugins
create_di..."
    (file "config.tcl" line 1981)
    invoked from within
"source config.tcl"
    invoked from within
"if {$::tcl_version < 8.5} {
wm state . withdrawn

# Dummy functions required by sourcing sxml/lang/config.tcl
set initialize_amsn 1
proc status_lo..."
    (file "./amsn" line 155)

 Huh Huh Huh
Logged
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #2 on: December 10, 2010, 10:11:22 pm »

Which steps did you follow to compile aMSN?
Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #3 on: December 10, 2010, 11:00:58 pm »

./configure
make
checkinstall -D (to build .deb)

when built .deb I got error, so I recompiled without installing via checkinstall or make install and ran it directly from source folder and got same error.

I ran it from src folder with either:
./amsn
or
wish amsn

I always do ldconfig before compiling anything.

Thanks.
Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #4 on: December 10, 2010, 11:17:15 pm »

I just pulled latest from SVN to test and get pretty much same error.

 Embarrassed
Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #5 on: December 10, 2010, 11:21:02 pm »

Posting the output from configure step in case needed. I am not interested in the farsight stuff or voice clips, just regular amsn:

Code:
joe@ghubuntu:~/Desktop/aMSN$ ./configure
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... using tcl library in /usr/lib/tcl8.5
checking tk build dir... using tk library in /usr/lib/tk8.5
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for strcasestr... yes
checking for memmem... yes
checking for dlopen... no
checking for pthread_create in -lpthread... yes
checking if mmx should be used... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GST... yes
checking for GST_INTERFACES... yes
checking for FARSIGHT2... no
checking for LIBV4L... yes
checking for GUPNP... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h

compile time options summary
============================

    X11          : yes
    Tcl : 8.5
    TK : 8.5
    DEBUG        : no
    STATIC       : no
    FARSIGHT     : no
    LIBV4L       : yes
    GUPNP-IGD    : no

*** You do not seem to have gstreamer and farsight2 installed.
*** You will not be able to build the required component for audio conversations.
*** Read this for more information : http://amsn-project.net/wiki/Farsight
Logged
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #6 on: December 11, 2010, 12:23:04 am »

Try
Code:
ls -al
in the amsn directory, where you compiled it. It's weird, it should find all files by itself.
Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #7 on: December 11, 2010, 12:29:47 am »

This is the output I get from ls -al

EDIT: From SVN

Code:
joe@ghubuntu:~/Desktop/aMSN$ ls -al
total 2996
drwxr-xr-x 12 joe joe   4096 2010-12-10 17:27 .
drwxr-xr-x  3 joe joe   4096 2010-12-10 17:26 ..
-rw-r--r--  1 joe joe  70407 2010-12-10 16:11 abook.tcl
-rw-r--r--  1 joe joe  45336 2010-12-10 16:11 addressbook.tcl
-rw-r--r--  1 joe joe    155 2010-12-10 16:11 AGREEMENT
-rw-r--r--  1 joe joe  16729 2010-12-10 16:11 alarm.tcl
-rwxr-xr-x  1 joe joe  13596 2010-12-10 16:11 amsn
-rw-r--r--  1 joe joe  17255 2010-12-10 16:11 amsncore.tcl
-rw-r--r--  1 joe joe    277 2010-12-10 16:11 amsn.debianmenu
-rw-r--r--  1 joe joe    455 2010-12-10 16:11 amsn.desktop
-rwxr-xr-x  1 joe joe   7682 2010-12-10 16:11 amsn-remote
-rwxr-xr-x  1 joe joe   4857 2010-12-10 16:11 amsn-remote-CLI
-rw-r--r--  1 joe joe   3970 2010-12-10 16:11 amsn.spec
-rw-r--r--  1 joe joe    100 2010-12-10 16:11 amsn.spec.README.fedora
-rwxr-xr-x  1 joe joe    520 2010-12-10 16:11 AppMain.tcl
-rw-r--r--  1 joe joe 107855 2010-12-10 16:11 assistant.tcl
-rw-r--r--  1 joe joe  13837 2010-12-10 16:11 audio.tcl
-rw-r--r--  1 joe joe  16546 2010-12-10 16:11 auth.tcl
-rwxr-xr-x  1 joe joe     28 2010-12-10 16:11 autogen.sh
-rw-r--r--  1 joe joe  24115 2010-12-10 16:11 automsg.tcl
drwxr-xr-x  4 joe joe   4096 2010-12-10 16:10 autopackage
-rw-r--r--  1 joe joe  27281 2010-12-10 16:11 autoupdate.tcl
-rw-r--r--  1 joe joe   6992 2010-12-10 16:11 balloon.tcl
-rw-r--r--  1 joe joe  12309 2010-12-10 16:11 bugs.tcl
-rw-r--r--  1 joe joe   1647 2010-12-10 16:11 BWidget_mods.tcl
drwxr-xr-x  3 joe joe   4096 2010-12-10 16:11 ca-certs
-rw-r--r--  1 joe joe 160781 2010-12-10 16:11 chatwindow.tcl
-rw-r--r--  1 joe joe   2499 2010-12-10 16:11 Compile.mk
-rw-r--r--  1 joe joe  21635 2010-12-10 17:27 config.log
-rwxr-xr-x  1 joe joe  28608 2010-12-10 17:27 config.status
-rw-r--r--  1 joe joe  65727 2010-12-10 16:11 config.tcl
-rwxr-xr-x  1 joe joe 201154 2010-12-10 16:11 configure
-rw-r--r--  1 joe joe  13920 2010-12-10 16:11 configure.ac
-rw-r--r--  1 joe joe   7107 2010-12-10 16:11 console.tcl
-rw-r--r--  1 joe joe  30776 2010-12-10 16:11 contactlist.tcl
-rw-r--r--  1 joe joe  10559 2010-12-10 16:11 CREDITS
-rw-r--r--  1 joe joe   4224 2010-12-10 16:11 ctthemes.tcl
drwxr-xr-x  3 joe joe   4096 2010-12-10 16:10 debian
-rw-r--r--  1 joe joe   5025 2010-12-10 16:11 debug.tcl
drwxr-xr-x 11 joe joe   4096 2010-12-10 16:10 desktop-icons
-rw-r--r--  1 joe joe   3692 2010-12-10 16:11 dock.tcl
drwxr-xr-x  3 joe joe   4096 2010-12-10 16:10 docs
-rw-r--r--  1 joe joe  36104 2010-12-10 16:11 FAQ
-rw-r--r--  1 joe joe  68744 2010-12-10 16:11 FAQ.html
-rw-r--r--  1 joe joe  18008 2010-12-10 16:11 GNUGPL
-rw-r--r--  1 joe joe  27396 2010-12-10 16:11 groups.tcl
-rw-r--r--  1 joe joe  86969 2010-12-10 16:11 guicontactlist.tcl
-rw-r--r--  1 joe joe 315063 2010-12-10 16:11 gui.tcl
-rw-r--r--  1 joe joe    961 2010-12-10 16:11 HELP
-rw-r--r--  1 joe joe  15566 2010-12-10 16:11 hotmail.tcl
-rw-r--r--  1 joe joe    877 2010-12-10 16:11 hotmlog.htm
-rw-r--r--  1 joe joe   1168 2010-12-10 16:11 INSTALL
drwxr-xr-x  3 joe joe   4096 2010-12-10 16:10 lang
-rw-r--r--  1 joe joe   7778 2010-12-10 16:11 langlist
-rw-r--r--  1 joe joe  32389 2010-12-10 16:11 lang.tcl
-rw-r--r--  1 joe joe  60496 2010-12-10 16:11 loging.tcl
-rw-r--r--  1 joe joe  37203 2010-12-10 16:11 login_screen.tcl
-rw-r--r--  1 joe joe   1414 2010-12-10 16:11 maemo.diff
-rw-r--r--  1 joe joe  12021 2010-12-10 17:27 Makefile
-rw-r--r--  1 joe joe  11910 2010-12-10 16:11 Makefile.in
-rw-r--r--  1 joe joe  14862 2010-12-10 16:11 migmd5.tcl
-rw-r--r--  1 joe joe 112436 2010-12-10 16:11 msncam.tcl
-rw-r--r--  1 joe joe  49859 2010-12-10 16:11 msngames.tcl
-rw-r--r--  1 joe joe  69039 2010-12-10 16:11 msnp2p.tcl
-rw-r--r--  1 joe joe   1910 2010-12-10 16:11 mutex.tcl
-rw-r--r--  1 joe joe   5800 2010-12-10 16:11 pgu.tcl
-rw-r--r--  1 joe joe   9298 2010-12-10 16:11 picture.tcl
drwxr-xr-x 13 joe joe   4096 2010-12-10 16:10 plugins
-rw-r--r--  1 joe joe   5894 2010-12-10 16:11 pluginslog.tcl
-rw-r--r--  1 joe joe  62748 2010-12-10 16:11 plugins.tcl
-rw-r--r--  1 joe joe 129240 2010-12-10 16:11 preferences.tcl
-rw-r--r--  1 joe joe   2581 2010-12-10 16:11 progressbar.tcl
-rw-r--r--  1 joe joe 296929 2010-12-10 16:11 protocol.tcl
-rw-r--r--  1 joe joe  37580 2010-12-10 16:11 proxy.tcl
-rw-r--r--  1 joe joe   1378 2010-12-10 16:11 README
-rw-r--r--  1 joe joe   2811 2010-12-10 16:11 README.macosx
-rw-r--r--  1 joe joe   1364 2010-12-10 16:11 remote.help
-rw-r--r--  1 joe joe   9642 2010-12-10 16:11 remote.tcl
-rw-r--r--  1 joe joe  19201 2010-12-10 16:11 roaming.tcl
-rw-r--r--  1 joe joe   7772 2010-12-10 16:11 searchdialog.tcl
-rw-r--r--  1 joe joe  92107 2010-12-10 16:11 sip.tcl
drwxr-xr-x  4 joe joe   4096 2010-12-10 16:10 skins
-rw-r--r--  1 joe joe  44040 2010-12-10 16:11 skins.tcl
-rw-r--r--  1 joe joe  47559 2010-12-10 16:11 smileys.tcl
-rw-r--r--  1 joe joe   8840 2010-12-10 16:11 soap.tcl
-rw-r--r--  1 joe joe   8340 2010-12-10 16:11 socks.tcl
-rw-r--r--  1 joe joe  45373 2010-12-10 16:11 spaces.tcl
drwxr-xr-x  6 joe joe   4096 2010-12-10 16:12 .svn
-rw-r--r--  1 joe joe  37783 2010-12-10 16:11 sxml.tcl
-rw-r--r--  1 joe joe   5929 2010-12-10 16:11 TODO
-rw-r--r--  1 joe joe  21979 2010-12-10 16:11 trayicon.tcl
drwxr-xr-x 39 joe joe   4096 2010-12-10 16:11 utils
« Last Edit: December 11, 2010, 12:43:47 am by joegiampaoli » Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #8 on: December 12, 2010, 10:27:39 am »

No ideas anyone? Huh
Logged
Stemp
Power user
*
Offline Offline

Posts: 71



View Profile WWW
« Reply #9 on: December 12, 2010, 11:39:27 am »

What version did you use previously ? 0.9.3 ? by compiling ?

Anyway maybe it's a personnal configuration file problem. So you might try to delete your ~/.amsn dir
Logged

joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #10 on: December 13, 2010, 04:25:11 pm »

My previous (current) version is 0.98.3 self compiled also. Hmmmm I really doubt that removing my home amsn folder will fix this but what the hell, I'll give a shot and see what happens.
Logged
joegiampaoli
Newbie

Offline Offline

Posts: 9



View Profile
« Reply #11 on: December 14, 2010, 05:02:17 am »

Ok I completely removed TCL/TK 8.4 from my system and recompiled aMSN, thought I was going to have a dependency hell time when removing it but it only removed Xchat-Gnome with them, so what the heck, Ill probably download it and compile it myself against 8.5. Still I dont understand since the configure output for aMSN was pointing to 8.5.

Well, anyway all working fine now.

Thx.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!