Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 17:06:57 -0600 (CST)
From:      Steve Price <sprice@HiWAAY.net>
To:        John Baldwin <jobaldwi@vt.edu>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: make index breaks at top level
Message-ID:  <Pine.OSF.4.02.9812141703170.7079-100000@fly.HiWAAY.net>
In-Reply-To: <XFMail.981214164703.jobaldwi@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This will work with perl-5.00502.  Don't know about in any other
versions since I haven't tried it.  You might try changing the
offending lines.  For instance one of them looks like this:

    my $name = shift;

Change this to the following two lines:

    my $name;
    $name = shift;

Do this same sort of change for each of the offending lines and
if it works, send me a patch and I'll commit it. :)

Thanks.

-steve

On Mon, 14 Dec 1998, John Baldwin wrote:

# -----BEGIN PGP SIGNED MESSAGE-----
# 
# Hi all,
# 
# I'm running 2.2.8-stable and I also track ports in addition to RELENG_2_2. 
# After my weekly update I rebuild the index and all the readmes.  (One time
# after cvsup finished the INDEX file was out of date so I just redo it every
# time just in case.)  Anyways, when I tried to run 'make index' this is what I
# got:
# 
# #  make index
# Generating INDEX - please wait..syntax error in file
# /usr/ports/templates/make_index at line 14, next 2 tokens "my $name "
# syntax error in file /usr/ports/templates/make_index at line 24, next 2 tokens
# "my @f"
# syntax error in file /usr/ports/templates/make_index at line 32, next 2 tokens
# "my $pkg "
# syntax error in file /usr/ports/templates/make_index at line 33, next 2 tokens
# "->"
# syntax error in file /usr/ports/templates/make_index at line 37, next 2 tokens
# "my @deps"
# syntax error in file /usr/ports/templates/make_index at line 38, next 2 tokens
# "@$pkg"
# Execution of /usr/ports/templates/make_index aborted due to compilation errors.
# *** Error code 255
# 
# Stop.
# *** Error code 1
# 
# Stop.
# 
# 
# It seems that perl doesn't like the make_index script.  I tried running it with
# perl5 since current uses 5 now instead of 4, but it still didn't work. Any
# ideas?                                                                        
#       
# - ---
# 
# John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/
# PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc
# 
# "The steps of faith fall on the seeming void and find the rock beneath."
#  - John Greenleaf Whittier, 1807-1892
# 
# 
# -----BEGIN PGP SIGNATURE-----
# Version: 2.6.2
# 
# iQB1AwUBNnWGNIjYza302vYpAQHbiwMAlaByFpqwXXzhN6ntbOWdA1cVohp1/yjE
# I+y/VTOIeLg27yyCwjYBJ7h9zIT4d1Q0q4fzwYF1/rnzkuziWSV7GokfSDcO3r9o
# WJVXa0CaCGFoYjI0HZ80LHe/kdSXwacS
# =RbPF
# -----END PGP SIGNATURE-----
# 
# To Unsubscribe: send mail to majordomo@FreeBSD.org
# with "unsubscribe freebsd-ports" in the body of the message
# 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9812141703170.7079-100000>