Menu

problem using kbs.tcl version 0.4.4

Help
2013-01-23
2013-05-02
  • Willem Herremans

    When I try to build a kbskit with version 0.4.4, using command

    tclsh kbs.tcl -v -r -vq-dyn install kbskit8.6

    on an up to date Arch Linux. the kbs build process stops with the following error message:

    gcc -O2  -pipe    -Wl,-export-dynamic  tkAppInit.o -L/data/Documents/kitgen/buildLinux/tk8.6-static -ltk8.6 -L/data/Documents/kitgen/buildLinux/lib -ltcl8.6  -lpthread -lXft   -lX11 -lXss -lXext -ldl -lz  -lpthread -lieee -lm  \
    -Wl,-rpath,/data/Documents/kitgen/buildLinux/lib -o wish
    /usr/bin/ld: /data/Documents/kitgen/buildLinux/tk8.6-static/libtk8.6.a(tkUnixRFont.o): undefined reference to symbol 'FcCharSetDestroy'
    /usr/bin/ld: note: 'FcCharSetDestroy' is defined in DSO /usr/lib/libfontconfig.so.1 so try adding it to the linker command line
    /usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation
    collect2: fout: ld gaf exit-status 1 terug
    make: ***  Fout 1
    === Require error: tk8.6-static
    child process exited abnormally
    Error in execution of 'install kbskit8.6':
    === Package failed for: tk8.6-static
    Require failed for: tk8.6-static

    It suggests to add something to the linker command line, but I have no idea how to do that. I am not familiar with "make" and "make files".

    Nevertheless, I can buid Tcl/Tk 8.6.0 without problems with the configure and make file included in the Tcl and Tk sources.

    So, I my system obviously does not lack software to successfully build Tc and Tk.

    Can anybody help me with this?

    Notes:

    1.  I cannot use the binaries Linux_kbsvq8.6-* version 0.4.4  published on this website, because the fail to run on my system.

    2. I can use the binaries  Linux_kbsvq8.6-* version 0.4.3. published on this website, but they are still Tcl/Tk 8.6b3.

     
  • Willem Herremans

    I have managed to solve this in the mean time.

    After 'make tk8.6-static' failed, go to directory 'buildLinux/tk8.6-static'.

    Then alter the 'Makefile' as follows.

    Look for the assignment to XFT_LIBS (e.g. XFT_LIBS  = -lXft)

    Append ' -lfontconfig' (e.g. XFT_LIBS = -lXft -lfontconfig)

    Then return to the directory which contains kbs.tcl and type 'tclsh kbs.tcl clean tk8.6-static'.

    Then restart the build. In this case it was 'tclsh kbs.tcl -v -r -vq-dyn install kbskit8.6'.

     

Log in to post a comment.

MongoDB Logo MongoDB