Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  1 Mar 1999 00:34:50 -0800 (PST)
From:      hokada@isl.melco.co.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10320: ja-weblint97 cannot find default perl libraries
Message-ID:  <19990301083450.8C20C15185@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10320
>Category:       ports
>Synopsis:       ja-weblint97 cannot find default perl libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar  1 00:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Hideaki Okada
>Release:        3.1-RELEASE i386
>Organization:
MITSUBISHI Electric
>Environment:
FreeBSD waikiki.isl.melco.co.jp 3.1-RELEASE FreeBSD 3.1-RELEASE #5: Sat Feb 20 01:25:27 JST 1999
 hokada@waikiki.isl.melco.co.jp:/usr/src/sys/compile/WAIKIKI i386
>Description:
When jweblint(japanese/ja-weblint97) is invoked on 3.1R environment,
it cannot find perl5's default libraries like newgetopt.pl .

At line 282 it overwrites perl's default library search path,
    @INC = ('/usr/share/perl','/usr/local/lib/perl');
and '/usr/share/perl` is not a default library path for /usr/bin/perl on 3.1R .

>How-To-Repeat:
The problem occurs always when jweblint is invoked on (fresh) 3.1R environment.
I don't know how it behaves when another perl is installed from port/package, 
but it would not work.

>Fix:
The statement at line 282 is modified by patch-ab,
    @INC = ('/usr/share/perl', '%PERLLIBDIR%');
this should be
    @INC = ( @INC, '%PERLLIBDIR%' );


>Release-Note:
>Audit-Trail:
>Unformatted:


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?19990301083450.8C20C15185>