This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Building Calligra 2.4.0 from source

Tags: None
(comma "," separated)
User avatar
Robert Leleu
Registered Member
Posts
91
Karma
0

Building Calligra 2.4.0 from source

Fri Apr 20, 2012 3:26 pm
I,m trying to install following http://community.kde.org/Calligra/Build ... le_version

At the time I downloaded http://download.kde.org/stable/calligra ... .0.tar.bz2, and got the following result

Code: Select all
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1123 (message):

CMake Error at CMakeLists.txt:161 (MESSAGE):
  Did not find Boost.  Boost is required for the core libraries, stage,
  sheets and krita.


So I downloaded boost_1_49_0.tar.gz
but don’t know what to do with

Could someone help. Thanks
User avatar
Robert Leleu
Registered Member
Posts
91
Karma
0

Re: installing calligra

Fri Apr 20, 2012 4:05 pm
I found how to install boost_1_49_0.tar.gz and installed it in /opt
and received the same error
User avatar
Robert Leleu
Registered Member
Posts
91
Karma
0

Re: installing calligra

Sat Apr 21, 2012 9:22 pm
I succeeded to install some parts of calligra, among which kexi …… which seems not to work.

I’ll investigate and report later.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: installing calligra

Sat Apr 21, 2012 11:45 pm
Hello there,

doesn't your distribution provide packages for calligra (or at least boost)? That's the normal way to install software, compiling from sources is meant for interested users and developers only, in most cases.

Cheers


I'm working on the KDevelop IDE.
User avatar
Robert Leleu
Registered Member
Posts
91
Karma
0

Re: installing calligra

Sun Apr 22, 2012 10:13 am
There is no PPA for Ubuntu (11.04)
I presently use Knoda, no longer developed (apparently Horst Knorr, the developer, died).

Searching in Kexi sites I found no other way than to compile.

It seems that something went wrong, since I even do not created any table

I filed 4 bug reports this morning.
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

Re: installing calligra

Sun Apr 22, 2012 4:38 pm
Robert, there's nothing wrong with deciding to compile Kexi or other Calligra apps. Even if Ubuntu finally delivers stable package, you would be able to receive updates for your app immediately. This seems to be expected by you since you are already active within the community.

Regarding boost, this is so-called dependency of Calligra and/or Kexi. Even if you compile Calligra on your own, dependencies should be delivered by your distribution, and actually they are. I do not use Ubuntu for Kexi development or testing but 'full' boost is provided by the libboost-all-dev package:

http://packages.ubuntu.com/natty/libboost-all-dev

So,
Code: Select all
sudo apt-get install libboost-all-dev
would make the trick. Use http://packages.ubuntu.com to locate other dependencies or using apt-cache search {dependency-name}.

Once you have the dependencies installed, and build Kexi successfully, performing subsequent Kexi builds would be more straightforward.


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar
Robert Leleu
Registered Member
Posts
91
Karma
0
Thanks for the links. I was able to install some more dependancies, but not all.

I use Ubuntu 11.04 i386
At the end of this post I paste the full «cmake» terminal (didn’t find how to attach a file)

I point out (in red in the pasted lines)
line 15 : SQLite header and source version mismatch
lines 21 & 23 MySQL Embedded not found.
others «not found» are recapitulated lines118 to 135, although I installed from http://packages.ubuntu.com packages which seems relevant.

For instance OpenCTL (0.9.10 or higher): I installed libopenctl0.7_0.9.15-0ubuntu2_i386.deb and checked that it is reported as installed by the logitheque
(and similar for the 4 others).... do you see what I missed ?

