build qdvdauthor-2.3.1 on 64bit Mageia4

Help
BillHodges
2014-05-20
2014-05-22
  • BillHodges
    BillHodges
    2014-05-20

    How can point build to correct includes?

    using new install i get the trace after the ------------

    basically it looks like it cannot find includes:qpushbutton.h |
    qdesktopwidget.h | qapplication.h | qvaluelist.h | qdialog.h |
    qstylefactory.h

    All except qvaluelist.h are in /usr/lib64/qt5/include/QtWidgets

    ls -alt /usr/lib64/qt5/include/

    produces

    total 104

    drwxr-xr-x 14 root root 4096 May 19 19:26 ./

    drwxr-xr-x 2 root root 20480 May 19 19:22 QtGui/

    drwxr-xr-x 7 root root 4096 May 16 02:17 ../

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtConcurrent/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtPrintSupport/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtNetwork/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtTest/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtSql/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtXml/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtOpenGLExtensions/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtOpenGL/

    drwxr-xr-x 2 root root 4096 May 16 02:17 QtDBus/

    drwxr-xr-x 2 root root 20480 May 16 02:16 QtWidgets/

    drwxr-xr-x 2 root root 20480 May 16 02:16 QtCore/


    [hodges7@localhost qdvdauthor-2.3.1]$ ./configure -n

    ./configure: line 97: [: -gt: unary operator expected

    ./configure: line 203: [: -lt: unary operator expected

    configured with XINE_SUPPORT=0 MPLAYER_SUPPORT=1 VLC_SUPPORT=0 QTDIR3=
    QTDIR4= QT_LIB=

    +++++++++++++++++++++++++++*

    ++ ++

    ++ Please wait while building 'Q' DVD-Author ++

    ++ ++

    ++ qdvdauthor qrender plugins qplayer ++

    ++ libjhead ffmpeg ++

    ++ ++

    +++++++++++++++++++++++++++*

    sh: line 0: [: too many arguments

    sh: line 0: [: too many arguments

    Project MESSAGE: Build with MPlayer support

    Project MESSAGE: Cant find lrealease for QT Version 3.x using system
    lrelease

    Project MESSAGE: This may or may not work. Please make sure you have
    qt3-devel-tools installed

    sh: lrelease: command not found

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/main.o main.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/log.o log.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/rgba.o rgba.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/utils.o utils.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/global.o global.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/execute.o execute.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/dvdmenu.o dvdmenu.cpp

    g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
    -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
    -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
    -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
    -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
    .obj/keyword.o keyword.cpp

    In file included from qdvdauthorinit.h:96:0,

    from keyword.cpp:15:

    dvdmenu.h:19:25: fatal error: qpushbutton.h: No such file or directory

    include <qpushbutton.h>

    ^

    compilation terminated.

    dvdmenu.cpp:14:28: fatal error: qdesktopwidget.h: No such file or directory

    include <qdesktopwidget.h>

    ^

    compilation terminated.

    main.cpp:17:26: fatal error: qapplication.h: No such file or directory

    include <qapplication.h>

    ^

    compilation terminated.

    Makefile:5834: recipe for target '.obj/dvdmenu.o' failed

    make: *** [.obj/dvdmenu.o] Error 1

    make: *** Waiting for unfinished jobs....

    Makefile:5283: recipe for target '.obj/main.o' failed

    make: *** [.obj/main.o] Error 1

    Makefile:5939: recipe for target '.obj/keyword.o' failed

    make: *** [.obj/keyword.o] Error 1

    In file included from global.cpp:13:0:

    global.h:18:24: fatal error: qvaluelist.h: No such file or directory

    include <qvaluelist.h>

    ^

    compilation terminated.

    In file included from execute.cpp:22:0:

    execute.h:22:21: fatal error: qdialog.h: No such file or directory

    include <qdialog.h>

    ^

    compilation terminated.

    Makefile:5589: recipe for target '.obj/global.o' failed

    make: *** [.obj/global.o] Error 1

    Makefile:5693: recipe for target '.obj/execute.o' failed

    make: *** [.obj/execute.o] Error 1

    utils.cpp:25:27: fatal error: qstylefactory.h: No such file or directory

    include <qstylefactory.h>

    ^

    compilation terminated.

    Makefile:5496: recipe for target '.obj/utils.o' failed

    make: *** [.obj/utils.o] Error 1

    log.cpp: In member function 'void Log::log(QString)':

    log.cpp:86:22: error: invalid cast from type 'QString' to type 'const char*'

    log ((const char *)qsLog);

    ^

    log.cpp: In member function 'void Log::log(Log::type, QString)':

    log.cpp:91:33: error: invalid cast from type 'QString' to type 'const char*'

    log (iLogLevel, (const char *)qsLog);

    ^

    Makefile:5329: recipe for target '.obj/log.o' failed

    make: *** [.obj/log.o] Error 1

    rgba.cpp: In member function 'bool Rgba::fromString(QString)':

    rgba.cpp:96:25: error: 'class QString' has no member named 'upper'

    strColor = strColor.upper ( );

    ^

    Makefile:5396: recipe for target '.obj/rgba.o' failed

    make: *** [.obj/rgba.o] Error 1

    Build of QDVDAuthor failed.

    [hodges7@localhost qdvdauthor-2.3.1]$

     
    Attachments
    • Varol Okan
      Varol Okan
      2014-05-22

      It looks like you have Qt 5.x headers installed.

      QDVDAuthor requires Qt 3.x, and Qt 4.x libraries to compile.

      Varol Okan

      On 05/20/2014 05:07 PM, BillHodges wrote:

      How can point build to correct includes?

      using new install i get the trace after the ------------

      basically it looks like it cannot find includes:qpushbutton.h |
      qdesktopwidget.h | qapplication.h | qvaluelist.h | qdialog.h |
      qstylefactory.h

      All except qvaluelist.h are in /usr/lib64/qt5/include/QtWidgets

      ls -alt /usr/lib64/qt5/include/

      produces

      total 104

      drwxr-xr-x 14 root root 4096 May 19 19:26 ./

      drwxr-xr-x 2 root root 20480 May 19 19:22 QtGui/

      drwxr-xr-x 7 root root 4096 May 16 02:17 ../

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtConcurrent/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtPrintSupport/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtNetwork/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtTest/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtSql/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtXml/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtOpenGLExtensions/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtOpenGL/

      drwxr-xr-x 2 root root 4096 May 16 02:17 QtDBus/

      drwxr-xr-x 2 root root 20480 May 16 02:16 QtWidgets/

      drwxr-xr-x 2 root root 20480 May 16 02:16 QtCore/


      [hodges7@localhost qdvdauthor-2.3.1]$ ./configure -n

      ./configure: line 97: [: -gt: unary operator expected

      ./configure: line 203: [: -lt: unary operator expected

      configured with XINE_SUPPORT=0 MPLAYER_SUPPORT=1 VLC_SUPPORT=0 QTDIR3=
      QTDIR4= QT_LIB=

      /+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+///+/++/+/+/+/+*

      /+/+ +/+/

      /+/+ Please wait while building 'Q' DVD-Author +/+/

      /+/+ +/+/

      /+/+ qdvdauthor qrender plugins qplayer +/+/

      /+/+ libjhead ffmpeg +/+/

      /+/+ +/+/

      /+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+///+/++/+/+/+/+*

      sh: line 0: [: too many arguments

      sh: line 0: [: too many arguments

      Project MESSAGE: Build with MPlayer support

      Project MESSAGE: Cant find lrealease for QT Version 3.x using system
      lrelease

      Project MESSAGE: This may or may not work. Please make sure you have
      qt3-devel-tools installed

      sh: lrelease: command not found

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/main.o main.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/log.o log.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/rgba.o rgba.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/utils.o utils.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/global.o global.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/execute.o execute.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/dvdmenu.o dvdmenu.cpp

      g++ -c -pipe -std=gnu++0x -O2 -g -pipe -Wformat -Werror=format-security
      -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
      -fPIC -fno-strict-aliasing -DPIC -fPIC -Wall -W -Wno-non-virtual-dtor
      -D_REENTRANT -fPIE -DQDVD_LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
      -I/usr/lib64/qt5/mkspecs/linux-g++ -I. -I/usr/lib64/qt5/include
      -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I.moc -o
      .obj/keyword.o keyword.cpp

      In file included from qdvdauthorinit.h:96:0,

      from keyword.cpp:15:

      dvdmenu.h:19:25: fatal error: qpushbutton.h: No such file or directory

      include

      ^

      compilation terminated.

      dvdmenu.cpp:14:28: fatal error: qdesktopwidget.h: No such file or
      directory

      include

      ^

      compilation terminated.

      main.cpp:17:26: fatal error: qapplication.h: No such file or directory

      include

      ^

      compilation terminated.

      Makefile:5834: recipe for target '.obj/dvdmenu.o' failed

      make: *** [.obj/dvdmenu.o] Error 1

      make: *** Waiting for unfinished jobs....

      Makefile:5283: recipe for target '.obj/main.o' failed

      make: *** [.obj/main.o] Error 1

      Makefile:5939: recipe for target '.obj/keyword.o' failed

      make: *** [.obj/keyword.o] Error 1

      In file included from global.cpp:13:0:

      global.h:18:24: fatal error: qvaluelist.h: No such file or directory

      include

      ^

      compilation terminated.

      In file included from execute.cpp:22:0:

      execute.h:22:21: fatal error: qdialog.h: No such file or directory

      include

      ^

      compilation terminated.

      Makefile:5589: recipe for target '.obj/global.o' failed

      make: *** [.obj/global.o] Error 1

      Makefile:5693: recipe for target '.obj/execute.o' failed

      make: *** [.obj/execute.o] Error 1

      utils.cpp:25:27: fatal error: qstylefactory.h: No such file or directory

      include

      ^

      compilation terminated.

      Makefile:5496: recipe for target '.obj/utils.o' failed

      make: *** [.obj/utils.o] Error 1

      log.cpp: In member function 'void Log::log(QString)':

      log.cpp:86:22: error: invalid cast from type 'QString' to type 'const
      char*'

      log ((const char *)qsLog);

      ^

      log.cpp: In member function 'void Log::log(Log::type, QString)':

      log.cpp:91:33: error: invalid cast from type 'QString' to type 'const
      char*'

      log (iLogLevel, (const char *)qsLog);

      ^

      Makefile:5329: recipe for target '.obj/log.o' failed

      make: *** [.obj/log.o] Error 1

      rgba.cpp: In member function 'bool Rgba::fromString(QString)':

      rgba.cpp:96:25: error: 'class QString' has no member named 'upper'

      strColor = strColor.upper ( );

      ^

      Makefile:5396: recipe for target '.obj/rgba.o' failed

      make: *** [.obj/rgba.o] Error 1

      Build of QDVDAuthor failed.

      [hodges7@localhost qdvdauthor-2.3.1]$


      build qdvdauthor-2.3.1 on 64bit Mageia4
      http://sourceforge.net/p/qdvdauthor/discussion/340649/thread/9ea3e7b0/?limit=50#20fd


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/qdvdauthor/discussion/340649/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      Attachments