Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Feb 2003 11:55:13 -0600
From:      Sean O'Neill <sean@seanoneill.info>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: curious if anyone noticed the perl-5.8.0_04 seems a bit whacky ?
Message-ID:  <5.2.0.9.0.20030206115047.00ad4a08@pop.swbell.yahoo.com>
In-Reply-To: <5.2.0.9.0.20030205185408.00ae0658@pop.swbell.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:01 PM 2/5/2003 -0600, Sean O'Neill wrote:
>I just portupgraded from perl-5.8.0_01 to perl-5.8.0_04 - or more 
>appropriately I tried.
>
>Anyone noticed that the perl-5.8.0_04 port installs stuff in 
>/usr/local/scripts, e.g. h2ph and others, but a pkginfo -L shows these 
>same files are being installed in /usr/local/bin.
>
>A problem with this is during the installation process it fails right 
>towards the end because h2ph ends up in /usr/local/scripts/h2ph but the 
>installation process is hard coded expecting it in /usr/local/bin/h2ph.  I 
>manually copied h2ph to /usr/local/bin and redid a "make install" and the 
>port installed.  But now the pkgdb is basically wrong for lots of the files.
>
>Anyone else seen this ?

Ahhh I found it I think.

In the perl-5.8.0 Configure script - guess what it does? It actually looks 
for /usr/local/scripts as a possible location to install stuff.  There is a 
case statement where it is looking for location to put publicly executable 
scripts.  I put /usr/local/scripts as a location for my stuff a while 
back.  I guess I'll change the name to something else.

But this does mean that the FreeBSD for perl-5.8.0 port doesn't handle this 
well - I think.  Assuming Perl does install stuff in a location other the 
/usr/local/bin, the FreeBSD port of perl doesn't record it correctly in the 
pkgdb.  It always assumes /usr/local/bin.


--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill 


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




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