leleu@portable-leleu:~/kde4$ cd build/calligra/
leleu@portable-leleu:~/kde4/build/calligra$ cmake -DCMAKE_INSTALL_PREFIX=~/kde4/inst ~/kde4/src/calligra-2.4.0 -DCMAKE_BUILD_TYPE=RelWithDebInfo
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found OPENEXR: /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so
-- Found OpenGL: /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so
-- Found Qt OpenGL support
-- Found lcms version 2.03, /usr/local/lib/liblcms2.so
-- Found Freetype: -L/usr/local/lib -lfreetype -lz
SQLite header and source version mismatch
2010-12-07 20:14:09 a586a4deeb25330037a49df295b36aaf624d0f45
2012-03-20 11:35:50 00bb9c9ce4f465e6ac321ced2a9d0062dc364669
-- Found ICU header files in /usr/include
-- Found ICU libraries: /usr/lib/libicuuc.so
-- Found MySQL: /usr/include/mysql, /usr/lib/libmysqlclient.so
-- MySQL Embedded not found.
-- Found MySQL: /usr/include/mysql, /usr/lib/libmysqlclient.so
-- MySQL Embedded not found.
-- Found GNU Scientific Library 1.14: /usr/include/gsl /usr/lib/libgsl.so;/usr/lib/libgslcblas.so
-- GLEW found!
-- OpenGL found -- krita will be able to use OpenGL for hardware accelerated rendering.
KisQueuesProgressUpdaterTest disabled for 2.4 release. Re-enable after 2.4 and fix the progress updater
-- FFTW Found Version:
-- checking for module 'OpenCTL>=0.9.16'
-- package 'OpenCTL>=0.9.16' not found
-- OpenCTL was NOT found.
Krita: Port the perspective transform tool
Krita: Port the magnetic selection tool
-- checking for module 'OpenShiva>=0.9.16'
-- package 'OpenShiva>=0.9.16' not found
-- OpenShiva was NOT found.
-- checking for module 'QtShiva>=0.9.2'
-- package 'QtShiva>=0.9.2' not found
-- QtShiva was NOT found.
Krita: After 2.4 release, re-enable the MyPaint brush engine. Disabled for release because it isn't ready yet.
-- Could not find OPTIONAL package Poppler-Qt4
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libkdcraw is not installed (install the package which contains libkdcraw.pc if you want to support this feature)
-- Found OpenJPEG: /usr/lib/libopenjpeg.so
-- Karbon detected that you use a 32 bit processor.
-- Could not find sdk/bin/cppumaker
or program/offapi.rdb for OOoSDK.
-- Could not find OPTIONAL package Poppler-Qt4
status
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- KPresenter: still need to port svg, genericimageexport, words, ooimporss, magicpoint, kpr and ooppt filters
-- Could not find OPTIONAL package Poppler-Qt4
-- Found pstoedit version 3.50: /usr/bin/pstoedit
-- Found pstoedit svg-plugin: plot-svg
-- Karbon: still need to port: applixgraphics, ai, kontour, xcf, xaml, xfig, msod and oodraw filters

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* LibAttica - Attica is used for Get Hot New Stuff.
* OpenGL - OpenGL support
* KDE PIMLibs - KDE Personal Information Management Libraries
* Eigen - C++ template library for linear algebra
* QCA - Qt Cryptographic Architecture
* Exiv2 - Image metadata library and tools
* Soprano - KDE4 RDF handling library
* Marble - KDE4 World Globe Widget library
* LittleCMS - Color management engine
* Shared desktop ontologies - Support for the Nepomuk semantic desktop system
* Nepomuk - Handles metadata of resources
* LittleCMS - Color management engine
* Fontconfig - Library for configuring and customizing font access
* Freetype - A Free, High-Quality, and Portable Font Engine
* Qt Webkit - Qt binding for Webkit, the HTML engine.
* SQLite - Embedded SQL database engine with enabled extensions loading
* ICU - International Components for Unicode (ICU) Library
* libmysqlclient - MySQL Client Library
* libpq - C application programmer's interface to PostgreSQL
* libpqxx - Official C++ client API for PostgreSQL
* FreeTDS - Open source implementation of the TDS (Tabular Data Stream) protocol
* XBase - XBase compatible C++ class library
* LibRCPS - Resource Constrained Project Scheduling Library
* KDE PIM iCalendar - KDE Personal Information Management iCalendar Libraries
* GSL - GNU Scientific Library
* GLEW - The OpenGL Extension Wrangler Library
* FFTW3 - A fast, free C FFT library
* png - Official PNG reference library
* OpenEXR - High dynamic-range (HDR) image file format
* tiff - TIFF Library and Utilities
* jpeg - Free library for JPEG image compression
* openjpeg - Free library for JPEG 2000 image compression
* SharedMimeInfo - Shared Mime Info
* Spnav - 3Dconnexion device driver and SDK
* Okular - Okular ODP Plugin
* XML2 - A library for handling XML documents
* OpenSSL - A toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols
* LibXML2 - LibXml2 library
* LibXslt - LibXslt Library
* SharedMimeInfo - Shared Mime Info
* Iconv - Iconv
* WPD - WordPerfect Document Library
* WPG - WordPerfect Graphics Library
* pstoedit with svg plugin - Translates PostScript and PDF graphics to SVG

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* OpenCTL (0.9.10 or higher) <http://www.opengtl.org>
Free Color Transformation Language implementation (part of OpenGTL)
Required for High Dynamic Range Color Spaces, YCbCr and LMS support
* OpenShiva <http://www.opengtl.org>
OpenShiva interpreter for the Shiva Kernel Language (part of OpenGTL)
Required for Shiva based Generators and Filters
* QtShiva <http://www.opengtl.org>
Qt bindings for the OpenShiva interpreter (part of libQtGTL)
Required for Shiva based Generators and Filters
* poppler-qt4 <http://poppler.freedesktop.org>
The Poppler Qt4 interface library
Required by the Krita PDF filter
* kdcraw <http://www.digikam.org/>
The KDCraw library
Required by the Krita RAW filter
* poppler-qt4 <http://poppler.freedesktop.org>
The Poppler Qt4 interface library, with XPDF headers
Required by the Karbon PDF import filter


-----------------------------------------------------------------------------

-- ---------------- The following applications will be built ----------------
-- words
-- sheets
-- stage
-- flow
-- kexi
-- plan
-- krita
-- karbon
-- braindump
-- mobile
-- calligra
-- cstester
-- --------------------------------------------------------------------------
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FreeTDS_SYBDB_LIBRARIES
linked by target "kexidb_sybasedriver" in directory /home/leleu/kde4/src/calligra-2.4.0/kexi/kexidb/drivers/sybase
linked by target "keximigrate_sybase" in directory /home/leleu/kde4/src/calligra-2.4.0/kexi/migration/sybase

-- Configuring incomplete, errors occurred!
leleu@portable-leleu:~/kde4/build/calligra$
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
Hi Robert,
You must be close to finally pass the configuration stage... It looks like support for FreeTDS is somehow broken. Since it's not essential at the moment, please try to uninstall 'freetds' package and retry the cmake command.


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]