Re: [dev] [surf] building on freebsd

From: Julien Steinhauser <Julien.Steinhauser_AT_orange.fr>
Date: Sun, 13 Dec 2009 11:13:12 +0100

On Sat, Dec 12, 2009 at 02:26:02PM +0000, Jacob Todd wrote:
> On Sat, Dec 12, 2009 at 05:19:01PM +0100, Julien Steinhauser wrote:
> > Hello,
> >
> > trying out freebsd, I wanted to install surf on it
> > so i added webkit-gtk and gtk-2.0, i changed the value in config.mk
> > from /usr/include/ and /usr/lib to /usr/local/include and /usr/local/lib
> > to reflect the location change from debian to freebsd,
> > then launch the make clean install command and it complained
> > about non present files (all the webkit and gtk files)
> >
> > I've checked their presence and they are here.
> >
> > If a happy freebsd surf user hangs out here, i would be glad
> > to get a hint about what i'm missing. :)
> >
> > I'm actually using Lynx but i miss the dmenu interaction
> > for on the fly changing url and the like.
> >
> Do you have pkgconfig installed?

Yes, it is installed.

Anyway it solved now,

i had to substitute ${GTKINC} and ${GTKLIB}
with their respective value.

Mickey on a freebsd forum told me that it failed because
i used make and
        GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
        GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
are gmake specific and if i had used :
        GTKINC=`pkg-config --cflags gtk+-2.0 webkit-1.0`
        GTKLIB=`pkg-config --libs gtk+-2.0 webkit-1.0`
It would have built with both make and gmake.

I'm surprised as it always build fine on my debian
with the original Makefile, maybe make is gmake like
on debian?

It gives a little issue, freebsd webkit version is 1.1.15.4 or something,
surf segfaults with it when displaying local files,
no problem with webpage.
I guess i have to downgrade webkit a bit.
Received on Sun Dec 13 2009 - 10:13:12 UTC

This archive was generated by hypermail 2.2.0 : Sun Dec 13 2009 - 10:24:02 UTC