Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 10:44:16 +0200
From:      Alexander Yerenkow <yerenkow@gmail.com>
To:        Tassilo Philipp <tphilipp@potion-studios.com>
Cc:        Peter Jeremy <peter@rulingia.com>, Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: Using Apache ant without base gcc
Message-ID:  <CAPJF9w=sDimtci-re3kCLD4T8x8TKjnhbuoVA-y=aL2DE=4eAg@mail.gmail.com>
In-Reply-To: <20131121130218.a1df939b1e7d5835de8182b2@potion-studios.com>
References:  <20131121181156.GA51208@server.rulingia.com> <20131121130218.a1df939b1e7d5835de8182b2@potion-studios.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You should take a look at

http://ant-contrib.sourceforge.net/compiler.html

cc is not there.

I'll take a look a bit later, maybe some solution will come up.



2013/11/21 Tassilo Philipp <tphilipp@potion-studios.com>

> Hi,
>
> although I planned to, I didn't have time to look at jogamp-jogl, yet, so
> I'm sorry, I don't really know what to do here, either...
>
> Sorry,
> ~ Tassilo
>
>
> On Fri, 22 Nov 2013 05:11:56 +1100
> Peter Jeremy <peter@rulingia.com> wrote:
>
> > I've tried asking this on -java without any response so I'm trying a
> wider
> > audience.
> >
> > I am the manintainer for graphics/jogl and the build cluster reports
> > that it's failing on 10-stable and head on both i386 and amd64 because
> > there's no gcc:
> >
> > /wrkdirs/usr/ports/graphics/jogl/work/gluegen/make/build.xml:343: Could
> not launch gcc: java.io.IOException: Cannot run program "gcc" (in directory
> "/wrkdirs/usr/ports/graphics/jogl/work/gluegen/build/obj"):
> java.io.IOException: error=2, No such file or directory
> >
> > The compiler is defined as:
> >     <compiler id="compiler.cfg.freebsd" name="gcc">
> >     </compiler>
> >     <compiler id="compiler.cfg.freebsd.amd64" name="gcc">
> >       <compilerarg value="-fPIC"/>
> >     </compiler>
> >
> > If I add "USE_GCC=any" to the port Makefile then it still fails because
> > lang/gcc installs 'gcc46', rather than 'gcc'.
> >
> > If I change all the 'gcc' references to 'cc' (which would pick up
> > clang) then it fails with:
> >
> /tank/obj/usr/ports/graphics/jogl/work/gluegen/make/gluegen-cpptasks.xml:497:
> cc is not a legal value for this attribute
> > where gluegen-cpptasks.xml:497 has
> >   <compiler id="compiler.cfg.freebsd" name="cc">
> >
> > Whilst ant isn't that uncommon in the ports tree, graphics/jogamp-jogl
> > is the only other port I've found that uses ant in this way and it is
> > also failing.  I'm a long way from an expert on ant and I've had a
> > rummage around the Internet but haven't found a solution.  Can anyone
> > with more ant-foo help?
> >
> > --
> > Peter Jeremy
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



-- 
Regards,
Alexander Yerenkow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9w=sDimtci-re3kCLD4T8x8TKjnhbuoVA-y=aL2DE=4eAg>