Menu

#313 tile-gtk doesn't build

open
tile (215)
5
2012-08-24
2012-08-24
Anonymous
No

Using the latest snapshot from cvs, I get:

[ 5%] Building CXX object CMakeFiles/tilegtk0.3.dir/generic/tileGtk_Symbols.cpp.o
/build/tile-gtk/generic/tileGtk_Symbols.cpp: In function ‘int TileGtk_InitialiseSymbols_gdk(Tcl_Interp*, Tcl_Obj*)’:
/build/tile-gtk/generic/tileGtk_Symbols.cpp:106:70: error: ‘Tcl_LoadFile’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp:108:115: error: ‘Tcl_FindSymbol’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp: In function ‘int TileGtk_InitialiseSymbols_gdk_pixbuf(Tcl_Interp*, Tcl_Obj*)’:
/build/tile-gtk/generic/tileGtk_Symbols.cpp:137:70: error: ‘Tcl_LoadFile’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp:139:100: error: ‘Tcl_FindSymbol’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp: In function ‘int TileGtk_InitialiseSymbols_gdk_pixbuf_xlib(Tcl_Interp*, Tcl_Obj*)’:
/build/tile-gtk/generic/tileGtk_Symbols.cpp:150:70: error: ‘Tcl_LoadFile’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp:152:160: error: ‘Tcl_FindSymbol’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp: In function ‘int TileGtk_InitialiseSymbols_glib(Tcl_Interp*, Tcl_Obj*)’:
/build/tile-gtk/generic/tileGtk_Symbols.cpp:163:70: error: ‘Tcl_LoadFile’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp:165:76: error: ‘Tcl_FindSymbol’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp: In function ‘int TileGtk_InitialiseSymbols_gobject(Tcl_Interp*, Tcl_Obj*)’:
/build/tile-gtk/generic/tileGtk_Symbols.cpp:186:70: error: ‘Tcl_LoadFile’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp:188:94: error: ‘Tcl_FindSymbol’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp: In function ‘int TileGtk_InitialiseSymbols_gtk(Tcl_Interp*, Tcl_Obj*)’:
/build/tile-gtk/generic/tileGtk_Symbols.cpp:199:70: error: ‘Tcl_LoadFile’ was not declared in this scope
/build/tile-gtk/generic/tileGtk_Symbols.cpp:201:112: error: ‘Tcl_FindSymbol’ was not declared in this scope
make[2]: *** [CMakeFiles/tilegtk0.3.dir/generic/tileGtk_Symbols.cpp.o] Error 1
make[1]: *** [CMakeFiles/tilegtk0.3.dir/all] Error 2
make: *** [all] Error 2

GTK 2.24.11
Tcl/Tk 8.5.12
GCC 4.7.1

Discussion

  • Joe English

    Joe English - 2012-08-24

    I believe that tile-gtk has been superceded by a new package named ttk-gtk. I don't know where this lives, though. Georgios?

     
  • Joe English

    Joe English - 2012-08-24
    • assigned_to: jenglish --> petasis
     
  • Georgios Petasis

    Hm, this is correct. These symbols were added in 8.6. Building with 8.5 will produce such errors.

     
  • Georgios Petasis

    Actually tile-gtk is for GTK 2.x, and ttkgtk (I dropped the dash) is for GTK 3.x.
    I haven't yet imported the sources for ttkgtk, CVS is a pain in adding many files :-)

    The problem is that I recently updated tile-gtk to use the Tcl facilities for loading libraries/symbols from libraries, but these require Tcl 8.6. Since I use exclusively Tcl 8.6, I didn't know that these were not added back to 8.5.

    I also advise users to move to GTK 3.x and ttkgtk though.
    Currently the sources of ttkgtk can be found here: http://www.ellogon.org/~petasis/tcl/ttkgtk/

     
  • Georgios Petasis

    I have fixed the issue, and committed the changes in the CVS server:

    http://tktable.cvs.sourceforge.net/viewvc/tktable/tile-themes/tile-gtk/

    Under 8.5, it uses glib for dynamically loading libraries and symbols. Under 8.6, it uses Tcl for loading symbols.

     
  • Georgios Petasis

    Dear Andrea,

    Can you please check that the latest CVS HEAD builds and runs as expected, in order to close this bug?

     

Log in to post a comment.