Date: Mon, 17 Jan 2000 16:40:43 -0500 From: Jim Bloom <bloom@acm.org> To: Kris Kennaway <kris@hub.freebsd.org> Cc: Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>, ports@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: cvs commit: src/secure/lib/libcrypto Makefile.inc Makefile Message-ID: <38838C5B.EC50719A@acm.org> References: <Pine.BSF.4.21.0001171249040.27848-100000@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ssl.h> #include <crypto.h> and puts -I${PREFIX}/include/openssl (in the Makefile) in CFLAGS. This might be fixed by changing the source to #include <openssl/ssl.h> #include <openssl/crypto.h> 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-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38838C5B.EC50719A>