--On Wednesday, February 18, 2009 3:55 PM -0600 Matt <datahe...@gmail.com>
wrote:
On Wed, Feb 18, 2009 at 3:30 PM, Goran Lowkrantz <g...@hidden-powers.com>
wrote:
--On Wednesday, February 18, 2009 2:34 PM -0600 Matt
<datahe...@gmail.com> wrote:
On Wed, Feb 18, 2009 at 2:22 PM, Goran Lowkrantz <g...@hidden-powers.com>
wrote:
--On Wednesday, February 18, 2009 2:13 PM -0600 Matt
<datahe...@gmail.com> wrote:
On Wed, Feb 18, 2009 at 12:58 PM, Goran Lowkrantz
<g...@hidden-powers.com> wrote:
Trying to build the KDE4 versions of these ports fails as the build
pick up old headers from qt3 through qt-copy-3.3.8_9.
[snip]
Here is the first time we get the error and -I/usr/local/include occurs
before the Qt4 paths.
[ 9%] ^[[32mBuilding CXX object
digikam/CMakeFiles/digikamcore.dir/__/libs/threadimageio/loadsavetask.o^M
^[[0mcd
/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digik
am && /usr/bin/c++ -D_GNU_SOURCE -DQT_NO_STL -D
QT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT
-DQT3_SUPPORT_WARNINGS -DMAKE_DIGIKAMCORE_LIB -O2 -pipe
-fno-strict-aliasing -Woverloaded-virtual -fvisibility=hidden
-fvisibility-inlines-hidden -O2 -g -fPIC -I/var/ports/usr/ports/gra
phics/digikam-kde4/work/digikam-0.10.0-rc2/digikam
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/. ./libs/dimg
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../libs/dimg/loaders -I/var/ports/usr/po
rts/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/../libs/dimg/f
ilters -I/var/ports/usr/ports/graphics/digikam-kde4/work/
digikam-0.10.0-rc2/digikam/../libs/whitebalance
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../l ibs/dmetadata
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../libs/histogram -I/var/ports/usr/por
ts/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/../libs/curves
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam
-0.10.0-rc2/digikam/../libs/levels
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../libs/lprof -I/
var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digika
m/../libs/jpegutils -I/var/ports/usr/ports/graphics/digik
am-kde4/work/digikam-0.10.0-rc2/digikam/../libs/greycstoration
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-r
c2/digikam/../libs/threadimageio
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../libs/widgets/com mon
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../libs/widgets/imageplugins -I/var/ports/usr/po
rts/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/../libs/widget
s/metadata -I/var/ports/usr/ports/graphics/digikam-kde4/w
ork/digikam-0.10.0-rc2/digikam/../libs/widgets/iccprofiles
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/d
igikam/../libs/imageproperties
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../libs/dialogs -I/va
r/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/
../libs/database -I/var/ports/usr/ports/graphics/digikam-
kde4/work/digikam-0.10.0-rc2/digikam/../libs/database/sqlite2
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc
2/digikam/../libs/database/haar
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../utilities/slidesh ow
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../utilities/imageeditor/editor -I/var/ports/usr/
ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/../utilities
/imageeditor/canvas -I/var/ports/usr/ports/graphics/digik
am-kde4/work/digikam-0.10.0-rc2/digikam/../utilities/imageeditor/tools
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-
0.10.0-rc2/digikam/../utilities/imageeditor/rawimport
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ika m/../libs/themeengine
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../utilities/kipiiface -I/var/
ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/..
/utilities/cameragui -I/var/ports/usr/ports/graphics/digi
kam-kde4/work/digikam-0.10.0-rc2/digikam/../utilities/setup
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/
digikam/../utilities/batch
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../utilities/lighttable -
I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/digi
kam/../utilities/searchwindow -I/var/ports/usr/ports/grap
hics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/../utilities/fuzzysear
ch -I/var/ports/usr/ports/graphics/digikam-kde4/work/digi
kam-0.10.0-rc2/digikam/../utilities/gpssearch
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../uti lities/timeline
-I/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
ikam/../digikam -I/var/ports/usr/ports/gr
aphics/digikam-kde4/work/digikam-0.10.0-rc2/digikam/..
-I/usr/local/kde4/include -I/usr/local/include
-I/usr/local/kde4/include/K DE -I/usr/local/include/qt4/QtXmlPatterns
-I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtHelp
-I/usr/local/include/
qt4/QtAssistant -I/usr/local/include/qt4/QtDBus
-I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtUiTools
-I/usr/local/i
nclude/qt4/QtScript -I/usr/local/include/qt4/QtSvg
-I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql
-I/usr/local/inc
lude/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork
-I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/Qt3Support
-I/u sr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore
-I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/
usr/local/include/qt4 -I/usr/local/include/gphoto2
-I/usr/local/kde4/include -I/usr/local/kde4/include -fexceptions -o
CMakeFil
es/digikamcore.dir/__/libs/threadimageio/loadsavetask.o -c
/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/lib
s/threadimageio/loadsavetask.cpp^M
In file included from /usr/local/include/qpalette.h:44,^M
from /usr/local/include/qwidget.h:45,^M
from /usr/local/include/qdesktopwidget.h:40,^M
This seems to be use to:
TIFF_INCLUDE_DIR:PATH=/usr/local/include
From digikam/CMakeLists.txt
INCLUDE_DIRECTORIES(
# basic libs
${CMAKE_CURRENT_SOURCE_DIR}/../libs/dimg
${CMAKE_CURRENT_SOURCE_DIR}/../libs/dimg/loaders
${CMAKE_CURRENT_SOURCE_DIR}/../libs/dimg/filters
${CMAKE_CURRENT_SOURCE_DIR}/../libs/whitebalance
${CMAKE_CURRENT_SOURCE_DIR}/../libs/dmetadata
${CMAKE_CURRENT_SOURCE_DIR}/../libs/histogram
${CMAKE_CURRENT_SOURCE_DIR}/../libs/curves
${CMAKE_CURRENT_SOURCE_DIR}/../libs/levels
${CMAKE_CURRENT_SOURCE_DIR}/../libs/lprof
${CMAKE_CURRENT_SOURCE_DIR}/../libs/jpegutils
${CMAKE_CURRENT_SOURCE_DIR}/../libs/greycstoration
${CMAKE_CURRENT_SOURCE_DIR}/../libs/threadimageio
# widgets and dialogs
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/common
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/imageplugins
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/metadata
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/iccprofil
es ${CMAKE_CURRENT_SOURCE_DIR}/../libs/imageproperties
${CMAKE_CURRENT_SOURCE_DIR}/../libs/dialogs
# database libs
${CMAKE_CURRENT_SOURCE_DIR}/../libs/database
${CMAKE_CURRENT_SOURCE_DIR}/../libs/threadimageio
# widgets and dialogs
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/common
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/imageplugins
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/metadata
${CMAKE_CURRENT_SOURCE_DIR}/../libs/widgets/iccprofil
es ${CMAKE_CURRENT_SOURCE_DIR}/../libs/imageproperties
${CMAKE_CURRENT_SOURCE_DIR}/../libs/dialogs
# database libs
${CMAKE_CURRENT_SOURCE_DIR}/../libs/database
${CMAKE_CURRENT_SOURCE_DIR}/../libs/database/sqlite2
${CMAKE_CURRENT_SOURCE_DIR}/../libs/database/haar
# shared utilities
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/slideshow
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/imageeditor/editor
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/imageeditor/canvas
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/imageeditor/tools
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/imageeditor/rawimport
# specific libs and utilities
${CMAKE_CURRENT_SOURCE_DIR}/../libs/themeengine
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/kipiiface
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/cameragui
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/setup
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/slideshow
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/batch
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/lighttable
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/searchwindow
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/fuzzysearch
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/gpssearch
${CMAKE_CURRENT_SOURCE_DIR}/../utilities/timeline
${CMAKE_CURRENT_SOURCE_DIR}/../digikam
# config-digikam.h
${CMAKE_CURRENT_BINARY_DIR}/../
# external library paths
${JPEG_INCLUDE_DIS}
${PNG_PNG_INCLUDE_DIR}
${TIFF_INCLUDE_DIR}
)
and this seems to be prepended on the Qt4 include libs instead of
appended.
/glz
That include order does point to being a cause of the problem. What I
don't understand is that I just checked my local build logs and they
show the /usr/local/include path AFTER the Qt-specific paths while
yours shows it before Qt. What could cause that?
Matt
Sorry, forgot the configure info:
--
----------------------------------------------------------------------------------
-- digiKam 0.10.0-rc2 dependencies results <http://www.digikam.org>
--
-- Qt4 SQL module found................ YES
-- libjpeg library found............... YES
-- libtiff library found............... YES
-- libpng library found................ YES
-- libjasper library found............. YES
-- liblcms library found............... YES
-- libkipi library found............... YES
-- libkexiv2 library found............. YES
-- libkdcraw library found............. YES
-- libgphoto2 library found............ YES
-- libkdepimlibs library found......... YES (optional)
-- libmarblewidget library found....... YES (optional)
-- liblensfun library found............ NO (optional)
--
-- digiKam will be compiled without lens auto-correction image editor
plugin.
--
-- digiKam will be compiled............ YES
--
----------------------------------------------------------------------------------
/glz
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"