Dear BLFS folks,

On 03/07/17 13:55, Paul Menzel wrote:

The instructions for Qt 5.8.0 [1] contain the part below.

Remove references to the build directory from the installed .pc files
by running the following command as the root user:

```
find $QT5PREFIX/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s,
-L$PWD/?\S+,,g" {} \;
```

Looking through all the pkg-config files, only
`/usr/local/qt5/lib/pkgconfig/Qt5WebEngineCore.pc` contains a reference
the build path.

Despite being correct, I suggest to update the instructions to only
touch that one file.

I created issue 59342 [2] in the upstream bug tracker, so hopefully this
will also be fixed soon.

I just noticed, that I built Qt with the Qt WebEngine, which that file belongs to, and therefore for the “recommended BLFSs configuration” all pkg-config files seem to be good.

```
$ find /dev/shm/qt5/qt5-5.8.0-0/image -type f -name \*.pc -print0 \
| xargs -0 grep 'dev/shm'
$
```


Kind regards,

Paul


[1] http://www.linuxfromscratch.org/blfs/view/8.0/x/qt5.html
[2] https://bugreports.qt.io/browse/QTBUG-59342
    "[Qt bugreports] (QTBUG-59342) pkg-config file contains build
directory path"
--
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