At 12:58 AM -0400 on 4/22/11, Edward Mendelson wrote:

>I seem to have built libwpd from the latest sources and installed 
>it. /usr/local/lib has libwpd-0.9.9 dylib, libwpd-0.9.la, and 
>libwpd-stream-0.9.la. And /usr/local/include has a libwpd-0,9 folder.
>
>When I try to configure libwpg, I get these error messages:
>
>configure: error: Package requirements (
>     libwpd-0.9 >= 0.9.0
>     libwpd-stream-0.9 >= 0.9.0
>) were not met:
>
>No package 'libwpd-0.9' found
>No package 'libwpd-stream-0.9' found
>
>Further messages suggest adjusting the PKG_ENVIRONMENT_PATH 
>environment variable, or "Alternatively, you may set the environment 
>variables WRITERPERFECTCORE_CFLAGS and WRITERPERFECTCORE_LIBS to 
>avoid the need to call pkg-config."

Again, with the caveat I haven't tried to build libwpg in a while, 
setting the PKG_CONFIG_PATH environment variable before trying to 
configure should work; it's in my list of standard commands to run 
when doing a libwp* build, and that's clearly a pkg-config-related 
error message you're seeing.  (If that variable doesn't work, perhaps 
the PKG_ENVIRONMENT_PATH variable the errors mentioned is a new name 
for the PKG_CONFIG_PATH var in more recent pkg-config versions?)

You'll want that variable to be set to something like 
"/usr/lib/pkgconfig:/usr/local/lib/pkgconfig" for your setup (the 
former path might not be necessary; it depends on whether libwpg or 
writerperfect needs to identify libxml via pkg-config, because that's 
where libxml's pkg-config file is when shipped by the OS, at least 
10.3-10.5).  You can verify that /usr/local/lib/pkgconfig does 
contain the .pc files for libwpd-0.9 and libwpd-stream-0.9, and if 
not hunt around for the path that does contain those files.

Hope this helps,

Smokey
-- 
Smokey Ardisson
alqah...@ardisson.org
http://www.ardisson.org/
------------------------------------------
"He is a fool who has forgotten what became of his ancestry
seven generations before him and who does not care what will
become of his progeny seven generations after him."
           --Kazakh Proverb

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Libwpd-devel mailing list
Libwpd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libwpd-devel

Reply via email to