Re: curious if anyone noticed the perl-5.8.0_04 seems a bit whacky ?

2003-02-06 Thread Stijn Hoop
On Wed, Feb 05, 2003 at 07:01:10PM -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 ?

If you mean perl-5.8.0_4, I don't have this problem on my machine:

[stijn@pcwin002] ~ ls -ld /usr/local/scripts
ls: /usr/local/scripts: No such file or directory
[stijn@pcwin002] ~ ls -l /usr/local/bin/h2ph
-rwxr-xr-x  1 root  wheel  23071 Jan  6 10:41 /usr/local/bin/h2ph
[stijn@pcwin002] ~ ls -l /var/db/pkg | grep perl
drwxr-xr-x  2 root  wheel  512 Jan  6 10:42 perl-5.8.0_4

Something must be wrong with your setup. I recommend cleaning the whole
/usr/local/scripts mess out, pkg_delete perl-5.8.0_4, doing a 'make clean'
inside lang/perl5.8 and then reinstalling it.

--Stijn

-- 
Coca-Cola is solely responsible for ensuring that people - too stupid to know
not to tip half-ton machines on themselves - are safe. Forget parenting - the
blame is entirely on the corporation for designing machines that look so
innocent and yet are so deadly.
-- http://www.kuro5hin.org/?op=displaystory;sid=2001/10/28/212418/42



msg18218/pgp0.pgp
Description: PGP signature


Re: curious if anyone noticed the perl-5.8.0_04 seems a bit whacky ?

2003-02-06 Thread Sean O'Neill
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


curious if anyone noticed the perl-5.8.0_04 seems a bit whacky ?

2003-02-05 Thread Sean O'Neill
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 ?


--

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

Sean O'Neill 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message