From owner-freebsd-questions Thu Feb 6 9:55:23 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20AD037B401 for ; Thu, 6 Feb 2003 09:55:22 -0800 (PST) Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E94E43F85 for ; Thu, 6 Feb 2003 09:55:21 -0800 (PST) (envelope-from sean@seanoneill.info) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id A23E47667 for ; Thu, 6 Feb 2003 11:55:15 -0600 (CST) Message-Id: <5.2.0.9.0.20030206115047.00ad4a08@pop.swbell.yahoo.com> X-Sender: swoneill@swbell.net@pop.swbell.yahoo.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 06 Feb 2003 11:55:13 -0600 To: freebsd-questions@FreeBSD.ORG From: Sean O'Neill Subject: Re: curious if anyone noticed the perl-5.8.0_04 seems a bit whacky ? In-Reply-To: <5.2.0.9.0.20030205185408.00ae0658@pop.swbell.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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