discrepancy between WV2 and LIBGSF Header files?

Pawel Worach pawel.worach at gmail.com
Mon Jan 8 23:31:35 UTC 2007


Bob wrote:
>  
> Greetings:
> 
> Let me preface this by saying that I am not  C programmer.
> 
> I am running on FreeBSD 6.1-RELEASE-p10, and my ports and source trees
> are up to date.
> 
> While attempting to compile koffice-1.6.1 I ran into this error:
> 
> In file included from /usr/local/include/wv2/olestream.h:22,
>                  from graphicshandler.cpp:23:
> 
> The offending code is in the file /usr/local/include/wv2/olestorage.h 
> and reads:
> #include <gsf/gsf.h>
> 
> I have libgsf-1.14.1 installed and it installs gsf.h at:
> /usr/local/include/libgsf-1/gsf/gsf.h
> 
> I also have wv2-0.2.3 Installed
>  
> To fix this error, I edited the file /usr/local/include/wv2/olestorage.h
> and changed:
>  #include <gsf/gsf.h> 
> to 
>  #include </usr/local/include/libgsf-1/gsf/gsf.h>
> 

Hi,

Assuming that the port uses autotools it probably runs pkg-config to get 
the proper CFLAGS, so make sure the output from the command below 
produces the right output.

pkg-config --cflags libgsf-1

-- 
Pawel


More information about the freebsd-hackers mailing list