tcl header missing

  • 2016-10-19:2pm
    Hi was installing Qt via MSYS2 mingww64, and faced by a strange error.

    did ./build-all x86_64 --qt-version-git, when arriiving at the tcl part, download unpack patch copy source built find, but when installing received fatal error

    Qt-build\work\build-x86_64\tcl8.6.1\pkgs\tdbcmysql1.0.0\generic\tdbcmysql.c:22:18: fatal error: tdbc.h: No such file or directory
    also happened to tdbcodbc.c and tdbcpostgres.c,

    Then had to do
    pacman -S mingw-w64-i686-tcl mingw-w64-i686-tcllib mingw-w64-i686-tclvfs-cvs mingw-w64-i686-tclx mingw-w64-x86_64-tcl mingw-w64-x86_64-tcllib mingw-w64-x86_64-tclvfs-cvs mingw-w64-x86_64-tclx.
    Then error went away
    Which was the actual one available I am unsure, I think this is missing in the documentation, just thought would get someone's head up when they also face the same problem.

    2016-10-19 4pm:
    Interestingly there was also problem building libxslt,
    make[3]: Entering directory '/QtSDK/Qt-build/work/build-x86_64/libxslt-1.1.28/tests/plugins'
    CC xmlsoft_org_xslt_testplugin_la-testplugin.lo
    libtool: error: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified
    make[3]: *** [Makefile:350:] Error 1

    has to manually go into Makefile and manually add the "-no-undefined" in line 350

    2016-10-19 6pm:
    Hi people please help now, real stuck,
    ./buildall script run to the dmake part, failed to download as dmake project seemed to really have moved

    from the download log
    --2016-10-19 18:08:05--
    Resolving (, 2404:6800:4008:c01::52
    Connecting to (||:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2016-10-19 18:08:06 ERROR 404: Not Found.

    I tried downloading from filewatcher another dmake-4.12.2.tar.bz2, and put in the src location, but it simply removed it and repeated the download and failed.....
    -> dmake
    ---> Delete corrupted download... done
    ---> download dmake-4.12.2...error 8!
    smarty pants.

    I tried commenting out dmake in the file, but it seems that perl actually required dmake, so it cannot be taken out.
    Is there anyway I can remove the file corruption check from the buildall script? Or is this simply some error of the git they have to update?

  • @jimmychau

    tried grep -r dmake .

    found that download location is governed by ./scenario/
    --file content

    changed the line to trick it to download from somewhere else

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.