On 04/23/15 11:56, Beeblebrox via freebsd-ports wrote:
I'm seeing this odd error when trying to compile ftp/curl

configure: using CFLAGS: -I/usr/include -O2 -pipe  -fstack-protector 
-fno-strict-aliasing
configure: CFLAGS note: CFLAGS should only be used to specify C compiler flags, 
not include directories. Use CPPFLAGS for: -I/usr/include

Do you have local changes in the port Makefile?

CFLAGS in fresh /usr/ports/ftp/curl has no -I/usr/include

configure: error: in `/asp/obj/asp/git/ports/ftp/curl/work/curl-7.42.0':
configure: error: C compiler cannot create executables

See for exact error:

cd `make -V WRKSRC`
fgrep -B 35 'C compiler cannot create executables' config.log

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to