[maemo-developers] Using libosso-abook getting package requirement error

From: Nicolai Hess nicolaihess at web.de
Date: Wed May 19 12:24:53 EEST 2010
2010/5/19 Pallavi Kandhare <pallavi.kandhare at yahoo.com>

> Hi David,
> I again tried re-doing the entire procedure and the output is as follows:
>
> [sbox-FREMANTLE_X86: ~] > apt-get update
> Ign http://repository.maemo.org fremantle/sdk Release.gpg
> Ign http://repository.maemo.org fremantle/tools Release.gpg
> Ign http://repository.maemo.org fremantle/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> Release.gpg
> Ign http://repository.maemo.org fremantle/sdk Release
> Ign http://repository.maemo.org fremantle/tools Release
> Ign http://repository.maemo.org fremantle/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> Release
> Ign http://repository.maemo.org fremantle/sdk/free Packages/DiffIndex
> Ign http://repository.maemo.org fremantle/sdk/non-free Packages/DiffIndex
> Ign http://repository.maemo.org fremantle/sdk/free Sources/DiffIndex
> Ign http://repository.maemo.org fremantle/tools/free Packages/DiffIndex
> Ign http://repository.maemo.org fremantle/tools/non-free
> Packages/DiffIndex
> Ign http://repository.maemo.org fremantle/tools/free Sources/DiffIndex
> Ign http://repository.maemo.orgfremantle/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/nokia-binaries Packages/DiffIndex
> Hit http://repository.maemo.org fremantle/sdk/free Packages
> Hit http://repository.maemo.org fremantle/sdk/non-free Packages
> Hit http://repository.maemo.org fremantle/sdk/free Sources
> Hit http://repository.maemo.org fremantle/tools/free Packages
> Hit http://repository.maemo.org fremantle/tools/non-free Packages
> Hit http://repository.maemo.org fremantle/tools/free Sources
> Hit http://repository.maemo.orgfremantle/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/nokia-binaries Packages
> Reading package lists... Done
>
> [sbox-FREMANTLE_X86: ~] > fakeroot apt-get install libosso-abook-dev
> Reading package lists... Done
> Building dependency tree... Done
> libosso-abook-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> [sbox-FREMANTLE_X86: ~] >
> ---------------------------------------------------------------------------
> Now in my project if I add foll lines to Makefile.am
> myproj_LDADD = \
>          $(LIBOSSO_LIBS)
>
> the output is as follows:
>
> Description Resource Path Location Type
> 'book' undeclared (first use in this function) main.c ContactList/src line
> 45 C/C++ Problem
> 'EBook' undeclared (first use in this function) main.c ContactList/src line
> 45 C/C++ Problem
> 'EBookQuery' undeclared (first use in this function) main.c ContactList/src
> line 47 C/C++ Problem
> 'osso_context' undeclared (first use in this function) main.c
> ContactList/src line 111 C/C++ Problem
> 'query' undeclared (first use in this function) main.c ContactList/src line
> 47 C/C++ Problem
> libebook/e-book.h: No such file or directory main.c ContactList/src line 12
> C/C++ Problem
> libosso-abook/osso-abook.h: No such file or directory main.c
> ContactList/src line 13 C/C++ Problem
> make: *** [all] Error 2 ContactList line 0 C/C++ Problem
> make[1]: *** [all-recursive] Error 1 ContactList line 0 C/C++ Problem
> make[2]: *** [main.o] Error 1 ContactList line 0 C/C++ Problem
>
> ---------------------------------------------------------------------------
> And if i add below line to configure.ac (making no changes to Makefile.am)
>
> PKG_CHECK_MODULES(libosso, osso-addressbook-1.0)
>
> Output is:
> Package requirements (osso-addressbook-1.0) were not met: configure.ac
>
> Are there any other libraries to be included in Makefile? or any changes to
> configure.ac?
>
> Thanks.
>
>
Maybe you need the "-dev" packages as well.
At least
libebook-dev
libosso-abook-dev

regards nicolai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100519/7fa6601f/attachment.htm>
More information about the maemo-developers mailing list