Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QMake central control of libtool --tag option?
QtWS25 Last Chance

QMake central control of libtool --tag option?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 2 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dangomania
    wrote on last edited by
    #1

    I am compiling mythtv using qmake version 3.0 in QT 5.5.1. on Debian GNU/Linux 8
    The Makefiles created from *.pro files during the compilation contains a line
    LIBTOOL = libtool --silent
    which I cannot find any *.pro files defining this LIBTOOL variable.

    During compilation, I have following error.
    libtool: compile: unable to infer tagged configuration

    I can finish the compilation by manually fixing above definition of LIBTOOL to
    LIBTOOL = libtool --tag=CC --silent

    If I can fix this somewhere centrally by fixing the LIBTOOL definition, it would be much nicer.

    I would like to have your advice where I should look in.

    Thank you in advance!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What sources are you using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • D Offline
        D Offline
        dangomania
        wrote on last edited by
        #3

        Hello,

        I am compiling mythtv-0.28 obtained by git.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          What sources are you using ?

          D Offline
          D Offline
          dangomania
          wrote on last edited by
          #4

          @SGaist

          Hello,

          I am compiling mythtv-0.28 obtained by git.
          The Qt5 and libtool used with the compilation are installed by pkgsrc.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Can you explain exactly step by step from the clone to the build what you are doing ?

            The LIBTOOL variable is not used by Qt at all, they all come from the dependencies of MythTV.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            D 1 Reply Last reply
            0
            • SGaistS SGaist

              Can you explain exactly step by step from the clone to the build what you are doing ?

              The LIBTOOL variable is not used by Qt at all, they all come from the dependencies of MythTV.

              D Offline
              D Offline
              dangomania
              wrote on last edited by
              #6

              @SGaist

              After cloning git repo, I entered into mythtv/mythtv directory and run
              git checkout fixes/0.28

              then run configure with following options.

              ./configure
              --qmake=/usr/pkg/qt5/bin/qmake
              --extra-cflags="-I/usr/pkg/include "
              --extra-ldflags=-L/usr/pkg/lib
              --enable-libmp3lame
              --enable-libx264
              --enable-libxvid
              --disable-vaapi
              --disable-firewire
              --disable-hdhomerun
              --disable-vbox
              --disable-ceton

              Then I just ran make to build the source.

              The Makefiles of subdirectories ex. external/libmythbluray/ are generated in the configure process, and have following header.

              Makefile for building: libmythbluray-0.28.a

              Generated by qmake (3.0) (Qt 5.5.1)

              Project: libmythbluray.pro

              Template: lib

              Command: /usr/pkg/qt5/bin/qmake -o Makefile libmythbluray.pro

              and have following statement.

              ####### Compiler, tools and options

              CC = gcc
              CXX = g++
              DEFINES += -DMMX -D_GNU_SOURCE -DENABLE_UDF -DBLURAY_VERSION_MAJOR=0 -DBLURAY_VERSION_MINOR=9 -DBLURAY_VERSION_MICRO=2 -DB
              LURAY_VERSION_STRING="0.9.2" -DHAVE_CONFIG_H -DDLOPEN_CRYPTO_LIBS -DHAVE_PTHREAD_H -DHAVE_DIRENT_H -DHAVE_STRINGS_H -DHAVE_LI
              BXML2
              CFLAGS += -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/
              pkg/include/libdrm -pipe -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_XOPEN_SOURCE=6
              00 -DPIC -DZLIB_CONST -std=c99 -DNDEBUG -fomit-frame-pointer -fPIC -pthread -D_REENTRANT -g -Wall -Wdisabled-optimization -Wpoi
              nter-arith -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body
              -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -Werror=format-security -Werr
              or=implicit-function-declaration -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -w
              $(DEFINES)
              CXXFLAGS += -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/
              pkg/include/libdrm -DQ_TRAILING_DIR_SEP -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/lib/dbus-
              1.0/include/dbus -I/usr/pkg/include/libdrm -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer
              -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_
              MACROS -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time -fPIC -w -std=gnu++
              0x $(DEFINES)
              INCPATH += -I. -I/usr/pkg/include/libxml2 -isystem /usr/include/X11 -I. -I../.. -Ilibbluray -Ilibbluray/bdnav -I../libudfr
              ead -I../../libs/libmythbase -I../../libs/libmythtv -I/usr/pkg/include -I/usr/pkg/qt5/mkspecs/linux-g++
              QMAKE = /usr/pkg/qt5/bin/qmake
              DEL_FILE = rm -f
              CHK_DIR_EXISTS= test -d
              MKDIR = mkdir -p
              COPY = cp -f
              COPY_FILE = cp -f
              COPY_DIR = cp -f -R
              INSTALL_FILE = install -m 644 -p
              INSTALL_PROGRAM = install -m 755 -p
              INSTALL_DIR = cp -f -R
              DEL_FILE = rm -f
              SYMLINK = ln -f -s
              DEL_DIR = rmdir
              MOVE = mv -f
              TAR = tar -cf
              COMPRESS = gzip -9f
              DISTNAME = mythbluray-0.280.28.0
              DISTDIR = /home/yosuke/src/mythtv3/mythtv/external/libmythbluray/.tmp/mythbluray-0.280.28.0
              AR = ar cqs
              RANLIB =
              LIBTOOL = libtool --silent
              SED = sed
              STRIP =

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dangomania
                wrote on last edited by
                #7

                Thank you for your input SGaist.

                But it seems I should ask this at mythtv forum.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved