Ticket #606 (closed defect: fixed)
evolution plugin does not find e-d-s
| Reported by: | fundawang | Owned by: | dgollub |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin: evolution | Version: | 0.34 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
It just say libebook-1.2 was not found, but libedataserver-devel-2.21.1 was installed already. Looking from CMakeCache.txt, it seems that *.so files were found, but include headers were not.
Attachments
Change History
Changed 4 years ago by fundawang
-
attachment
CMakeCache.txt
added
comment:1 Changed 4 years ago by dgollub
- Owner changed from dfriedrich to dgollub
- Status changed from new to assigned
The cmake find module code
# Look for libebook1.2 include dir and libraries, and take care about pkg-config first...
FIND_PATH( LIBEBOOK1.2_INCLUDE_DIR
NAMES libebook/e-book.h
PATHS ${_libebook-1.2_include_DIR}
PATH_SUFFIXES evolution-data-server-1.12 evolution-data-server-1.10 evolution-data-server-1.8 evolution-data-server-1.6 evolution-data-server-1.4 evolution-data-server-1.2
NO_DEFAULT_PATH )
FIND_PATH( LIBEBOOK1.2_INCLUDE_DIR
NAMES libebook/e-book.h
PATH_SUFFIXES evolution-data-server-1.12 evolution-data-server-1.10 evolution-data-server-1.8 evolution-data-server-1.6 evolution-data-server-1.4 evolution-data-server-1.2
PATHS
/opt/local/include/
/sw/include/
/usr/local/include/
/usr/include/ )
What does Mandriva returns on:
The cmake find module code
{{{
# Look for libebook1.2 include dir and libraries, and take care about pkg-config first...
FIND_PATH( LIBEBOOK1.2_INCLUDE_DIR
NAMES libebook/e-book.h
PATHS ${_libebook-1.2_include_DIR}
PATH_SUFFIXES evolution-data-server-1.12 evolution-data-server-1.10 evolution-data-server-1.8 evolution-data-server-1.6 evolution-data-server-1.4 evolution-data-server-1.2
NO_DEFAULT_PATH )
FIND_PATH( LIBEBOOK1.2_INCLUDE_DIR
NAMES libebook/e-book.h
PATH_SUFFIXES evolution-data-server-1.12 evolution-data-server-1.10 evolution-data-server-1.8 evolution-data-server-1.6 evolution-data-server-1.4 evolution-data-server-1.2
PATHS
/opt/local/include/
/sw/include/
/usr/local/include/
/usr/include/ )
}}}
{{{
pkg-config --variable=includedir libebook-1.2
}}}
Could you tell me the location of libebook/e-book.h in Mandriva? Or just the absolute location of e-book.h
comment:2 Changed 4 years ago by fundawang
$ pkg-config --variable=includedir libebook-1.2
/usr/include
$ rpm -ql libedataserver-devel|grep e-book.h
/usr/include/evolution-data-server-2.22/libebook/e-book.h
$ cat /usr/lib/pkgconfig/libebook-1.2.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
datarootdir=${prefix}/share
datadir=/usr/share
idldir=${datadir}/idl/evolution-data-server-1.2
IDL_INCLUDES=-I${idldir} -I/usr/share/idl/bonobo-2.0 -I/usr/share/idl/bonobo-activation-2.0
privincludedir=${includedir}/evolution-data-server-2.22
Name: libebook
Description: Client library for evolution address books
Version: 2.21.1
Requires: libbonobo-2.0 >= 2.4.2 libgnome-2.0 libedataserver-1.2
Libs: -L${libdir} -lebook-1.2
Cflags: -I${privincludedir}
comment:3 Changed 4 years ago by fundawang
I'm quite sure this is the default location of e-d-s. So you should use {{{ pkg-config --cflags libebook-1.2 }}} rather than includedir.
Changed 4 years ago by dgollub
-
attachment
eds12_find_v1.diff
added
Could you please apply this patch to the cmake find module for eds12
comment:4 Changed 4 years ago by fundawang
The patch sounds good. There are also libecal-1.2, libedata-book-1.2, libedata-cal-1.2, libedataserver-1.2.
comment:5 Changed 4 years ago by dgollub
Could you try if this fits all your need? (Compeltely untested ... written in hurry.)
comment:6 Changed 4 years ago by fundawang
- Status changed from assigned to closed
- Resolution set to fixed
You don't need to be hurry. We still have time to 0.40 :)
comment:8 Changed 23 months ago by sim
decoration Changed 1 year ago by admin
bathtub Changed 1 year ago by admin
solar system Changed 1 year ago by admin
stair parts Changed 1 year ago by admin
solar supply Changed 1 year ago by admin

CMakeCache.txt