Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 1998 16:31:33 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        chuckr@glue.umd.edu
Cc:        chuckr@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/math/gnuplot Makefile ports/math/gnuplot/files         md5 ports/math/gnuplot/patches patch-ad patch-aa patch-ab
Message-ID:  <199804282331.QAA08446@silvia.HIP.Berkeley.EDU>
In-Reply-To: <Pine.BSF.3.96.980428155528.303c-100000@localhost> (message from Chuck Robey on Tue, 28 Apr 1998 15:59:45 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
 * odd ... I *did* find a problem which I'll fix quickly, the funny thing
 * is it's not the problem you found!  I see a missing "=" in the
 * BUILD_DEPENDS line ... 

That would usually be an instant syntax error, but since the line
reads:

===
BUILD_DEPENDS   $(PREFIX)/lib/libgd.a:${PORTSDIR}/graphics/gd
===

it actually defines a dependency (note the `:').  Nasty. ;)

 * 			  but for shared libs, that -L isn't needed ... and

I don't think that's the case.  The runtime linker (ld.so) looks at
the shared library cache but ld definitely needs -L for non-standard
libraries.

 * I should have seen the build for png in your listing.  The png
 * dependency worked.  I know you keep careful control of your environment,
 * but it *seems* like something is missing there.  I checked the png
 * install, and it *does* do the ldconfig, and it works here.  If I stick
 * in the missing "=" in the makefile, it all works here.

I think that was the case, as it works now here.  Do you want to
remove gd, take out the = and see if it still works?

Since

===
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
                --includedir=${PREFIX}/include --libdir=${PREFIX}/lib \
                --with-x --without-linux-vga \
                --with-gd=$(PREFIX)/lib \
                --with-gnu-readline --with-lasergnu --with-png
===

includes some references to gd, I can only assume that the missing gd
confused configure.  I tried it with and without gd (both without the
"="), and it only worked when gd was actually installed.

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804282331.QAA08446>