From owner-freebsd-questions@FreeBSD.ORG Fri Nov 5 04:54:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33AC4106564A for ; Fri, 5 Nov 2010 04:54:15 +0000 (UTC) (envelope-from meta@club.kyutech.ac.jp) Received: from sapphire.club.kyutech.ac.jp (sapphire.club.kyutech.ac.jp [131.206.108.7]) by mx1.freebsd.org (Postfix) with ESMTP id F092C8FC13 for ; Fri, 5 Nov 2010 04:54:14 +0000 (UTC) Received: from sapphire.club.kyutech.ac.jp (localhost [127.0.0.1]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTP id 9AFBC11450 for ; Fri, 5 Nov 2010 13:35:07 +0900 (JST) X-Virus-Scanned: amavisd-new at club.kyutech.ac.jp Received: from club.kyutech.ac.jp (rose.club.kyutech.ac.jp [131.206.108.6]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTPS id 4976D1144F for ; Fri, 5 Nov 2010 13:35:06 +0900 (JST) Date: Fri, 5 Nov 2010 13:35:04 +0900 From: Koichiro Iwao To: freebsd-questions@freebsd.org Message-ID: <20101105043503.GA12706@club.kyutech.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: problem on building perl5.12 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 04:54:15 -0000 I tried to upgrade perl 5.10 to 5.12 according to UPDATING but building perl 5.12 fails. I believe the failure is caused by needless "-lnsl" option. How to build it fine? # portmaster -o lang/perl5.12 lang/perl5.10 ---(snip)--- and I got the following output: /usr/bin/ld: cannot find -lnsl I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. ===> Script "Configure" failed unexpectedly. Please report the problem to skv@FreeBSD.org [maintainer] and attach the "/usr/ports/lang/perl5.12/work/perl-5.12.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 See also; whole portmaster outputs: http://www.club.kyutech.ac.jp/~meta/temp/perlerror.txt -- kiwao