From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 10:45:04 2004 Return-Path: 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 E7FE616A4CE for ; Wed, 29 Dec 2004 10:45:04 +0000 (GMT) Received: from smtpauth07.mail.atl.earthlink.net (smtpauth07.mail.atl.earthlink.net [209.86.89.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B53043D31 for ; Wed, 29 Dec 2004 10:45:04 +0000 (GMT) (envelope-from martes.wigglesworth@earthlink.net) Received: from [83.170.20.46] (helo=[192.168.3.50]) (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CjbKA-0004sr-Gz for freebsd-questions@freebsd.org; Wed, 29 Dec 2004 05:45:04 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=test1; d=earthlink.net; h=Subject:From:Reply-To:To:In-Reply-To:References:Content-Type:Organization:Message-Id:Mime-Version:X-Mailer:Date:Content-Transfer-Encoding; b=s3wTPZYlKzGxP2EOl18o0+F8M8cSkK+9pEr88qggim7XC9qlGVXyM+q8tKO+OQSm; From: Martes Wigglesworth To: freebsd-questions@freebsd.org In-Reply-To: <20041229100655.A930716A4EB@hub.freebsd.org> References: <20041229100655.A930716A4EB@hub.freebsd.org> Content-Type: text/plain Organization: Wiggtekmicro Corporation Message-Id: <1104317082.662.117.camel@Mobile1.276NET> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 29 Dec 2004 13:45:32 +0300 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 532caf459ba90ce6996df0496707a79d9bea09fe345ed53d9ef193a6bfc3dd48bd11f494ad624a702533a1f61fc0dee9e925a8e63659b694350badd9bab72f9c X-Originating-IP: 83.170.20.46 Subject: Wierdness with different programs, and installs of perl* that requires compiling with cc... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: martes.wigglesworth@earthlink.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 10:45:05 -0000 Greetings list. All of a sudden, I am experiencing wierd functionality with my 5.2.1-Release installation. My perl compiles don't succeed, due to the following error. nsl is on Solaris, and I have never had an issue prior to a few days ago. I was planning to reinstall, after backing up my data, and I just decided to try this list, in case others have had similar problems. Error: > cd /usr/ports/lang/perl5 > sudo make install ===> Configuring for perl-5.6.1_15 First let's make sure your kit is complete. Checking... Would you like to see the instructions? [n] Locating common programs... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. 3b1 dynix isc nonstopux stellar aix dynixptx isc_2 openbsd sunos_4_0 altos486 epix linux opus sunos_4_1 amigaos esix4 lynxos os2 svr4 apollo fps machten os390 svr5 aux_3 freebsd machten_2 posix-bc ti1500 beos genix mint powerux titanos bsdos gnu mips qnx ultrix_4 convexos greenhills mpc rhapsody umips cxux hpux mpeix sco unicos cygwin i386 ncr_tower sco_2_3_0 unicosmk darwin irix_4 netbsd sco_2_3_1 unisysdynix dcosx irix_5 newsos4 sco_2_3_2 utekv dec_osf irix_6 next_3 sco_2_3_3 uts dgux irix_6_0 next_3_0 sco_2_3_4 uwin dos_djgpp irix_6_1 next_4 solaris_2 vmesa Which of these apply, if any? [freebsd] Some users have reported that Configure halts when testing for the O_NONBLOCK symbol with a syntax error. This is apparently a sh error. Rerunning Configure with ksh apparently fixes the problem. Try ksh Configure [your options] Operating system name? [freebsd] Operating system version? [5.2.1-release] Build a threading Perl? [n] Build Perl for multiplicity? [n] Use which C compiler? [cc] Checking for GNU cc in disguise and/or its version number... Now, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/usr/lib /usr/local/lib] What is the file extension used for shared libraries? [so] Build Perl for SOCKS? [n] Checking for optional libraries... What libraries to use? [-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil] What optimizer/debugger flag should be used? [-O -pipe -mcpu=pentiumpro] Any additional cc flags? [-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [-Wl,-E -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include int main() { printf("Ok\n"); exit(0); } I used the command: cc -o try -O -pipe -mcpu=pentiumpro -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -Wl,-E -L/usr/local/lib try.c -lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil ./try 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 tobez@FreeBSD.org [maintainer] and attach the "/usr/ports/lang/perl5/work/perl-5.6.1/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 Stop in /usr/ports/lang/perl5. I have also noticed that my installs of mplayer, current and pre5 all crash when I try do anything on the X desktop with opening/refreshing a minimized windows. It says something about bad CPU/RAM/FPU usage. I know this is not an mplayer forum, however, I have noticed that crash at the same time that I noticed that I was unable to compile perl, due to the lack of -lnsl not being found. I know that nsl is for Solaris, however my problem is that I don't have significant enough knowledge yet, to begin playing around with such "search" settings, so I know that I have not changed the option, which is the most obvious solution. Any help would be much appreciated. -- Respectfully: M.G.W. ASUS M6BN Intel Dothan 1.7Ghz 512MB RAM 15.4" LCD Wireless B/G 10/100/1000 NIC 5.2.1-RELEASE