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

 
 

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

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

Add a New Comment Rich Markup
   

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

Hi,

As written in user guide, tcl 8.5 is required:
http://weechat.org/files/doc/stable/weechat_user.en.html#dependencies

Sebastien Helleu <flashcode>
Group administrator
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
sjohnson@DHCP1:~/tmp/weechat-0.3.7/build$


smu johnson <smujohnson>

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

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

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code