From owner-freebsd-ports@FreeBSD.ORG Thu Dec 15 21:41:00 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 927C116A41F for ; Thu, 15 Dec 2005 21:41:00 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E5843D64 for ; Thu, 15 Dec 2005 21:40:51 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so764530wra for ; Thu, 15 Dec 2005 13:40:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=iPOQKOLdfwN7l3FMZOqRRjE5LPTNxLkNDIJ6u+1ifUAAeuz8feTDntbFtYaDPQZrkFl1u6PgmUU4RblThdN3PpFzJckrYoIIxAvAw02vpmHbKAX0BGuggTBFgAiChB1lUZvD46IcWFnRkjd1UFR3lTVSfgR0/Bm9/AzSzq/7Vw0= Received: by 10.54.134.10 with SMTP id h10mr2658375wrd; Thu, 15 Dec 2005 13:40:50 -0800 (PST) Received: from ringworm.mechee.com ( [71.102.14.129]) by mx.gmail.com with ESMTP id 12sm4861880wrl.2005.12.15.13.40.49; Thu, 15 Dec 2005 13:40:50 -0800 (PST) From: "Michael C. Shultz" To: freebsd-ports@freebsd.org Date: Thu, 15 Dec 2005 13:40:46 -0800 User-Agent: KMail/1.8.3 References: <20051215191038.GH49639@iib.unsam.edu.ar> <200512152115.28786.freebsd.ports@melvyn.homeunix.org> <20051215210308.GK49639@iib.unsam.edu.ar> In-Reply-To: <20051215210308.GK49639@iib.unsam.edu.ar> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512151340.47502.ringworm01@gmail.com> Cc: FreeBSD Ports , Hiram Clawson , Melvyn Sopacua , Jim Kent Subject: Re: need help from a C programmer 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: Thu, 15 Dec 2005 21:41:00 -0000 On Thursday 15 December 2005 13:03, Fernan Aguero wrote: > +----[ Melvyn Sopacua (15.Dec.2005 17:20): > | On Thursday 15 December 2005 20:10, Fernan Aguero wrote: > | > My draft port is here > | > http://genoma.unsam.edu.ar/~fernan/freebsd/blat/blat.shar.gz > | > | Not getting past: > | gmake[1]: Leaving directory > | `/usr/ports/biology/blat/work/blatSrc/jkOwnLib' cd blat && gmake > | gmake[1]: Entering directory `/usr/ports/biology/blat/work/blatSrc/blat' > | cc -O -O2 -fno-strict-aliasing -pipe -D_FILE_OFFSET_BITS=64 > | -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_ -I../inc -I../../inc > | -I../../../inc -I../../../../inc -c blat.c > | gmake[1]: *** No rule to make target `../lib//jkweb.a', needed by `blat'. > | Stop. > | gmake[1]: Leaving directory `/usr/ports/biology/blat/work/blatSrc/blat' > | > | Fix for the Makefile: > | --- /tmp/blat/Makefile Thu Dec 15 21:00:05 2005 > | +++ Makefile Thu Dec 15 20:59:01 2005 > | @@ -20,6 +20,9 @@ > | USE_GCC= 3.4+ > | MAKEFILE= makefile > | WRKSRC= ${WRKDIR}/${PORTNAME}Src > | +_MACHTYPE!= uname -m > | +MACHTYPE?= ${_MACHTYPE} > | +MAKE_ENV+= MACHTYPE=${MACHTYPE} > | > | post-patch: > | @${MKDIR} ${WRKSRC}/bin/${MACHTYPE} > > Mmm ... it worked fine for me in FreeBSD-4.11 > > Anyway, it works also with your patch ;) > > | As for the error, there's some redefining going on in common.h, and > | probably screwing up some macros in the end. > | # cat files/patch-hg-pslPretty-pslPretty.c > | --- hg/pslPretty/pslPretty.c.orig Fri Mar 26 02:03:59 2004 > | +++ hg/pslPretty/pslPretty.c Thu Dec 15 21:09:52 2005 > | @@ -686,7 +686,7 @@ > | if (--dotMod <= 0) > | { > | printf("."); > | - fflush(stdout); > | + fflush(uglyOut); > | dotMod = dot; > | } > | } > > +----] > > I've tried this patch but it didn't fix the problem. > > Are you suggesting that other references to 'stdout' should > be replaced by 'uglyOut'? > > Fernan > > PS: I forgot to CC Jim (BLAT's author) and Hiram (UCSC > staff) in my past postings. I add them now so they're in the > loop Change every occurance of #include "common.h" to #include to fix the stdout errors in your c sources. Then when you start getting errors like this: /usr/bin/ld: cannot open output file /root/bin/i386/pslReps: No such file or directory In your makefiles change $(HOME) to ../.. -Mike