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 Mar 28 21:13:51 2012  
Category: compilationSeverity: 3 - Normal
Item Group: compile/installStatus: Invalid
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.7IRC nick: sjohnson

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


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


As written in user guide, tcl 8.5 is required:

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed Mar 28 21:13:51 2012, 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to 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
    Sun Jun 3 08:20:33 2012flashcodeOpen/ClosedOpen=>Closed
    Thu Mar 29 05:58:10 2012flashcodeItem GroupNone=>compile/install
      Assigned toNone=>flashcode

    Back to the top

    Powered by Savane 3.1-cleanup1