Re: newbie. how to compile gcc-4.1.1
On Sat, Sep 02, 2006 at 10:17:27AM -0400, g wrote: ok, i got a snapshot of the make bootstrap it shows the error. ??? Well, you didn't quite follow my instructions, but you showed enough to see that something is quite odd on your system: srcdir=/usr/ports/gcc-4.1.1/fixincludes /bin/sh /usr/ports/gcc-4.1.1/fixincludes/mkfixinc.sh +i386-unknown-freebsd6.1 sed -e 's/@gcc_version@//'mkheadersT *** Error code 2 Stop in /usr/ports/objdir/build-i386-unknown-freebsd6.1/fixincludes. *** Error code 1 Stop in /usr/ports/objdir. Those directories are completely non-standard. How did you install your ports collection? The gcc41 port is supposed to be in /usr/ports/lang/gcc41, not /usr/ports/gcc-4.1.1. Are you really using the ports collection or did you just download the gcc source code directly? Kris P.S. Don't drop the mailing list from your replies, or no-one else will be able to help you! pgpF3Rv5NRsrz.pgp Description: PGP signature
Re: newbie. how to compile gcc-4.1.1
i downloaded the file from gnu. ok, i see the directory. thanks, i will try using the freebsd instruction. g. On Sep 2, 2006, at 10:33 AM, Kris Kennaway wrote: On Sat, Sep 02, 2006 at 10:17:27AM -0400, g wrote: ok, i got a snapshot of the make bootstrap it shows the error. ??? Well, you didn't quite follow my instructions, but you showed enough to see that something is quite odd on your system: srcdir=/usr/ports/gcc-4.1.1/fixincludes /bin/sh /usr/ports/ gcc-4.1.1/fixincludes/mkfixinc.sh +i386-unknown-freebsd6.1 sed -e 's/@gcc_version@//'mkheadersT *** Error code 2 Stop in /usr/ports/objdir/build-i386-unknown-freebsd6.1/fixincludes. *** Error code 1 Stop in /usr/ports/objdir. Those directories are completely non-standard. How did you install your ports collection? The gcc41 port is supposed to be in /usr/ports/lang/gcc41, not /usr/ports/gcc-4.1.1. Are you really using the ports collection or did you just download the gcc source code directly? Kris P.S. Don't drop the mailing list from your replies, or no-one else will be able to help you! g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie. how to compile gcc-4.1.1
On Thu, Aug 31, 2006 at 08:21:04PM -0400, g wrote: hi everyone, i'm trying to compile and install gcc-4.1.1 from the port section. errors: Syntax error: redirection unexpected *** Error code 2 Stop in /usr/home/g/Applications/gcc-4 ... /build-i386-unknown- freebsd6.1/fixincludes. *** Error code 1 i tried making the object code in another location, by mkdir'ing a directory, cd'ing to that directory then running configure, make, after some processing i get the error messages how do i fix this? First, you didn't show us enough of the error. Second, you apparently edited the error so it's hard to tell what is really going on. Can you please post more context? Also tell us what version of FreeBSD you're running. Kris pgpPknz7AOqbo.pgp Description: PGP signature