[KDE/Mac] OS X observations
Jaroslaw Staniek
staniek at kde.org
Sun Jan 4 19:44:09 UTC 2015
Hi Rene,
Thanks for testing. The issues related to Kexi look like minor and
will be addressed.
Both postgresql and sybase drivers are optional, you can disable them
in cmake cache and try to build Kexi again.
On 4 January 2015 at 12:44, René J.V. <rjvbertin at gmail.com> wrote:
> On Saturday January 03 2015 12:43:30 Friedrich W. H. Kossebau wrote:
>
>>
>> René & all Mac devs, could you try to use the product set "ALL" (which is the
>> default one) and tell what does not build/work on OSX, so it can be explicitly
>> disabled for any builds on OSX platform?
>
> The earlier configure log I sent was based on calligra git/master, which I mistakingly took for the 2.9ß release.
> That's corrected in the attachment.
>
> My initial build attempt failed on a postgresql header that's present when I install port:postgresql93, but somewhere where it isn't found, probably because I had to point cmake to the install location using `-DPostgreSQL_INCLUDE_DIR=${prefix}/include/postgresql93 -DPostgreSQL_TYPE_INCLUDE_DIR=${prefix}/include/postgresql93/server/catalog`.
> Figuring this was a secondary issue to sort out after I got a working build, I removed those definitions.
>
> The 2.9ß CMake finds my Marble install in the toplevel CMakeLists through the CalligraMarble function, but not in kexi/plugins/forms/widgets/mapbrowser/CMakeLists through the Marble function. Replacing with `find_package(CalligraMarble REQUIRED)` solved that issue.
>
> However, the build still fails on Kexi, this time finding sqlfront.h which is part of freetds and in a directory I do define explicitly (` -DFreeTDS_INCLUDE_DIR=${prefix}/include/freetfds -DFreeTDS_LIBRARIES=${prefix}/lib`):
>
> [ 19%] Building CXX object kexi/kexidb/drivers/sybase/CMakeFiles/kexidb_sybasedriver.dir/sybaseconnection.cpp.o
> cd /Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/kexi/kexidb/drivers/sybase && /usr/bin/clang++ -DBOOST_ALL_NO_LIB -DCAN_USE_MARBLE -DCAN_USE_QTWEBKIT -DCOMPILING_TESTS -DHAVE_SETMARBLEWIDGET -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=104 -DKDE_DEFAULT_DEBUG_AREA=44000 -DKDE_DEPRECATED_WARNINGS -DKEXI_NO_AUTOFIELD_WIDGET -DKEXI_NO_CTXT_HELP -DKEXI_NO_CURSOR_PROPERTY -DKEXI_NO_QUICK_PRINTING -DKEXI_NO_SUBFORM -DMAKE_KEXIDB_SYBASEDRIVER_LIB -DQT_EXCEPTIONS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DSHOULD_BUILD_RDF -D_REENTRANT -D__KEXIDB__="" -O3 -march=native -g -arch x86_64 -stdlib=libc++ -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -stdlib=libc++ -O2 -g -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -mmacosx-version-min=10.9 -fPIC -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/kexi/kexidb/drivers/sybase -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/kexi/kexidb/drivers/sybase -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90 -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/interfaces -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/version -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/libs/version -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/kexi -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/kexi -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/flake -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/odf -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/libs/odf -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/koplugin -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/pigment -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/pigment/compositeops -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/pigment/resources -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/kundo2 -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/widgetutils -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/flake/commands -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/flake/tools -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/flake/svg -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/libs/flake -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/basicflakes -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/basicflakes/tools -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/widgets -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/kotext -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/libs/kotext -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/kotext/changetracker -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/kotext/styles -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/kotext/opendocument -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/textlayout -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/main -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/libs/main -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs/main/config -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/libs -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/build/libs/db -I/Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/kexi/kexidb -I/opt/local/include/KDE -I/opt/local/include/qt4/QtXmlPatterns -I/opt/local/include/qt4/QtXml -I/opt/local/include/qt4/QtWebKit -I/opt/local/include/qt4/QtUiTools -I/opt/local/include/qt4/QtTest -I/opt/local/include/qt4/QtSvg -I/opt/local/include/qt4/QtSql -I/opt/local/include/qt4/QtScriptTools -I/opt/local/include/qt4/QtScript -I/opt/local/include/qt4/QtOpenGL -I/opt/local/include/qt4/QtNetwork -I/opt/local/include/qt4/QtMultimedia -I/opt/local/include/qt4/QtHelp -I/opt/local/include/qt4/QtDesigner -I/opt/local/include/qt4/QtDeclarative -I/opt/local/include/qt4/QtDBus -I/opt/local/include/qt4/Qt3Support -I/opt/local/include/qt4/QtGui -I/opt/local/include/qt4/QtCore -I/opt/local/include/qt4 -I/opt/local/share/qt4/mkspecs/default -I/opt/local/include/freetfds -D__APPLE_KDE__ -o CMakeFiles/kexidb_sybasedriver.dir/sybaseconnection.cpp.o -c /Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/kexi/kexidb/drivers/sybase/sybaseconnection.cpp
> In file included from /Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/kexi/kexidb/drivers/sybase/sybaseconnection.cpp:28:
> /Volumes/Debian/MP9/var/macports/build/_Volumes_Debian_MP9_site-ports_kde_calligra-git/calligra-git/work/calligra-git-2.9.90/kexi/kexidb/drivers/sybase/sybaseconnection_p.h:27:10: fatal error:
> 'sqlfront.h' file not found
> #include <sqlfront.h>
> ^
> 1 error generated.
> make[2]: *** [kexi/kexidb/drivers/sybase/CMakeFiles/kexidb_sybasedriver.dir/sybaseconnection.cpp.o] Error 1
> make[1]: *** [kexi/kexidb/drivers/sybase/CMakeFiles/kexidb_sybasedriver.dir/all] Error 2
> make: *** [all] Error 2
>
>
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
--
regards, Jaroslaw Staniek
KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
More information about the kde-mac
mailing list