Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72739

Postgresql error during configure stage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.0
    • SQL Support
    • None
    • Ubuntu 18.04, Qt5.12, Emscripten 1.38.20
    • WebAssembly

    Description

      Hi to All.

      An error occurs during the "postgresql" configuration stage.

      Config : Qt5.12, Ubuntu 18.04, config emscripten (1.38.20).

      Any idea ?

      Thanks.

      David.

       

      > error: undefined symbol: PQescapeBytea
      > warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
      > error: undefined symbol: PQunescapeBytea
      > Error: Aborting compilation due to previous errors
      > shared:ERROR: '/home/draimond/emsdk/node/8.9.1_64bit/bin/node /home/draimond/emsdk/emscripten/incoming/src/compiler.js /tmp/tmpfeUvjK.txt /home/draimond/emsdk/emscripten/incoming/src/embind/emval.js /home/draimond/emsdk/emscripten/incoming/src/embind/embind.js /home/draimond/emsdk/emscripten/incoming/src/library_pthread_stub.js' failed (1)
      > Makefile:65: recipe for target 'psql.js' failed
      > make: *** [psql.js] Error 1
       => source failed verification.
      Trying source 2 (type psqlEnv) of library psql ...
       => source failed condition 'config.win32'.
      Trying source 3 (type psqlEnv) of library psql ...
      + cd /home/draimond/emsdk/DRA/Qt512/qt-everywhere-src-5.12.0/config.tests/psql && /home/draimond/emsdk/DRA/Qt512/qt-everywhere-src-5.12.0/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += static warn_off console single_arch" -early "CONFIG += cross_compile" 'QMAKE_USE += psql' 'QMAKE_LIBS_PSQL = -lpq' /home/draimond/emsdk/DRA/Qt512/qt-everywhere-src-5.12.0/config.tests/psql
      + cd /home/draimond/emsdk/DRA/Qt512/qt-everywhere-src-5.12.0/config.tests/psql && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
      > rm -f main.o
      > rm -f *~ core *.core
      > em++ -c -pipe -s USE_LIBPNG=1 -s USE_FREETYPE=1 -s USE_ZLIB=1 -O3 -std=gnu++11 -w -I. -I/home/draimond/.emscripten_ports/openssl/include -I/home/draimond/emsdk/DRA/Qt512/qt-everywhere-src-5.12.0/qtbase/mkspecs/wasm-emscripten -o main.o main.cpp
      > main.cpp:2:10: fatal error: 'libpq-fe.h' file not found
      > #include <libpq-fe.h>
      > ^~~~~~~~~~~~
      > 1 error generated.
      > shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
      > Makefile:182: recipe for target 'main.o' failed
      > make: *** [main.o] Error 1
       => source failed verification.
      test config.qtbase_sqldrivers.libraries.psql FAILED
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            draimond David RAIMOND
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes