[mrtg] Re: OpenBSD and GD

Diana Eichert deeiche at freeshell.org
Fri Jul 19 04:58:45 MEST 2002


On Thu, Jul 18, 2002 at 10:20:37PM +0200, Fridtjof Busse wrote:
> 
> On Thursday 18 July 2002 22:01, Diana Eichert wrote:
> > This is based on my experience of running versions of software that
> > are not directly buildable via the OpenBSD ports system.
> >
> > Use the currently available port as a template for building the newer
> > version of the same software.  If you look in the Makefile for the
> > MRTG port you'll find:
> >
> > CONFIGURE_STYLE= gnu
> > CONFIGURE_ARGS= --with-gd-inc="${LOCALBASE}/include" \
> >                 --with-gd-lib="${LOCALBASE}/lib" \
> >                 --with-png-inc="${LOCALBASE}/include" \
> >                 --with-png-lib="${LOCALBASE}/lib"
> > CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib -ljpeg -lttf"
> 
> Thanks for the hint, I really didn't think if that.
> But "LDFLAGS =  -L/usr/local/lib -ljpeg -lttf" in Makefile doesn't work, 
> still the same error (even if I just add it to the existing LDFLAGS). 

Notice this variable "CONFIGURE_ENV".  You need to set this env variable before you 
run configure.  I know longer remember your original post, so I can't remember the 
exact error your were getting during make.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list