Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2015 11:56:54 +0300
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   ftp/curl compiler error
Message-ID:  <20150423115654.61153412@rsbsd.rsb>

next in thread | raw e-mail | index | archive | help
I'm seeing this odd error when trying to compile ftp/curl

configure: using CFLAGS: -I/usr/include -O2 -pipe  -fstack-protector -fno-s=
trict-aliasing
configure: CFLAGS note: CFLAGS should only be used to specify C compiler fl=
ags, not include directories. Use CPPFLAGS for: -I/usr/include
configure: WARNING: Continuing even with errors mentioned immediately above=
 this line.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g whe=
el
checking for gcc... cc
checking whether the C compiler works... no
configure: error: in `/asp/obj/asp/git/ports/ftp/curl/work/curl-7.42.0':
configure: error: C compiler cannot create executables

* As a test, I placed "CPPFLAGS+=3D -I /usr/include" in /etc/make.conf, but=
 no change with the error.

* If I cd to /usr/obj/ports/ftp/curl/work/curl-7.42.0 and run make from wit=
hin that folder, compile runs normally, but uses gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...=20
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking whether build environment is sane... yes

* "make USE_GCC=3Dany -C ftp/curl" has no effect, I get same error.

* Enabled options: CA_BUNDLE, COOKIES, IDN, PROXY, TLS_SRP, GSSAPI_BASE,  T=
HREADED_RESOLVER, OPENSSL. All other options off. Disabling a number of the=
se options made no difference.

--=20
FreeBSD_amd64_11-Current_RadeonKMS
Please CC my email when responding, mail from list is not delivered.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150423115654.61153412>