LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2014, 10:22 AM   #1
Juan Tovar
LQ Newbie
 
Registered: Apr 2011
Distribution: Slackware 14.1 64bits
Posts: 9

Rep: Reputation: 4
akonadi-googledata


Hi, Im running Slackware14.1. I am trying to install akonadi-googledata from slackbuilds.org, the only requirement listed is libgcal>=0.9 that does not have any requirements of its own. I installed libgcal and did ldconfig but when i try to install akonadi-googledata, i get a missing library error. Here's the output
Quote:
-- Found automoc4: /usr/bin/automoc4
-- Found KdepimLibs: /usr/lib64/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Boost version: 1.54.0
-- Could NOT find LibGCal (missing: LIBGCAL_INCLUDE_DIR)

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* Boost - Boost C++ Libraries
* xsltproc - The command line XSLT processor from libxslt

-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
* libgcal (0.9.0 or higher) <http://code.google.com/p/libgcal/>
C library that allows communication with Google calendar and contacts
Required to build the Googledata Akonadi resource.
Here is my libgcal
Quote:
bash-4.2# ls /usr/lib64/libgcal*
/usr/lib64/libgcal.a /usr/lib64/libgcal.la /usr/lib64/libgcal.so /usr/lib64/libgcal.so.0 /usr/lib64/libgcal.so.0.0.0
bash-4.2#
How do i fix this?
 
Old 10-12-2014, 03:04 PM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Where did you get libgcal? Did you build it yourself from slackbuilds.org?

The error message says "missing: LIBGCAL_INCLUDE_DIR", so what does it say when you do 'ls -l /usr/include/libgcal'?

and what is the output of 'cat /usr/lib64/pkgconfig/libgcal.pc' and 'ldd /usr/lib64/libgcal.so'?
 
Old 10-12-2014, 06:55 PM   #3
Juan Tovar
LQ Newbie
 
Registered: Apr 2011
Distribution: Slackware 14.1 64bits
Posts: 9

Original Poster
Rep: Reputation: 4
I built libgcal from the packages @ slackbuilds. Here's the output you requested
Quote:
bash-4.2# ls -l /usr/include/libgcal
total 128
-rw-r--r-- 1 root root 4504 oct 12 10:04 atom_parser.h
-rw-r--r-- 1 root root 22205 oct 12 10:04 gcalendar.h
-rw-r--r-- 1 root root 21934 oct 12 10:04 gcal.h
-rw-r--r-- 1 root root 6563 oct 12 10:04 gcal_parser.h
-rw-r--r-- 1 root root 2870 oct 12 10:04 gcal_status.h
-rw-r--r-- 1 root root 29789 oct 12 10:04 gcontact.h
-rw-r--r-- 1 root root 5548 oct 12 10:04 gcont.h
-rw-r--r-- 1 root root 8653 oct 12 10:04 internal_gcal.h
-rw-r--r-- 1 root root 4551 oct 12 10:04 xml_aux.h
bash-4.2# cat /usr/lib64/pkgconfig/libgcal.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include/libgcal

Name: libgcal
Description: Implements google data protocol for calendar and contacts
Version: 0.9.6
Libs: -L${libdir} -lgcal
Cflags: -I${includedir}
Requires: libcurl libxml-2.0
bash-4.2# whereis libcurl
libcurl: /usr/lib64/libcurl.la /usr/lib64/libcurl.a /usr/lib64/libcurl.so /usr/man/man3/libcurl.3.gz /usr/man/man3p/libcurl.3.gz /usr/share/man/man3/libcurl.3.gz /usr/share/man/man3p/libcurl.3.gz /usr/X11/man/man3/libcurl.3.gz /usr/X11/man/man3p/libcurl.3.gz
bash-4.2# whereis libxml
libxml: /usr/lib64/libxml2.so /usr/lib64/libxml2.la /usr/lib64/libxml2.a /usr/man/man3/libxml.3.gz /usr/man/man3p/libxml.3.gz /usr/share/man/man3/libxml.3.gz /usr/share/man/man3p/libxml.3.gz /usr/X11/man/man3/libxml.3.gz /usr/X11/man/man3p/libxml.3.gz
bash-4.2#
Interestingly enough the indovodual file of akonadi-googledata.SlackBuild is not the same one that comes in akonadi-googledata.tar.gz
akonadi-googledata individual file
Quote:
PRGNAM=akonadi-googledata
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
The one in the tar.gz
Quote:
PRGNAM=akonadi-googledata
VERSION=${VERSION:-1.0.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
 
Old 10-12-2014, 07:18 PM   #4
Juan Tovar
LQ Newbie
 
Registered: Apr 2011
Distribution: Slackware 14.1 64bits
Posts: 9

Original Poster
Rep: Reputation: 4
Fixed

The error was in the difference in packages between the tar.gz file which is actually akonadi-googledata 1.0.1 -even though it says 1.2.0- and the individual files which are akonadi-googledata 1.2.0. I used the individual files and downloaded the source directly from google following the link in slackbuilds
 
1 members found this post helpful.
  


Reply

Tags
akonadi, google, lib



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Akonadi GlennsPref Mandriva 7 03-04-2011 04:56 AM
cannot remove akonadi R03L Linux - Software 2 01-03-2011 09:05 PM
[SOLVED] Slack13.1 and akonadi bg4 Slackware 30 06-11-2010 01:20 AM
Akonadi x42bn6 Linux - Newbie 5 12-11-2009 06:07 AM
Has Anyone Gotten Akonadi to Work? tronayne Slackware 13 10-23-2009 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration