From owner-freebsd-ports@FreeBSD.ORG Mon Jul 25 10:14:56 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA40C16A41F for ; Mon, 25 Jul 2005 10:14:56 +0000 (GMT) (envelope-from julian@vicor.com) Received: from postoffice.vicor-nb.com (postoffice.vicor.com [69.26.56.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B1FD43D72 for ; Mon, 25 Jul 2005 10:14:55 +0000 (GMT) (envelope-from julian@vicor.com) Received: from localhost (localhost [127.0.0.1]) by postoffice.vicor-nb.com (Postfix) with ESMTP id BCFE14CE92C; Mon, 25 Jul 2005 03:14:54 -0700 (PDT) Received: from postoffice.vicor-nb.com ([127.0.0.1]) by localhost (postoffice.vicor-nb.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 73924-03; Mon, 25 Jul 2005 03:14:54 -0700 (PDT) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by postoffice.vicor-nb.com (Postfix) with ESMTP id 819394CE929; Mon, 25 Jul 2005 03:14:54 -0700 (PDT) Message-ID: <42E4BB9E.2010403@vicor.com> Date: Mon, 25 Jul 2005 03:14:54 -0700 From: Julian Elischer Organization: VICOR User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050629 X-Accept-Language: en, hu MIME-Version: 1.0 To: Dejan Lesjak References: <200507251119.05062.dejan.lesjak@ijs.si> In-Reply-To: <200507251119.05062.dejan.lesjak@ijs.si> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postoffice.vicor.com Cc: freebsd-ports@freebsd.org Subject: Re: port failure to build imake-6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 10:14:56 -0000 Dejan Lesjak wrote: > Julian Elischer wrote: > > >>making port imake-6 on my own version of FreeBSD 6.0 >> >> >>schizo# cd work/xc/config/makedepend/ >>schizo# make >>rm -f makedepend >>cc -o makedepend -O2 -fno-strength-reduce -fno-strict-aliasing -ansi >>-pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith >>-Wundef include.o main.o parse.o pr.o cppsetup.o ifparser.o >>-L/usr/X11R6/lib -lgnumalloc -Wl,-rpath,/usr/X11R6/lib >>-Wl,-rpath-link,../../exports/lib >>/usr/bin/ld: cannot find -lgnumalloc >>*** Error code 1 >> >>Stop in /usr/ports/devel/imake-6/work/xc/config/makedepend. >># > > > The same happens if you do 'make build' from port directory, right? it did > > >>it compiled fine when I manually removed -lgnumalloc > > > From Makefile or just by copy-pasting that command line but without > -lgnumalloc? I removed it from the Makefile in the appropriate directory. I'm rebuilding the release with a more normal name so that uname returns a more normal output and maybe the configure code will get it right this time.. I'll let you know.. > > >> >>This MAY because in this company internal release uname -a returns >> >>schizo# uname -a >>FreeBSD schizo.dev.vicor-nb.com VICOR FreeBSD VICOR #0: Sat Jul 23 >>09:41:45 >>UTC 2005 root@fbsd6.dev.vicor-nb.com:/usr/obj/usr/src/sys/GENERIC >>i386 > > > Building on FreeBSD should show the line like this: > > Building on FreeBSD 6.0 amd64 [ELF] (6.0.0). > > somewhere in the middle of 'make configure' output. What does it show there? > Could you provide xc/config/makedepend/Makefile (after doing 'make configure') > or see if there is -lgnumalloc somewhere in there? If it still fails after I rebuild the release I'll gather this info.. it's rebuilding now but I'm off to sleep. thanks for the answer.. > > > Dejan >