Date: Wed, 25 Sep 2013 21:16:01 +1000 From: Peter Jeremy <peter@rulingia.com> To: freebsd-java@freebsd.org Subject: Using Apache ant without base gcc Message-ID: <20130925111601.GE33452@server.rulingia.com>
next in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please Cc me on any responses] Hi, I am the manintainer for graphics/jogl and the build cluster reports that it's failing on 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.IOExcepti= on: error=3D2, No such file or directory The compiler is defined as: <compiler id=3D"compiler.cfg.freebsd" name=3D"gcc"> </compiler> <compiler id=3D"compiler.cfg.freebsd.amd64" name=3D"gcc"> <compilerarg value=3D"-fPIC"/> </compiler> If I add "USE_GCC=3Dany" 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:49= 7: cc is not a legal value for this attribute where gluegen-cpptasks.xml:497 has <compiler id=3D"compiler.cfg.freebsd" name=3D"cc"> 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? --=20 Peter Jeremy --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlJCxfEACgkQ/opHv/APuIfIsQCgoSt5c3zDt5/Et2Stjko09BTx v4YAoKRAFakHePOt07T/sbILYMefM5G2 =BfOi -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130925111601.GE33452>