Date: Tue, 15 Jan 2013 12:01:56 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: "Joseph A. Nagy, Jr" <jnagyjr1978@gmail.com> Cc: acm@FreeBSD.org, "Ports @ FreeBSD" <freebsd-ports@freebsd.org> Subject: Re: smpeg fails to build Message-ID: <50F53724.1030704@FreeBSD.org> In-Reply-To: <50F4A29F.5080902@gmail.com> References: <50F4A29F.5080902@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-01-15 01:28, Joseph A. Nagy, Jr wrote: > root@alex-laptop:/usr/ports/multimedia/smpeg # make > ===> smpeg-0.4.4_9 depends on executable: gmake - found > ===> smpeg-0.4.4_9 depends on file: /usr/local/bin/sdl-config - found > ===> smpeg-0.4.4_9 depends on package: libtool>=2.4 - found > ===> smpeg-0.4.4_9 depends on executable: pkgconf - found > ===> smpeg-0.4.4_9 depends on shared library: SDL-1.2.11 - found > ===> smpeg-0.4.4_9 depends on shared library: glib-12.3 - found > ===> smpeg-0.4.4_9 depends on shared library: gtk-12.2 - found > ===> Configuring for smpeg-0.4.4_9 > loading cache ./config.cache > checking for a BSD compatible install... /usr/bin/install -c -o root -g > wheel > checking whether build environment is sane... yes > checking whether gmake sets ${MAKE}... yes > checking for working aclocal... found > checking for working autoconf... found > checking for working automake... found > checking for working autoheader... found > checking for working makeinfo... found > checking host system type... amd64-portbld-freebsd9.1 > checking target system type... amd64-portbld-freebsd9.1 > checking whether gmake sets ${MAKE}... (cached) yes > checking for gcc... clang++ > checking whether the C compiler (clang++ -O2 -pipe -fno-strict-aliasing > -std=gnu89 ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. Strange, where does that -std=gnu89 flag come from? It is probably the cause of the error. If I configure the smpeg port locally, that flag does not get added, so it must be something in your system's configuration. > the config.log just includes the above text, nothing more. No other port > has problems being built with clang, but here are my make.conf entries: > > root@alex-laptop:/usr/ports/multimedia/smpeg # less /etc/make.conf > WITH_PKGNG=yes > # added by use.perl 2012-12-11 17:43:33 > PERL_VERSION=5.16.2 > #Add in clang after rebuilding world > WITH_CLANG=YES > CXX=clang++ > CPP=clang-cpp > KERNCONF=ALEX-LAPTOP Why don't you have a "CC=clang" entry too?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F53724.1030704>