bugWeeChat - Bugs: bug #36029, Tcl* errors while trying to...


bug #36029: Tcl* errors while trying to compile Weechat 0.3.7 stable

Submitted by:  smu johnson <smujohnson>
Submitted on:  Wed 28 Mar 2012 09:13:51 PM UTC  
Category:  compilation Severity:  3 - Normal
Item Group:  compile/install Status:  Invalid
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.3.7 IRC nick:  sjohnson

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 29 Mar 2012 05:58:10 AM UTC, comment #1:


As written in user guide, tcl 8.5 is required:

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 28 Mar 2012 09:13:51 PM UTC, original submission:

Commands to get Ubuntu 10.04 LTS to the point where it might be able to compile Weechat 0.3.7 stable:

1) apt-get build-dep weechat
2) apt-get install libcurl4-gnutls-dev

Commands to compile:

1) cmake .. -DPREFIX=~/weechat # executed ok
2) make # failed, see below:

sjohnson@DHCP1:~/tmp/weechat-0.3.7/build$ make
[ 6%] Built target translations
[ 18%] Built target weechat_core
[ 20%] Built target weechat_plugins
[ 21%] Built target alias
[ 23%] Built target aspell
[ 23%] Built target charset
[ 25%] Built target fifo
[ 39%] Built target irc
[ 41%] Built target logger
[ 49%] Built target relay
[ 52%] Built target rmodifier
[ 53%] Built target weechat_scripts
[ 54%] Built target perl
[ 55%] Built target python
[ 56%] Built target ruby
[ 58%] Built target lua
[ 59%] Building C object src/plugins/scripts/tcl/CMakeFiles/tcl.dir/weechat-tcl.o
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c: In function ‘weechat_tcl_hashtable_map_cb’:
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:96: error: implicit declaration of function ‘Tcl_DictObjPut’
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c: In function ‘weechat_tcl_hashtable_to_dict’:
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:112: error: implicit declaration of function ‘Tcl_NewDictObj’
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:112: warning: assignment makes pointer from integer without a cast
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c: In function ‘weechat_tcl_dict_to_hashtable’:
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:139: error: ‘Tcl_DictSearch’ undeclared (first use in this function)
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:139: error: (Each undeclared identifier is reported only once
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:139: error: for each function it appears in.)
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:139: error: expected ‘;’ before ‘search’
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:151: error: implicit declaration of function ‘Tcl_DictObjFirst’
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:151: error: ‘search’ undeclared (first use in this function)
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:153: error: implicit declaration of function ‘Tcl_DictObjNext’
/home/sjohnson/tmp/weechat-0.3.7/src/plugins/scripts/tcl/weechat-tcl.c:160: error: implicit declaration of function ‘Tcl_DictObjDone’
make[2]: *** [src/plugins/scripts/tcl/CMakeFiles/tcl.dir/weechat-tcl.o] Error 1
make[1]: *** [src/plugins/scripts/tcl/CMakeFiles/tcl.dir/all] Error 2
make: *** [all] Error 2

smu johnson <smujohnson>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by smujohnson (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    06/03/2012 flashcode Open/ClosedOpen => Closed
    03/29/2012 flashcode Item GroupNone => compile/install
        StatusNone => Invalid
        Assigned toNone => flashcode

    Back to the top

    Powered by Savane 3.3