Re: discrepancy between WV2 and LIBGSF Header files?



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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ports system woes
    ... What exactly "removing dependency on package" means? ... port installs?). ... Allow it 3-5 hours per 1000 installed ports 8-) The good thing is that ...
    (freebsd-hackers)
  • Re: Whats so compelling about FreeBSD?
    ... can outdo Linux. ... Then I changed jobs and needed to be a FreeBSD guy. ... package installs. ... tweaking the ports fast enough for me. ...
    (freebsd-questions)
  • Re: How to block RealPlayer ??
    ... I like the Linux idea best... ... > Doz wrote: ... >> which ports to block? ... > 1) Develop a policy where an employee who installs any unathorized ...
    (comp.security.firewalls)
  • Re: recovering from the 6.3 xorg mess
    ... I do clean installs not upgrades. ... I have tried the other suggestions on configuring X in the FreeBSD ... 640x480 and it has no modelines in the .conf. ... I tried reinstalling xorg from ports by running make ...
    (freebsd-stable)
  • RWW Stopped working..Please Help
    ... SBS 2003 Standard, Dual Nics, Linksys Router, SBC Standard DSL, ... and have double checked the ports as being forwarded. ... The cert lists the same as other certs I've ... port 80 on all my installs and only connect via https. ...
    (microsoft.public.windows.server.sbs)