Subject: Re: scrollkeeper under linux/ppc
To: Siegmund Fuehringer <sifu@isohypse.org>
From: Dan Winship <danw@NetBSD.org>
List: tech-pkg
Date: 03/10/2004 09:23:03
On Mar 10, 2004, at 6:38 AM, Siegmund Fuehringer wrote:
> scrollkeeper refuses to compile under linux/ppc.
>
> ...
> source='extract.c' object='extract.lo' libtool=yes \
> depfile='.deps/extract.Plo' tmpdepfile='.deps/extract.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
> -I/usr/include/libxml2 -I/usr/include/libxml2  
> -DSCROLLKEEPER_STATEDIR=\""/usr/pkg/libdata/scrollkeeper"\"  
> -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include 
> -I/usr/pkg/include -c -o extract.lo `test -f 'extract.c' || echo 
> './'`extract.c

The problem is that you have "-I/usr/include/libxml2", but no 
"-I/usr/pkg/include/libxml2". That probably means you have either 
/usr/bin/xml2-config or /usr/lib/pkgconfig/libxml-2.0.pc left over from 
a previous libxml2 install in /usr. (I'm assuming you don't have the 
whole package still installed there, or it would be able to find the 
headers in /usr/include...)

Cleaning that up (and then rebuilding scrollkeeper from scratch) should 
fix this.

-- Dan