Building for curl-8.3.0

Hi i just tried to compile curl-8.3.0 however i get the following errors:
Code:
===>  Building for curl-8.3.0
Making all in lib
/usr/bin/make  all-am
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I../include -I../lib  -I../lib -DBUILDING_LIBCURL  -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include  -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-altsvc.lo -MD -MP -MF .deps/libcurl_la-altsvc.Tpo -c -o libcurl_la-altsvc.lo `test -f 'altsvc.c' || echo './'`altsvc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-altsvc.lo -MD -MP -MF .deps/libcurl_la-altsvc.Tpo -c altsvc.c  -fPIC -DPIC -o .libs/libcurl_la-altsvc.o
In file included from altsvc.c:32:
In file included from ../lib/urldata.h:192:
/usr/local/include/gssapi/gssapi_generic.h:50:1: error: unknown type name 'GSS_DLLIMP'
GSS_DLLIMP extern gss_OID gss_nt_user_name;
^
/usr/local/include/gssapi/gssapi_generic.h:50:26: error: expected ';' after top level declarator
GSS_DLLIMP extern gss_OID gss_nt_user_name;
                         ^
/usr/local/include/gssapi/gssapi_generic.h:51:1: error: unknown type name 'GSS_DLLIMP'
GSS_DLLIMP extern gss_OID gss_nt_machine_uid_name;
^
/usr/local/include/gssapi/gssapi_generic.h:51:26: error: expected ';' after top level declarator
GSS_DLLIMP extern gss_OID gss_nt_machine_uid_name;
                         ^
/usr/local/include/gssapi/gssapi_generic.h:52:1: error: unknown type name 'GSS_DLLIMP'
GSS_DLLIMP extern gss_OID gss_nt_string_uid_name;
^
/usr/local/include/gssapi/gssapi_generic.h:52:26: error: expected ';' after top level declarator
GSS_DLLIMP extern gss_OID gss_nt_string_uid_name;
                         ^
/usr/local/include/gssapi/gssapi_generic.h:54:1: error: unknown type name 'GSS_DLLIMP'
GSS_DLLIMP extern gss_OID gss_nt_service_name;
^
/usr/local/include/gssapi/gssapi_generic.h:54:26: error: expected ';' after top level declarator
GSS_DLLIMP extern gss_OID gss_nt_service_name;
                         ^
8 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/ftp/curl/work/curl-8.3.0/lib
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/ftp/curl/work/curl-8.3.0/lib
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/ftp/curl/work/curl-8.3.0
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ftp/curl
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/curl

===>>> make build failed for ftp/curl
===>>> Aborting update

===>>> Update for ftp/curl failed
===>>> Aborting update

many thanks,
nedry
 
krb5 is installed but the GSSAPI option seem to be different.

pkg delete -fg krb5-\* && make install and reinstall krb5.
or
USE GSSAPI_MIT option.
 
Back
Top