Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 12:49:13 -0800
From:      "Jeff D. Hamann" <jeff.hamann@forestinformatics.com>
To:        <freebsd-questions@freebsd.org>
Subject:   can't build apache2 + openssl 0.9.8 beta to get around 0.9.7 problems
Message-ID:  <001301c5f201$b4839ae0$0b00a8c0@mothra>

next in thread | raw e-mail | index | archive | help
I've been trying to build the apache2 port with the openssl 0.9.8 beta =
(becuase I keep getting errors with the port built with the 0.9.7i =
openssl port when attempting to start apache2.=20

I'm working on FreeBSD6 -amd64 (trying to get =
apache+openssl+subversion+postgresql+blah,blah,blah working):

bobby# uname -a
FreeBSD bobby.xxxxxxxx.xxxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov =
18 10:47:37 PST 2005     =
hamannj@bobby.xxxxxxx.xxx:/usr/obj/usr/src/sys/GENERIC  amd64


making all in tools...
=3D=3D=3D>  Installing for openssl-stable-0.9.7i
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if security/openssl already installed
=3D=3D=3D>   An older version of security/openssl is already installed =
(openssl-beta-0.9.8a)
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of security/openssl
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/security/openssl.
*** Error code 1

Stop in /usr/ports/www/apache2.
bobby#=20

Since I've installed openssl-beta-0.9.8a and don't want to build apache2 =
with 0.9.7i, how can I tell apache to use the newest port?

I can get the openssl 0.9.8 port to build just fine and the apache2 port =
to build with the openssl-0.9.7i port, but I can't get apache2 to build =
with the openssl-0.9.8a port. I was searching in the Makefile for =
apache2 and found the following line:

# patch files                                                            =
                                                                    =20
EXTRA_PATCHES+=3D         ${FILESDIR}/build-fix-openssl_beta   =20

and I'm not sure how (or if) this applies to my situation. And since the =
port isn't "older" (I don't know if it really is or isn't), I've decided =
not to force the registration.=20

and the version command in openssl yields,=20

bobby# openssl=20
OpenSSL> version
OpenSSL 0.9.7e-p1 25 Oct 2004
OpenSSL>=20

which I don't think is correct either, is it?


Any help would be great.=20
Jeff.=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c5f201$b4839ae0$0b00a8c0>