Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jan 2007 00:05:07 +0100
From:      Pawel Worach <pawel.worach@gmail.com>
To:        Bob <bob@tamara-b.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: discrepancy between WV2 and LIBGSF Header files?
Message-ID:  <45A2CE23.6040909@gmail.com>
In-Reply-To: <20070108065458.558b98d2@tania.servebbs.org>
References:  <20070108065458.558b98d2@tania.servebbs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A2CE23.6040909>