From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 8 23:31:34 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E45AC16A412 for ; Mon, 8 Jan 2007 23:31:34 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF0813C461 for ; Mon, 8 Jan 2007 23:31:34 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5692030uge for ; Mon, 08 Jan 2007 15:31:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=us0XJs19vJNyKXygtWDmskAeU73R2IKB6bw12ox5lmvioKMgxjnsXXHpw5s/8vYUT/6GtzZVcHtXrP+RxnUMwY/Y1m3UbQUCb+SXGsrxL9XeR6mSpD1bVNGi5aVFRiWDZktcZP8o50x/SuopZwYZZh2/NI4fj4uesKFMjIUGmeA= Received: by 10.67.117.2 with SMTP id u2mr35419514ugm.1168297509274; Mon, 08 Jan 2007 15:05:09 -0800 (PST) Received: from ?192.168.1.200? ( [80.217.194.157]) by mx.google.com with ESMTP id s1sm33543459uge.2007.01.08.15.05.08; Mon, 08 Jan 2007 15:05:08 -0800 (PST) Message-ID: <45A2CE23.6040909@gmail.com> Date: Tue, 09 Jan 2007 00:05:07 +0100 From: Pawel Worach User-Agent: Thunderbird 2.0b1 (X11/20070106) MIME-Version: 1.0 To: Bob References: <20070108065458.558b98d2@tania.servebbs.org> In-Reply-To: <20070108065458.558b98d2@tania.servebbs.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: discrepancy between WV2 and LIBGSF Header files? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2007 23:31:35 -0000 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 > > 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 > to > #include > 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