Package: witty-examples Version: 3.3.6+dfsg-1.1 Severity: normal Tags: patch
Dear Maintainer, need to edit the default CMakeLists.txt file as described below to build hello.wt example * What led up to the situation? installed libhpdf-dev (which probably should be a prerequesite or a recommends with the package) tried to compile the examples as described in the README (http://metadata.ftp-master.debian.org/changelogs/main/w/witty/witty_3.3.6+dfsg-1.1_README.Debian) after typing: cmake -DWT_SOURCE_DIR=/usr/lib/Wt -DEXAMPLES_CONNECTOR="wt;wthttp" -DCMAKE_BUILD_TYPE=Release /usr/lib/Wt/examples make the system failed: [ 0%] Linking CXX executable hello.wt /usr/bin/ld: cannot find -llibhpdf collect2: error: ld returned 1 exit status hello/CMakeFiles/hello.wt.dir/build.make:94: recipe for target 'hello/hello.wt' failed * What exactly did you do (or not do) that was effective (or ineffective)? edited /usr/lib/Wt/examples/CMakeLists.txt and changed line 43 from: debug libhpdfd optimized libhpdf to: debug hpdfd optimized hpdf * What was the outcome of this action? successful build: [100%] Built target hello.wt -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages witty-examples depends on: ii libboost-filesystem1.62.0 1.62.0+dfsg-4 ii libboost-program-options-dev 1.62.0.1 ii libboost-system1.62.0 1.62.0+dfsg-4 ii libboost-thread1.62.0 1.62.0+dfsg-4 ii libc6 2.24-12 ii libgcc1 1:7.1.0-7 ii libhpdf-2.2.1 2.2.1-1.1+b1 ii libqt4-dev 4:4.8.7+dfsg-11 ii libqtcore4 4:4.8.7+dfsg-11 ii libstdc++6 7.1.0-7 ii libwt40 3.3.6+dfsg-1.1 ii libwtdbo40 3.3.6+dfsg-1.1 ii libwtdbosqlite40 3.3.6+dfsg-1.1 ii libwtext40 3.3.6+dfsg-1.1 ii libwthttp40 3.3.6+dfsg-1.1 witty-examples recommends no packages. Versions of packages witty-examples suggests: ii libwt-dev [witty-dev] 3.3.6+dfsg-1.1 ii libwt-doc 3.3.6+dfsg-1.1 ii libwtdbo-dev [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbo40 [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbofirebird-dev [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbofirebird40 [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbopostgres-dev [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbopostgres40 [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbosqlite-dev [witty-dev] 3.3.6+dfsg-1.1 ii libwtdbosqlite40 [witty-dev] 3.3.6+dfsg-1.1 ii libwtext-dev [witty-dev] 3.3.6+dfsg-1.1 ii libwthttp-dev [witty-dev] 3.3.6+dfsg-1.1 ii witty-dev 3.3.6+dfsg-1.1 -- no debconf information