make print-index error: Generating INDEX-9 - please wait..perl: not found

Matthew Seaman matthew at FreeBSD.org
Fri Sep 28 20:51:23 UTC 2012


On 28/09/2012 21:27, Ed Flecko wrote:
> Generating INDEX-9 - please wait..perl: not found
> "Makefile", line 31: warning: "perl -V:archname" returned non-zero status
> perl: not found
> Done.
> 
> O.K., I'm stumped...what's wrong?

You need to install perl in order to build an INDEX from scratch.
That's true if you use the default 'make index' target or my
p5-FreeBSD-Portindex code.

Building an INDEX is a fairly time consuming task, and honestly, most
people don't need to do it.  You can download a pre-built INDEX by 'make
fetchindex' which will be perfectly adequate for the vast majority of users.

What you don't get by using the pre-built INDEX is the effect of any
local customizations or options settings.  This means that the INDEX may
disagree in detail about exactly what dependencies some ports have.
However, the INDEX is not used as part of actually building anything, so
those discrepancies are mere annoyances rather than real obstacles.
And, indeed, you can build and install ports very happily without any
sort of INDEX on your system at all.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 264 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120928/b41cee30/signature.pgp


More information about the freebsd-questions mailing list