You are not logged in.
I am trying to compile a program that includes (lib)mrss
When I try to compile:
[matio@myhost clutterC]$ gcc rssReader.c -o rssReader `pkg-config clutter-1.0 --cflags --libs`
In file included from rssReader.c:3:
/usr/local/include/mrss.h:23:27: error: libxml/parser.h: No such file or directory
[matio@myhost clutterC]$ gcc rssReader.c -o rssReader `pkg-config clutter-1.0 --cflags --libs` `pkg-config libmrss --cflags --libs`
Package libmrss was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmrss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmrss' found
In file included from rssReader.c:3:
/usr/local/include/mrss.h:23:27: error: libxml/parser.h: No such file or directory
How can I add the library?
Last edited by matio (2010-02-19 15:51:41)
Offline
Ensure you have libxml2 installed and then pass "-I/usr/include/libxml2" to gcc. And the "pkg-config libmrss" in backticks doesn't look like it's doing anything.
Offline
Thanks a lot, that worked
Offline
FYI, everything recognised by pkgconfig will be in /usr/lib/pkgconfig/
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
You're welcome; please prepend [SOLVED] to the thread title by editing the first post.
Offline