On 3/2/19 4:29 PM, spiky0011 via blfs-dev wrote:

On 02/03/2019 20:23, Bruce Dubbs via blfs-dev wrote:
On 3/2/19 12:32 PM, spiky0011 via blfs-dev wrote:

On 02/03/2019 16:18, Bruce Dubbs via blfs-dev wrote:
On 3/2/19 7:45 AM, spiky0011 via blfs-dev wrote:
I,m trying to install kde (/opt/kf5) and QT is in /opt

kf5 builds up as far as kross "3 from end" and fails. I have rebuilt QT and tried kf5 again, also if I skip kross the others build. But Plasma kwin fails the same error?


cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
 >             -DCMAKE_PREFIX_PATH=$QT5DIR        \
 >             -DCMAKE_BUILD_TYPE=Release         \
 >             -DBUILD_TESTING=OFF                \
 >             -Wno-dev ..


> CMake Error at /opt/qt5/lib/cmake/Qt5/Qt5Config.cmake:28 > (find_package): >   Could not find a package configuration file provided by "Qt5Script" > with any of the following names:
>
>    Qt5ScriptConfig.cmake
>    qt5script-config.cmake

You should have
  /opt/qt-5.12.1/lib/cmake/Qt5Script/Qt5ScriptConfig.cmake

You should also have

$ cat /etc/profile.d/qt5.sh

# Begin /etc/profile.d/qt.sh

export QT5DIR=/opt/qt5
export QT5BINDIR=/opt/qt5/bin

pathappend $QT5DIR/bin           PATH
pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH

pathappend $QT5DIR/plugins       QT_PLUGIN_PATH
pathappend $QT5DIR/qml           QML2_IMPORT_PATH

# End /etc/profile.d/qt.sh

Note the PKG_CONFIG_PATH entry.

  -- Bruce

Ok Qt5Scripts and Qt5ScriptTools, Qt5VirtualKeyboard, Qt5Positioning is not being created, everything else is in there.

Yes /etc/profile.d/qt.sh is there as per the book, So the Question is what have I missed that creates the Scripts part?

I have successfully built kde a few times before and all have worked.

Are you building qt from a script?  If so, what does the configure line look like?  It should be, from the book:

 find . -name "*.pr[io]" | xargs sed -i 's/python/&3/' &&

./configure -prefix $QT5PREFIX                        \
            -sysconfdir /etc/xdg                      \
            -confirm-license                          \
            -opensource                               \
            -dbus-linked                              \
            -openssl-linked                           \
            -system-harfbuzz                          \

-system-sqlite                            \
            -nomake examples                          \
            -no-rpath                                 \
            -skip qtwebengine

Did you miss the line changing python to python3?

  -- Bruce

Ok tried without the python3 part still the same, I have built 5.12.1 on blfs-8.3 and it all worked.

I have know idea where to look, Do you think it,s a Python issue?

Hard to say. What do your Qt logs say about Qt5Script? My log matches 310 lines including:

/tmp/qt5/qt-everywhere-src-5.12.1/qtbase/bin/qmake -install qinstall -exe ../../lib/libQt5Script.so.5.12.1 /opt/qt5/lib/libQt5Script.so.5.12.1
strip --strip-unneeded /opt/qt5/lib/libQt5Script.so.5.12.1
ln -f -s libQt5Script.so.5.12.1 /opt/qt5/lib/libQt5Script.so
ln -f -s libQt5Script.so.5.12.1 /opt/qt5/lib/libQt5Script.so.5
ln -f -s libQt5Script.so.5.12.1 /opt/qt5/lib/libQt5Script.so.5.12

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to