[kde-freebsd] Qt 4.8.0 from area51 with clang

Olivier Smedts olivier at gid0.org
Thu Mar 22 09:34:24 UTC 2012


Hello,

Are there any recommendations to compile Qt 4.8.0 (from area51) with
clang ? I set up my /etc/make.conf as usual for clang, it worked
perfectly with Qt 4.7 (except qt4-webkit) but now where trying ti
"portmaster -a" :

===>  Configuring for qt4-rcc-4.8.0
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g'  /tmp/usr/
ports/devel/qt4-rcc/work/qt-everywhere-opensource-src-4.8.0/src/tools/rcc/rcc.pr
o
/bin/mkdir -p /tmp/usr/ports/devel/qt4-rcc/work/qt-everywhere-opensource-src-4.8
.0/mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /tmp/usr/ports/devel/qt4-rcc/work/qt-everyw
here-opensource-src-4.8.0/bin/qmake
WARNING: Unable to find file /usr/local/share/qt4/mkspecs/freebsd-clang/../commo
n/clang-unix.conf
WARNING: Unable to find file /usr/local/share/qt4/mkspecs/freebsd-clang/../commo
n/clang-unix.conf
WARNING: Unable to find file /usr/local/share/qt4/mkspecs/freebsd-clang/../commo
n/clang-unix.conf
ERROR: Cannot set the compiler for the configuration tests
===>  Script "configure" failed unexpectedly.
Please report the problem to kde at FreeBSD.org [maintainer] and attach the
"/tmp/usr/ports/devel/qt4-rcc/work/qt-everywhere-opensource-src-4.8.0/config.log
"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

portmaster already updated qt4-qmake to 4.8.0.
% ll /usr/local/share/qt4/mkspecs/freebsd-clang/
total 1
-rw-r--r--  1 root  wheel  1349 22 mar 10:12 qmake.conf
-rw-r--r--  1 root  wheel  3272  8 déc 06:06 qplatformdefs.h
% ll /usr/local/share/qt4/mkspecs/common/clang*
-rw-r--r--  1 root  wheel  635 22 mar 10:12
/usr/local/share/qt4/mkspecs/common/clang.conf

If I try to link clang-unix.conf to clang.conf, after that the
configure script for qt4-rcc complains that clang-base-unix.conf and
clang++-unix.conf are missing.

Thanks for help.

-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."


More information about the kde-freebsd mailing list