cmake for dummies?

Bill G.

Koitin asentaa Kenvy24 koneeseen.. (http://sourceforge.net/projects/kenvy24/)

"cmake" antoi herjan:

cmake_minimum_required(VERSION 2.8)


Laittamalla tämän CMakeLists.txt tiedostoon pääsin eteenpäin:

cmake_minimum_required(VERSION 2.4)
if(COMMAND cmake_policy)
# policy settings ...
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

Seuraava herja tämä:

Unknown CMake command "kde4_add_ui_files"

Laittamalla tämän CMakeLists.txt tiedostoon pääsin eteenpäin:

find_package(KDE4 REQUIRED)

Seuraavaksi herja:

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/user/apps;/usr/share/kde4/apps Call Stack (most recent call first):
CMakeLists.txt:20 (find_package)

Asentelin apt-file, kdelib.. ym ja sain vihdoinkin komennon loppuun ilman virheitä:

-- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Downloads/kenvy24-1.2-src

.. mutta nyt "make" antaa herjan:

/usr/include/kparts/part.h:23:27: error: QtCore/QPointer: No such file or directory
/usr/include/kparts/part.h:24:25: error: QtCore/QEvent: No such file or directory
/usr/include/kparts/part.h:25:37: error: QtCore/QSharedDataPointer: No such file or directory
/usr/include/kparts/part.h:26:45: error: QtXml/QDomElement: No such file or directory In file included from /usr/include/kdecore_export.h:24,

..jne

Mitä paketteja multa vielä voisi puuttua?

Distro squeeze, kde ja 2.6.32-5-amd64

11

301

    Vastaukset

    Anonyymi (Kirjaudu / Rekisteröidy)
    5000
    • yb'jubGN

      Ainakin headereita puuttuu. Ehkä libqt4-dev. Mahdollisesti muitakin.

    • Bill G.

      ainakin tuo kyseinen libqt4-dev löytyy... pitää tutkia lisää.

      $ cmake /home/user/Downloads/kenvy24-1.2-src/src/ -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$KDEDIR
      -- The C compiler identification is GNU
      -- The CXX compiler identification is GNU
      -- Check for working C compiler: /usr/bin/gcc
      -- Check for working C compiler: /usr/bin/gcc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c
      -- Check for working CXX compiler: /usr/bin/c -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Looking for Q_WS_X11
      -- Looking for Q_WS_X11 - found
      -- Looking for Q_WS_WIN
      -- Looking for Q_WS_WIN - not found.
      -- Looking for Q_WS_QWS
      -- Looking for Q_WS_QWS - not found.
      -- Looking for Q_WS_MAC
      -- Looking for Q_WS_MAC - not found.
      -- Found Qt-Version 4.6.3 (using /usr/bin/qmake-qt4)
      -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
      -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
      -- Looking for gethostbyname
      -- Looking for gethostbyname - found
      -- Looking for connect
      -- Looking for connect - found
      -- Looking for remove
      -- Looking for remove - found
      -- Looking for shmat
      -- Looking for shmat - found
      -- Looking for IceConnectionNumber in ICE
      -- Looking for IceConnectionNumber in ICE - found
      -- Found X11: /usr/lib/libX11.so
      -- Looking for include files CMAKE_HAVE_PTHREAD_H
      -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - found
      -- Found Threads: TRUE
      -- Looking for _POSIX_TIMERS
      -- Looking for _POSIX_TIMERS - found
      -- Found Automoc4: /usr/bin/automoc4
      -- Found Perl: /usr/bin/perl
      -- Phonon Version: 4.4.2
      -- Found Phonon: /usr/lib/libphonon.so
      -- Found Phonon Includes: /usr/include/KDE;/usr/include
      -- Performing Test _OFFT_IS_64BIT
      -- Performing Test _OFFT_IS_64BIT - Success
      -- Performing Test HAVE_FPIE_SUPPORT
      -- Performing Test HAVE_FPIE_SUPPORT - Success
      -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
      -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
      -- Performing Test __KDE_HAVE_GCC_VISIBILITY
      -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
      -- Found KDE 4.4 include dir: /usr/include
      -- Found KDE 4.4 library dir: /usr/lib
      -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
      -- Found automoc4: /usr/bin/automoc4
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/user/Downloads/kenvy24-1.2-src

      • Bill G.

        $ make
        Scanning dependencies of target kenvy24_mainpart_automoc
        Generating envycard.moc
        Generating mainpartadaptor.moc
        Generating kenvy24partwidget.moc
        Generating kenvy24partbase.moc
        Generating mainpart.moc
        [ 0%] Built target kenvy24_mainpart_automoc
        [ 3%] Generating ui_mainpart.h
        Scanning dependencies of target kenvy24_mainpart
        [ 6%] Building CXX object CMakeFiles/kenvy24_mainpart.dir/kenvy24_mainpart_automoc.o
        [ 9%] Building CXX object CMakeFiles/kenvy24_mainpart.dir/mainpart.o
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kparts/part.h:23:27: error: QtCore/QPointer: No such file or directory
        /usr/include/kparts/part.h:24:25: error: QtCore/QEvent: No such file or directory
        /usr/include/kparts/part.h:25:37: error: QtCore/QSharedDataPointer: No such file or directory
        /usr/include/kparts/part.h:26:45: error: QtXml/QDomElement: No such file or directory
        In file included from /usr/include/kdecore_export.h:24,
        from /usr/include/kurl.h:25,
        from /usr/include/kparts/part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory
        In file included from /usr/include/kparts/part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kurl.h:27:27: error: QtCore/QVariant: No such file or directory
        /usr/include/kurl.h:28:23: error: QtCore/QUrl: No such file or directory
        /usr/include/kurl.h:29:23: error: QtCore/QMap: No such file or directory
        In file included from /usr/include/kparts/part.h:29,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kxmlguiclient.h:25:30: error: QtCore/QStringList: No such file or directory
        In file included from /usr/include/kconfiggroup.h:27,
        from /usr/include/kdialog.h:32,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kconfigbase.h:29:27: error: QtCore/QtGlobal: No such file or directory
        In file included from /usr/include/kdialog.h:32,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kconfiggroup.h:31:47: error: QtCore/QExplicitlySharedDataPointer: No such file or directory
        In file included from /usr/include/kconfiggroup.h:714,
        from /usr/include/kdialog.h:32,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/conversion_check.h:25:26: error: QtCore/QString: No such file or directory
        /usr/include/conversion_check.h:26:24: error: QtGui/QColor: No such file or directory
        /usr/include/conversion_check.h:27:23: error: QtGui/QFont: No such file or directory
        /usr/include/conversion_check.h:28:24: error: QtCore/QDate: No such file or directory
        /usr/include/conversion_check.h:29:25: error: QtCore/QPoint: No such file or directory
        /usr/include/conversion_check.h:30:24: error: QtCore/QSize: No such file or directory
        /usr/include/conversion_check.h:31:24: error: QtCore/QRect: No such file or directory
        In file included from /usr/include/kguiitem.h:27,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kicontheme.h:30:24: error: QtCore/QList: No such file or directory


      • Bill G.
        Bill G. kirjoitti:

        $ make
        Scanning dependencies of target kenvy24_mainpart_automoc
        Generating envycard.moc
        Generating mainpartadaptor.moc
        Generating kenvy24partwidget.moc
        Generating kenvy24partbase.moc
        Generating mainpart.moc
        [ 0%] Built target kenvy24_mainpart_automoc
        [ 3%] Generating ui_mainpart.h
        Scanning dependencies of target kenvy24_mainpart
        [ 6%] Building CXX object CMakeFiles/kenvy24_mainpart.dir/kenvy24_mainpart_automoc.o
        [ 9%] Building CXX object CMakeFiles/kenvy24_mainpart.dir/mainpart.o
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kparts/part.h:23:27: error: QtCore/QPointer: No such file or directory
        /usr/include/kparts/part.h:24:25: error: QtCore/QEvent: No such file or directory
        /usr/include/kparts/part.h:25:37: error: QtCore/QSharedDataPointer: No such file or directory
        /usr/include/kparts/part.h:26:45: error: QtXml/QDomElement: No such file or directory
        In file included from /usr/include/kdecore_export.h:24,
        from /usr/include/kurl.h:25,
        from /usr/include/kparts/part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory
        In file included from /usr/include/kparts/part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kurl.h:27:27: error: QtCore/QVariant: No such file or directory
        /usr/include/kurl.h:28:23: error: QtCore/QUrl: No such file or directory
        /usr/include/kurl.h:29:23: error: QtCore/QMap: No such file or directory
        In file included from /usr/include/kparts/part.h:29,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kxmlguiclient.h:25:30: error: QtCore/QStringList: No such file or directory
        In file included from /usr/include/kconfiggroup.h:27,
        from /usr/include/kdialog.h:32,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kconfigbase.h:29:27: error: QtCore/QtGlobal: No such file or directory
        In file included from /usr/include/kdialog.h:32,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kconfiggroup.h:31:47: error: QtCore/QExplicitlySharedDataPointer: No such file or directory
        In file included from /usr/include/kconfiggroup.h:714,
        from /usr/include/kdialog.h:32,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/conversion_check.h:25:26: error: QtCore/QString: No such file or directory
        /usr/include/conversion_check.h:26:24: error: QtGui/QColor: No such file or directory
        /usr/include/conversion_check.h:27:23: error: QtGui/QFont: No such file or directory
        /usr/include/conversion_check.h:28:24: error: QtCore/QDate: No such file or directory
        /usr/include/conversion_check.h:29:25: error: QtCore/QPoint: No such file or directory
        /usr/include/conversion_check.h:30:24: error: QtCore/QSize: No such file or directory
        /usr/include/conversion_check.h:31:24: error: QtCore/QRect: No such file or directory
        In file included from /usr/include/kguiitem.h:27,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kicontheme.h:30:24: error: QtCore/QList: No such file or directory

        In file included from /usr/include/kicontheme.h:32,
        from /usr/include/kguiitem.h:27,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kiconloader.h:27:26: error: QtCore/QObject: No such file or directory
        In file included from /usr/include/kiconloader.h:29,
        from /usr/include/kicontheme.h:32,
        from /usr/include/kguiitem.h:27,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kglobal.h:23:33: error: QtCore/QAtomicPointer: No such file or directory
        In file included from /usr/include/kguiitem.h:28,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kicon.h:24:23: error: QtGui/QIcon: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kdialog.h:35:25: error: QtGui/QDialog: No such file or directory
        In file included from /usr/include/klocale.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:2,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/klocalizedstring.h:25:24: error: QtCore/QChar: No such file or directory
        /usr/include/klocalizedstring.h:26:30: error: QtCore/QLatin1Char: No such file or directory
        In file included from /usr/include/ksharedconfig.h:25,
        from /usr/include/klocale.h:26,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:2,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kconfig.h:33:29: error: QtCore/QByteArray: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:17:25: error: QtGui/QAction: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:18:30: error: QtGui/QApplication: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:19:30: error: QtGui/QButtonGroup: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:20:27: error: QtGui/QComboBox: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:21:24: error: QtGui/QFrame: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:22:29: error: QtGui/QHBoxLayout: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:23:29: error: QtGui/QHeaderView: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:24:24: error: QtGui/QLabel: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:25:29: error: QtGui/QPushButton: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:26:28: error: QtGui/QTabWidget: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:27:29: error: QtGui/QToolButton: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:28:29: error: QtGui/QVBoxLayout: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:29:25: error: QtGui/QWidget: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:23:19: error: QWidget: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:24:24: error: QApplication: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:27,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kdebug.h:27:25: error: QtCore/QDebug: No such file or directory


      • Bill G.
        Bill G. kirjoitti:

        In file included from /usr/include/kicontheme.h:32,
        from /usr/include/kguiitem.h:27,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kiconloader.h:27:26: error: QtCore/QObject: No such file or directory
        In file included from /usr/include/kiconloader.h:29,
        from /usr/include/kicontheme.h:32,
        from /usr/include/kguiitem.h:27,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kglobal.h:23:33: error: QtCore/QAtomicPointer: No such file or directory
        In file included from /usr/include/kguiitem.h:28,
        from /usr/include/kdialog.h:33,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kicon.h:24:23: error: QtGui/QIcon: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:1,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kdialog.h:35:25: error: QtGui/QDialog: No such file or directory
        In file included from /usr/include/klocale.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:2,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/klocalizedstring.h:25:24: error: QtCore/QChar: No such file or directory
        /usr/include/klocalizedstring.h:26:30: error: QtCore/QLatin1Char: No such file or directory
        In file included from /usr/include/ksharedconfig.h:25,
        from /usr/include/klocale.h:26,
        from /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:2,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kconfig.h:33:29: error: QtCore/QByteArray: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:17:25: error: QtGui/QAction: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:18:30: error: QtGui/QApplication: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:19:30: error: QtGui/QButtonGroup: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:20:27: error: QtGui/QComboBox: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:21:24: error: QtGui/QFrame: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:22:29: error: QtGui/QHBoxLayout: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:23:29: error: QtGui/QHeaderView: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:24:24: error: QtGui/QLabel: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:25:29: error: QtGui/QPushButton: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:26:28: error: QtGui/QTabWidget: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:27:29: error: QtGui/QToolButton: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:28:29: error: QtGui/QVBoxLayout: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/ui_mainpart.h:29:25: error: QtGui/QWidget: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:23:19: error: QWidget: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:24:24: error: QApplication: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:27,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kdebug.h:27:25: error: QtCore/QDebug: No such file or directory

        In file included from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kmessagebox.h:25:29: error: QtGui/QMessageBox: No such file or directory
        In file included from /usr/include/kmessagebox.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kstandardguiitem.h:24:24: error: QtCore/QPair: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:29,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/klibloader.h:25:24: error: QtCore/QHash: No such file or directory
        /usr/include/klibloader.h:26:27: error: QtCore/QLibrary: No such file or directory
        /usr/include/klibloader.h:27:27: error: QtCore/QtPlugin: No such file or directory
        In file included from /usr/include/kpluginfactory.h:31,
        from /usr/include/klibloader.h:29,
        from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:29,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kexportplugin.h:24:32: error: QtCore/QPluginLoader: No such file or directory
        In file included from /usr/include/kgenericfactory.h:27,
        from /usr/include/kparts/genericfactory.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24partbase.h:24,
        from /home/user/Downloads/kenvy24-1.2-src/src/kenvy24part.h:31,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:25,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kgenericfactory.tcc:40:30: error: QtCore/QMetaObject: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:21:
        /home/user/Downloads/kenvy24-1.2-src/src/mainpartadaptor.h:21:25: error: QtDBus/QtDBus: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:24:
        /home/user/Downloads/kenvy24-1.2-src/src/envycardfactory.h:23:17: error: QList: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:25:
        /home/user/Downloads/kenvy24-1.2-src/src/envycard.h:24:21: error: qobject.h: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/src/envycard.h:28:20: error: QVariant: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:28:18: error: QTimer: No such file or directory
        /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:29:21: error: QComboBox: No such file or directory
        In file included from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:348:
        /home/user/Downloads/kenvy24-1.2-src/mainpart.moc:12:2: error: #error "The header file 'mainpart.h' doesn't include ."
        /home/user/Downloads/kenvy24-1.2-src/mainpart.moc:13:7: warning: "Q_MOC_OUTPUT_REVISION" is not defined
        In file included from /usr/include/kparts/part.h:28,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.h:23,
        from /home/user/Downloads/kenvy24-1.2-src/src/mainpart.cpp:20:
        /usr/include/kurl.h:112: error: expected class-name before ‘{’ token
        /usr/include/kurl.h:114: error: expected ‘;’ before ‘


    • yb'jubGN

      Lähdetään seuraamaan vain käännöstä. Huomataan että ensimmäinen puute on /usr/include/kparts/part.h.

      Debianin kotisivulta nähdään että se löytyy paketista kdelibs5-dev.

      Asennetaan kyseinen paketti ja käännetään. Mikäli ei mene läpi niin katsotaan mitä vielä puutuu.

    • Bill G.

      $ sudo apt-get install kdelibs5-dev
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      kdelibs5-dev is already the newest version.

      Ei auttanut.. sivuilta löytyy tämä:
      "After installing kdecore-dev and kdesdk-dev, you can compile and run kenvy24 under KDE4."

      $ sudo apt-get install kdecore-dev kdesdk-dev
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package kdecore-dev
      E: Unable to locate package kdesdk-dev

      MIkä noiden pakettien nimi voisi olla squeezessa?

      • yb'jubGN

        Kde-core on metapaketti, jonka asentaminen tuo mukanaan paketit

        kde-plasma-desktop (>= 5:66) | kde-plasma-netbook (>= 5:66)
        polkit-kde-1
        ark (>= 4:4.4.3)
        dragonplayer (>= 4:4.4.3)
        gwenview (>= 4:4.4.3)
        juk (>=4:4.4.3)
        kate (>= 4:4.4.3)
        kcalc (>= 4:4.4.3)
        kmail (>= 4:4.4.3)
        akregator (>= 4:4.4.3)
        kaddressbook (>= 4:4.4.3)
        kdeplasma-addons (>= 4:4.4.3)
        knotes (>= 4:4.4.3)
        kwalletmanager (>= 4:4.4.3)
        korganizer (>= 4:4.4.3)
        kopete (>= 4:4.4.3)
        kmix (>= 4:4.4.3)
        ksnapshot (>= 4:4.4.3)
        kscreensaver (>= 4:4.4.3)
        okular (>= 4:4.4.3)
        plasma-desktopthemes-artwork (>= 4:4.4.3)
        sweeper (>= 4:4.4.3)
        khelpcenter4 (>= 4:4.4.3)

        Kdedsk on myös metapaketti ja se asentaa paketit

        cervisia (>= 4:4.4.5-1)
        kapptemplate (>= 4:4.4.5-1)
        kate (>= 4:4.4.5-1)
        kbugbuster (>= 4:4.4.5-1)
        kcachegrind (>= 4:4.4.5-1)
        kdesdk-kio-plugins (>= 4:4.4.5-1) | kdesvn-kio-plugins
        kdesdk-misc (>= 4:4.4.5-1)
        kdesdk-scripts (>= 4:4.4.5-1)
        kdesdk-strigi-plugins (>= 4:4.4.5-1)
        kompare (>= 4:4.4.5-1)
        kuiviewer (>= 4:4.4.5-1)
        lokalize (>= 4:4.4.5-1)
        poxml (>= 4:4.4.5-1)
        umbrello (>= 4:4.4.5-1)
        kpartloader (>= 4:4.4.5-1)
        kmtrace (>= 4:4.4.5-1)

        Eli noille paketeille pitää vielä etsiä sopivat dev paketit.


      • :wq

        >> E: Unable to locate package kdecore-dev
        E: Unable to locate package kdesdk-dev
        MIkä noiden pakettien nimi voisi olla squeezessa? >>

        Asiasta sen enempää tietämättä: Olisko kyseessä nämä pakut?

        A ) kdecore ? Näissä ei liene mitään mielenkiintoista, sillä ne ovat jo asennettuina?
        $ apt-cache search kdecore
        libkdecore5 - the KDE Platform Core Library
        libsmokekdecore4-3 - KDE Core Smoke libraries
        python-kde4 - Python bindings for the KDE Development Platform

        Näissä ei liene mitään mielenkiintoista, sillä ne ovat jo asennettuina?
        $ dpkg -l | grep paketin-nimi
        ii libkdecore5
        ii libsmokekdecore4-3
        ii python-kde4

        2) kdesdk ? Mutta näissä voipi olla koko villakoiran ydin:
        $ apt-cache search kdesdk
        kdesdk-dbg - debugging symbols for the KDE Software Development Kit module
        kdesdk-kio-plugins - transparent Subversion access and Perl documentation KIO slaves
        kdesdk-misc - miscellaneous tools from the KDE Software Development Kit
        kdesdk-scripts - scripts and data files for development
        kdesdk-strigi-plugins - software development file format plugins for Strigi Desktop Search
        kdesdk - Software Development Kit from the official KDE release

        Mulla mikään näista jälkimmäisistä 4 pakusta ei ollu asennettuna, joten olisko kyse näiden pakujen puuttumisesta ? ( kdesdk = KDE Sofware Development Kit ). Varmaa on, että ainakin tuota jälkimmäistä (kdeskd) tarvitaan...


      • yb'jubGN
        :wq kirjoitti:

        >> E: Unable to locate package kdecore-dev
        E: Unable to locate package kdesdk-dev
        MIkä noiden pakettien nimi voisi olla squeezessa? >>

        Asiasta sen enempää tietämättä: Olisko kyseessä nämä pakut?

        A ) kdecore ? Näissä ei liene mitään mielenkiintoista, sillä ne ovat jo asennettuina?
        $ apt-cache search kdecore
        libkdecore5 - the KDE Platform Core Library
        libsmokekdecore4-3 - KDE Core Smoke libraries
        python-kde4 - Python bindings for the KDE Development Platform

        Näissä ei liene mitään mielenkiintoista, sillä ne ovat jo asennettuina?
        $ dpkg -l | grep paketin-nimi
        ii libkdecore5
        ii libsmokekdecore4-3
        ii python-kde4

        2) kdesdk ? Mutta näissä voipi olla koko villakoiran ydin:
        $ apt-cache search kdesdk
        kdesdk-dbg - debugging symbols for the KDE Software Development Kit module
        kdesdk-kio-plugins - transparent Subversion access and Perl documentation KIO slaves
        kdesdk-misc - miscellaneous tools from the KDE Software Development Kit
        kdesdk-scripts - scripts and data files for development
        kdesdk-strigi-plugins - software development file format plugins for Strigi Desktop Search
        kdesdk - Software Development Kit from the official KDE release

        Mulla mikään näista jälkimmäisistä 4 pakusta ei ollu asennettuna, joten olisko kyse näiden pakujen puuttumisesta ? ( kdesdk = KDE Sofware Development Kit ). Varmaa on, että ainakin tuota jälkimmäistä (kdeskd) tarvitaan...

        Menee vähän monimutkaiseksi. Kde-core on siirrospaketti edellisestä versiosta siirryttäessä. Se ei tee muuta kuin asentaa kde-standard metapaketin paketin. Se puolestaan asentaa pitkän rivin paketteja.

        Metapaketeilla puolestaan ei ole vastaavia dev-paketteja. Kdesdk on myös metapaketti eikä silläkään ole vastaavaa dev pakettia. Tilannetta pahentaa se että myöskään kaikilla oikeilla ohjelmapaketeilla ei ole vastaavaa deb- pakettia.

        Helpoin tapa on katsoa minkä headerin puuttumista kääntäjä valittaa. Sitten Debianin pakettisivulta hakukoneella haetaan paketti, josta se löytyy. Asennetaan paketti ja taas kokeillaan kääntää.

        Kehityspaketit sisältävät sellaista mitä kääntämisessä tarvitaan ja ne on syytä kaikki asentaa.

        Debianin ajatus pirstoa kaikki pieniksi paketeiksi oli hyvä kun koneissa oli tilasta jatkuva pula. Nyt isojen levyjen aikana olisi hyvä olla sellainen valintamahdollisuus, jossa ohjelmat saisi suurempina palasina kehitystyökalujen kanssa.


    • Saukko80

      Ei sitä huvikseen oo CMake-versiota määritetty 2.8:n

    Ketjusta on poistettu 0 sääntöjenvastaista viestiä.

    Luetuimmat keskustelut

    1. Onks sulle väliä, jos jokin kaivattusissa

      ei ole täydellistä? Esim. venytysmerkit, arvet, selluliitti, epäsymmetriset rinnat, vinot hampaat jne?
      Ikävä
      85
      4550
    2. Ei sinussa ollut miestä

      Selvittämään asioita vaan kipitit karkuun kuin pikkupoika.
      Ikävä
      127
      3958
    3. Shokkiyllätys! 31-vuotias Hai asuu vielä "kotona" - Anna-vaimon asenne ihmetyttää: "No ei tämä..."

      Hmmm, mitenhän sitä suhtautuisi, jos aviomies/aviovaimo asuisi edelleen lapsuudenperheensä kanssa? Tuore Ensitreffit-vai
      Ensitreffit alttarilla
      33
      2511
    4. Eikö Marin ollut oikeassa kokoomuksen ja persujen toiminnasta

      Ennen vaaleja Marin kertoi mitä kokoomus tulisi hallituksessa tekemään ja tietysti persut suostuu kaikkeen, mitä kokoomu
      Maailman menoa
      196
      1513
    5. Wiisaat Lappajärvellä iät.

      Nyt nimiä listaan menneistä ja nykyisistä Wiisaista Lappajärveläisistä. Itseäkin voi tuoda esille kaikessa Wiisaudessa.
      Lappajärvi
      12
      1286
    6. Missä Steffe hiihtää?

      Missä reppuli luuraa? Ei ole Seiskassa mitään sekoiluja ollut pariin viikkoon? Onko jo liian kylmä skulata tennistä ulko
      Kotimaiset julkkisjuorut
      22
      1243
    7. Olet elämäni rakkaus

      On ollut monia ihastumisia ja syviäkin tunteita eri naisia kohtaan, mutta sinä olet niistä kaikista ihmeellisin. Olet el
      Ikävä
      36
      1198
    8. Ratkaiseva tekijä kiinnostuksen heräämisessä

      Mikä tekee deittikumppanista kiinnostavan? Mitä piirrettä arvostat / et arvosta?
      Sinkut
      62
      1193
    9. Milloin nainen, milloin?

      Katselet ja tiedän, että myös mieli tekee. Voisit laittaa rohkeasti viestin. Tiedät, että odotan. Ehkä aika ei ole vielä
      Ikävä
      61
      1153
    10. Olen menettänyt yöunet kokonaan

      Nytkin vain tunnin nukkunut. En tiedä johtuuko se sinusta vai tästä palstasta. Olis mukava nähdä oikeasti eikä arvuutel
      Tunteet
      17
      1055
    Aihe