From owner-freebsd-current Wed Jul 10 22: 8:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B785D37B400 for ; Wed, 10 Jul 2002 22:08:13 -0700 (PDT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A662143E3B for ; Wed, 10 Jul 2002 22:08:11 -0700 (PDT) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id g6B56dS06092 for ; Thu, 11 Jul 2002 14:36:39 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Thu, 11 Jul 2002 14:37:57 +0930 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id OAA22455; Thu, 11 Jul 2002 14:33:19 +0930 (CST) Received: by salex001.dsto.defence.gov.au with Internet Mail Service (5.5.2653.19) id ; Thu, 11 Jul 2002 14:33:33 +0930 Message-ID: <108E7D907871D6118B5000306E0189F857589E@ednex504.dsto.defence.gov.au> From: "Thyer, Matthew" To: "'Peter Wemm'" Cc: "'Dirk Engling'" , "'FreeBSD-CURRENT'" Subject: RE: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4 Date: Thu, 11 Jul 2002 14:33:23 +0930 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My entire machine is built from source. I started with no packages installed at all. The only think I can think of is old binaries/libraries/other files left behind from earlier -CURRENT. Is there a tool to clean these up yet? Maybe it should be part of mergemaster. I'll clean them up manually and see if that fixes it. I dont have an /etc/malloc.conf Significant part of my /etc/make.conf is: CFLAGS=-O -pipe COPTFLAGS=-O -pipe USA_RESIDENT=no XFREE86_VERSION=4 HAVE_MOTIF=yes WITH_MOTIF=yes WITH_PNG_MMX=yes WITH_GNOME=yes WITH_GTK=yes WITH_TK83=yes WITH_OGGVORBIS=yes WITH_SANE=yes A4=yes I'll experiment with a cut down make.conf too. -----Original Message----- From: Peter Wemm [mailto:peter@wemm.org] Sent: Thursday, 11 July 2002 12:32 PM To: Thyer, Matthew Cc: 'Dirk Engling'; 'FreeBSD-CURRENT' Subject: Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4 "Thyer, Matthew" wrote: > Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! > > Errors below.... a gcc 3.1 ism maybe ? Almost certainly a compiler mixup. Did you install a binary package? Secondly.. you have: rm -f glxinfo LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib Note that "cc" will not link in libstdc++.so. The new and delete primatives have been moved from libgcc.a to libstdc++.so.4, so if you compile and link a c++ executable, you MUST either use "c++" instead of "cc", or explicitly add -lstdc++ to the command line. The example above that you pasted does neither. Finally.. If you are really stuck here, may I suggest "make -i all install" on the port? ie: ignore errors. You might end up missing out on having /usr/X11R6/bin/glxinfo installed, but I would wager that you will not miss it. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message