Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2009 20:11:45 GMT
From:      douglas steinwand <dzs-pr@dzs.fx.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131225: ports/math/PDL-2.4.3_5: Unable to find PDL/pdldoc.db
Message-ID:  <200901312011.n0VKBj8N076526@www.freebsd.org>
Resent-Message-ID: <200901312020.n0VKK3vr073991@freefall.freebsd.org>

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

>Number:         131225
>Category:       ports
>Synopsis:       ports/math/PDL-2.4.3_5: Unable to find PDL/pdldoc.db
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 20:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     douglas steinwand
>Release:        6.3
>Organization:
>Environment:
FreeBSD dzs.office.tmcs 6.3-STABLE FreeBSD 6.3-STABLE #32: Mon Mar 24 06:40:03 PDT 2008     root@hp.office.tmcs:/usr/obj/usr/src/sys/HP  i386

>Description:
When starting the perlDL shell from PDL-2.4.3, the following nonfatal warning is displayed:

dzs@dzs:PDL$ pdl
perlDL shell v1.33
 PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
 'COPYING' in the PDL distribution. This is free software and you
 are welcome to redistribute it under certain conditions, see
 the same file for details.
ReadLines, NiceSlice, MultiLines  enabled
Reading PDL/default.perldlrc...
Unable to find PDL/pdldoc.db in /usr/local/lib/perl5/5.8.8/BSDPAN:/usr/local/lib/perl5/site_perl/5.8.8/mach:/usr/local/lib/perl5/site_perl/5.8.8:/usr/local/lib/perl5/site_perl:/usr/local/lib/perl5/5.8.8/mach:/usr/local/lib/perl5/5.8.8:.
Type 'demo' for online demos
Loaded PDL v2.4.3

Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)

perldl> 

--

It seems that the 'scantree.pl' should be run after installing the files. This builds the database and PDL::Index.
>How-To-Repeat:
Run pdl after installing the port.
>Fix:
--- Makefile.orig       2009-01-14 03:15:19.000000000 -0800
+++ Makefile    2009-01-31 11:53:15.000000000 -0800
@@ -70,6 +70,7 @@

 # autogen plist
 post-install:
+       @(cd ${WRKSRC}; ${PERL} Doc/scantree.pl)
        @(cd ${WRKSRC}/blib/man3 ; \
          ${FIND} *.3 | ${SED} "s,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/," \
                >> ${TMPPLIST} ; \


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



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