From owner-freebsd-ports@FreeBSD.ORG Sun Feb 4 11:02:25 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC56116A401 for ; Sun, 4 Feb 2007 11:02:25 +0000 (UTC) (envelope-from ighighi@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 35E8C13C471 for ; Sun, 4 Feb 2007 11:02:24 +0000 (UTC) (envelope-from ighighi@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1753662nfc for ; Sun, 04 Feb 2007 03:02:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=kA6p1u6t9sKiriLtSCnIbpZxotks15WlT+vVUQIsvSlLmgU2saEYYC+K7gTQiuBU3ziWHAMado2N6HypR2pgZxiw8dKEh6p1xL4I+EVT0l5uHu0UgP846pWxO8L/sahBRS7jRIHfU5aS1cRN+mYSaK0d1yFtEodhHb8RYd3bqBs= Received: by 10.78.164.13 with SMTP id m13mr978739hue.1170585367520; Sun, 04 Feb 2007 02:36:07 -0800 (PST) Received: by 10.78.75.5 with HTTP; Sun, 4 Feb 2007 02:36:07 -0800 (PST) Message-ID: Date: Sun, 4 Feb 2007 06:36:07 -0400 From: "Ighighi Ighighi" To: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1166_27991299.1170585367433" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: [PATCH]: libwww build fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 11:02:25 -0000 ------=_Part_1166_27991299.1170585367433 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! The build of the libwww port (at /usr/ports/www/libwww) fails because of 3 source files that try to use and when they should be using & . A quick fix would be to apply the patch attached (copying it to /usr/ports/www/libwww) or with the following command: make CFLAGS="-I /usr/local/include/openssl" The system I'm running is: FreeBSD orion 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Jan 25 05:16:08 VET 2007 root@orion:/usr/obj/usr/src/sys/CUSTOM i386 My /etc/make.conf contains: WITH_OPENSSL_STABLE=yes Cheers! The error message is as follows: gmake[5]: Entering directory `/usr/ports/www/libwww/work/w3c-libwww-5.4.0 /Library/src/SSL' /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/include -I../../../modules/md5 -I../../../modules/expat/xmlparse -I../../../Library/src -I/usr/local/ssl/include -O2 -pipe -march=pentium4 -march=pentium4 -Wall -c HTSSL.c mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/include -I../../../modules/md5 -I../../../modules/expat/xmlparse -I../../../Library/src -I/usr/local/ssl/include -O2 -pipe -march=pentium4 -march=pentium4 -Wall -c HTSSL.c -fPIC -DPIC -o .libs/HTSSL.o HTSSL.c:32:17: ssl.h: No such file or directory HTSSL.c:33:18: rand.h: No such file or directory In file included from HTSSL.c:43: HTSSLMan.h:24: error: syntax error before "SSL" HTSSL.c:46: error: syntax error before '*' token HTSSL.c:46: warning: type defaults to `int' in declaration of `app_ctx' HTSSL.c:46: warning: data definition has no type or storage class HTSSL.c:53: error: `X509_V_OK' undeclared here (not in a function) HTSSL.c:64: error: syntax error before '*' token HTSSL.c: In function `apps_ssl_info_callback': HTSSL.c:67: error: `where' undeclared (first use in this function) HTSSL.c:67: error: (Each undeclared identifier is reported only once HTSSL.c:67: error: for each function it appears in.) HTSSL.c:67: error: `SSL_ST_MASK' undeclared (first use in this function) HTSSL.c:68: error: `SSL_ST_CONNECT' undeclared (first use in this function) HTSSL.c:70: error: `SSL_ST_ACCEPT' undeclared (first use in this function) HTSSL.c:74: error: `SSL_CB_LOOP' undeclared (first use in this function) HTSSL.c:75: warning: implicit declaration of function `SSL_state_string_long' HTSSL.c:75: error: `s' undeclared (first use in this function) HTSSL.c:76: error: `SSL_CB_ALERT' undeclared (first use in this function) HTSSL.c:77: error: `SSL_CB_READ' undeclared (first use in this function) HTSSL.c:78: warning: implicit declaration of function `SSL_alert_type_string_long' HTSSL.c:78: error: `ret' undeclared (first use in this function) HTSSL.c:78: warning: implicit declaration of function `SSL_alert_desc_string_long' HTSSL.c:81: error: `SSL_CB_EXIT' undeclared (first use in this function) HTSSL.c: At top level: HTSSL.c:94: error: syntax error before "X509_STORE_CTX" HTSSL.c: In function `verify_callback': HTSSL.c:97: error: `X509' undeclared (first use in this function) HTSSL.c:97: error: `err_cert' undeclared (first use in this function) HTSSL.c:97: warning: implicit declaration of function `X509_STORE_CTX_get_current_cert' HTSSL.c:97: error: `ctx' undeclared (first use in this function) HTSSL.c:98: warning: implicit declaration of function `X509_STORE_CTX_get_error' HTSSL.c:99: warning: implicit declaration of function `X509_STORE_CTX_get_error_depth' HTSSL.c:100: warning: implicit declaration of function `X509_NAME_oneline' HTSSL.c:100: warning: implicit declaration of function `X509_get_subject_name' HTSSL.c:103: error: `ok' undeclared (first use in this function) HTSSL.c:104: warning: implicit declaration of function `X509_verify_cert_error_string' HTSSL.c:111: error: `X509_V_ERR_CERT_CHAIN_TOO_LONG' undeclared (first use in this function) HTSSL.c:116: error: `X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT' undeclared (first use in this function) HTSSL.c:117: warning: implicit declaration of function `X509_get_issuer_name' HTSSL.c:121: error: `X509_V_ERR_CERT_NOT_YET_VALID' undeclared (first use in this function) HTSSL.c:122: error: `X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD' undeclared (first use in this function) HTSSL.c:128: error: `X509_V_ERR_CERT_HAS_EXPIRED' undeclared (first use in this function) HTSSL.c:129: error: `X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD' undeclared (first use in this function) HTSSL.c: In function `HTSSL_init': HTSSL.c:179: warning: implicit declaration of function `RAND_file_name' HTSSL.c:180: warning: implicit declaration of function `RAND_load_file' HTSSL.c:183: error: `SSL_METHOD' undeclared (first use in this function) HTSSL.c:183: error: `meth' undeclared (first use in this function) HTSSL.c:184: warning: implicit declaration of function `SSLeay_add_ssl_algorithms' HTSSL.c:186: warning: implicit declaration of function `SSL_load_error_strings' HTSSL.c:191: warning: implicit declaration of function `SSLv2_client_method' HTSSL.c:194: warning: implicit declaration of function `SSLv3_client_method' HTSSL.c:197: warning: implicit declaration of function `SSLv23_client_method' HTSSL.c:201: warning: implicit declaration of function `TLSv1_client_method' HTSSL.c:206: warning: implicit declaration of function `SSL_CTX_new' HTSSL.c:206: warning: assignment makes pointer from integer without a cast HTSSL.c:214: warning: implicit declaration of function `SSL_CTX_set_info_callback' HTSSL.c:218: warning: implicit declaration of function `SSL_CTX_set_verify' HTSSL.c:218: error: `SSL_VERIFY_PEER' undeclared (first use in this function) HTSSL.c:221: warning: implicit declaration of function `SSL_CTX_set_session_cache_mode' HTSSL.c:221: error: `SSL_SESS_CACHE_CLIENT' undeclared (first use in this function) HTSSL.c: In function `HTSSL_terminate': HTSSL.c:232: warning: implicit declaration of function `SSL_CTX_free' HTSSL.c: In function `HTSSL_connectSetup': HTSSL.c:254: error: structure has no member named `ssl' HTSSL.c:254: warning: implicit declaration of function `SSL_new' HTSSL.c:255: error: structure has no member named `ssl' HTSSL.c:258: warning: implicit declaration of function `SSL_set_connect_state' HTSSL.c:258: error: structure has no member named `ssl' HTSSL.c:261: warning: implicit declaration of function `SSL_set_fd' HTSSL.c:261: error: structure has no member named `ssl' HTSSL.c: In function `HTSSL_free': HTSSL.c:335: error: structure has no member named `ssl' HTSSL.c:336: warning: implicit declaration of function `SSL_free' HTSSL.c:336: error: structure has no member named `ssl' HTSSL.c:337: error: structure has no member named `ssl' HTSSL.c: In function `HTSSL_open': HTSSL.c:356: error: structure has no member named `ssl' HTSSL.c:363: error: structure has no member named `ssl' HTSSL.c:369: error: structure has no member named `ssl' HTSSL.c:373: warning: implicit declaration of function `SSL_connect' HTSSL.c:373: error: structure has no member named `ssl' HTSSL.c: In function `HTSSL_close': HTSSL.c:386: error: structure has no member named `ssl' HTSSL.c:388: error: structure has no member named `ssl' HTSSL.c: In function `HTSSL_read': HTSSL.c:401: error: structure has no member named `ssl' HTSSL.c:401: warning: implicit declaration of function `SSL_read' HTSSL.c:401: error: structure has no member named `ssl' HTSSL.c: In function `HTSSL_write': HTSSL.c:406: error: structure has no member named `ssl' HTSSL.c:406: warning: implicit declaration of function `SSL_write' HTSSL.c:406: error: structure has no member named `ssl' HTSSL.c: In function `HTSSL_getError': HTSSL.c:411: error: structure has no member named `ssl' HTSSL.c:411: warning: implicit declaration of function `SSL_get_error' HTSSL.c:411: error: structure has no member named `ssl' gmake[5]: *** [HTSSL.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/www/libwww/work/w3c-libwww-5.4.0 /Library/src/SSL' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/www/libwww/work/w3c-libwww-5.4.0 /Library/src/SSL' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/www/libwww/work/w3c-libwww-5.4.0 /Library/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/www/libwww/work/w3c-libwww-5.4.0 /Library' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/www/libwww/work/w3c-libwww-5.4.0' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/www/libwww ------=_Part_1166_27991299.1170585367433--