From owner-freebsd-current Mon Jan 17 13:41:20 2000 Delivered-To: freebsd-current@freebsd.org Received: from reyim.ne.mediaone.net (reyim.ne.mediaone.net [24.218.254.39]) by hub.freebsd.org (Postfix) with ESMTP id 93D5014EEA; Mon, 17 Jan 2000 13:41:11 -0800 (PST) (envelope-from bloom@acm.org) Received: from acm.org (localhost [127.0.0.1]) by reyim.ne.mediaone.net (8.9.3/8.9.3) with ESMTP id QAA64138; Mon, 17 Jan 2000 16:40:43 -0500 (EST) (envelope-from bloom@acm.org) Message-ID: <38838C5B.EC50719A@acm.org> Date: Mon, 17 Jan 2000 16:40:43 -0500 From: Jim Bloom Reply-To: bloom@acm.org X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: Satoshi - Ports Wraith - Asami , ports@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: cvs commit: src/secure/lib/libcrypto Makefile.inc Makefile References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here is the sequence I used for installing thing yesterday when I had the problem. First, I cvsup'ed and did a make world. Next, I installed the rsaref-2.0 port. Finally, I tried to make the lynx-ssl port. The basic problem is that some of the include files are not being found (ssl.h and crypto.h). I haven't read everything closely, but I believe that the source uses #include #include and puts -I${PREFIX}/include/openssl (in the Makefile) in CFLAGS. This might be fixed by changing the source to #include #include and having -I${PREFIX}/include in CFLAGS. Here is the build log minus the configuration output: ===> Extracting for lynx-ssl-2.8.2.1 >> Checksum OK for lynx2.8.2rel.1.tar.gz. >> Checksum OK for lynx-282-ssl.patch.gz. ===> lynx-ssl-2.8.2.1 depends on executable: openssl - found ===> lynx-ssl-2.8.2.1 depends on shared library: crypto.1 - found ===> lynx-ssl-2.8.2.1 depends on shared library: ssl.1 - found ===> Patching for lynx-ssl-2.8.2.1 ===> Applying distribution patches for lynx-ssl-2.8.2.1 ===> Applying FreeBSD patches for lynx-ssl-2.8.2.1 ===> Configuring for lynx-ssl-2.8.2.1 ... (Config deleted) ... ===> Building for lynx-ssl-2.8.2.1 PATH=.:$PATH; export PATH; /bin/sh -c './cfg_defs.sh' Constructing sed-script sed -e '/^#/d' -e '/^$/d' -e 's%\(.*\)=\(.*\@.*\)$%s=@\1@=\2=g%' -e 's%\(. *\)=\(http:.*\)$%s=@\1@=\2=g%' -e 's%\(.*\)=\(ftp:.*\)$%s=@\1@=\2=g%' -e 's%\( .*\)=\(.*\.html\)$%s=@\1@=\2=g%' ./lynx_help/help_files.txt | tr '=' '%' > hel p_files.sed Creating LYHelp.h ********************************************** Help files will NOT be gzipped. ********************************************** cd WWW/Library/Implementation && make CC="cc" LY_CFLAGS="-O -pipe -I/usr/local/ include/openssl" CPPFLAGS="" LYFLAGS="-I/usr/local/include -DUSE_SSL" cc -DHAVE_CONFIG_H -I/usr/local/include -DUSE_SSL -I../../.. -I../../../src -I../../.. -I../../../src -I../../../WWW/Library/Implementation -O -pipe -I/u sr/local/include/openssl -I/usr/local/include -DUSE_SSL -I../../../WWW/Library/ Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH -c ../../../WWW/Library/Implementat ion/HTParse.c cc -DHAVE_CONFIG_H -I/usr/local/include -DUSE_SSL -I../../.. -I../../../src -I../../.. -I../../../src -I../../../WWW/Library/Implementation -O -pipe -I/u sr/local/include/openssl -I/usr/local/include -DUSE_SSL -I../../../WWW/Library/ Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH -c ../../../WWW/Library/Implementat ion/HTAccess.c cc -DHAVE_CONFIG_H -I/usr/local/include -DUSE_SSL -I../../.. -I../../../src -I../../.. -I../../../src -I../../../WWW/Library/Implementation -O -pipe -I/u sr/local/include/openssl -I/usr/local/include -DUSE_SSL -I../../../WWW/Library/ Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH -c ../../../WWW/Library/Implementat ion/HTTP.c ../../../WWW/Library/Implementation/HTTP.c:15: ssl.h: No such file or directory ../../../WWW/Library/Implementation/HTTP.c:16: crypto.h: No such file or directo ry ../../../WWW/Library/Implementation/HTTP.c:75: syntax error before `*' ../../../WWW/Library/Implementation/HTTP.c:75: warning: data definition has no t ype or storage class ../../../WWW/Library/Implementation/HTTP.c:83: syntax error before `*' ../../../WWW/Library/Implementation/HTTP.c: In function `HTGetSSLHandle': ../../../WWW/Library/Implementation/HTTP.c:90: warning: assignment makes pointer from integer without a cast ../../../WWW/Library/Implementation/HTTP.c:91: request for member `cert' in some thing not a structure or union ../../../WWW/Library/Implementation/HTTP.c:100: warning: return makes pointer fr om integer without a cast ../../../WWW/Library/Implementation/HTTP.c: In function `HTLoadHTTP': ../../../WWW/Library/Implementation/HTTP.c:178: `SSL' undeclared (first use in t his function) ../../../WWW/Library/Implementation/HTTP.c:178: (Each undeclared identifier is r eported only once ../../../WWW/Library/Implementation/HTTP.c:178: for each function it appears in. ) ../../../WWW/Library/Implementation/HTTP.c:178: `handle' undeclared (first use i n this function) ../../../WWW/Library/Implementation/HTTP.c:323: warning: passing arg 1 of `HTPro gress' makes pointer from integer without a cast *** Error code 1 Jim Bloom bloom@acm.org Kris Kennaway wrote: > > On Mon, 17 Jan 2000, Jim Bloom wrote: > > > Add lynx-ssl to the list of ports which are broken on current. This was > > as of Jan. 16 at 14:00 EST cvsup of ports and source followed by a make > > world. > > Well, that makes a list of one. Can you provide more information (e.g. a > transcript?) Are you using openssl-rsaref, or openssl with no RSA (the > latter will break many ports, the former has a restrictive license). > > Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message