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

2012-09-28 Thread Ed Flecko
I've done a clean install of FBSD 9, installed subversion from
package, and then I have:

svn co svn://svn.freebsd.org/ports/head/ /usr/ports

svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src

svn co svn://svn.freebsd.org/doc/release/9.1.0/en_US.ISO8859-1 /usr/doc

which all went just fine.

Then I:

cd /usr/ports
make print-index

and this is my result:

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?

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2012-09-28 Thread Matthew Seaman
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




signature.asc
Description: OpenPGP digital signature