Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22B7B1810B for ; Sun, 18 Oct 2015 12:37:14 +0000 (UTC) Received: (qmail 9290 invoked by uid 500); 18 Oct 2015 12:37:10 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 9248 invoked by uid 500); 18 Oct 2015 12:37:10 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 9238 invoked by uid 99); 18 Oct 2015 12:37:10 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2015 12:37:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6067CC54CE for ; Sun, 18 Oct 2015 12:37:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.88 X-Spam-Level: *** X-Spam-Status: No, score=3.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0ivAkivfDRfG for ; Sun, 18 Oct 2015 12:37:02 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D41D042B95 for ; Sun, 18 Oct 2015 12:37:01 +0000 (UTC) Received: by wicfx6 with SMTP id fx6so16236946wic.1 for ; Sun, 18 Oct 2015 05:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=d9CQYmFO1mkhresTuK8Y5y1dhwEnobtsW7Gt3rj3edU=; b=EnSViaLOUPw4hLiEXThBXHnFTOHXrSTCBGyOVm0OGkcfSIp8hXDlZtIJbZ7GYnwUKA 5kCEVWdsY1UiwmzgprbdZLT9eXAmyu1C7X5bJNj37Qie2+m2v7XQSVLPyqZq59xQaXs8 efO05SkYmtjN6upI2TqSUOKCIF8vzqea86+eb2b77zUkFTwAAjjckRCWPzhRlCglrVKa WyQebFKtBTZvE9vF5nw8NIigvVFlLQL6tTbDdHg5i0tguvcyQFqCKGamhq+u7mvHOPI6 q60wwIL+F78o6q+3CM8RvPPrvAA8tiH97d129t3XbRDT1wSyXxg2+0n7xojbFEk3WPbl VWhA== X-Received: by 10.194.235.6 with SMTP id ui6mr31453627wjc.92.1445171821019; Sun, 18 Oct 2015 05:37:01 -0700 (PDT) Received: from [192.168.0.12] (avk84-1-82-243-6-88.fbx.proxad.net. [82.243.6.88]) by smtp.gmail.com with ESMTPSA id he3sm33903678wjc.48.2015.10.18.05.36.59 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Oct 2015 05:37:00 -0700 (PDT) From: arnaud icard Content-Type: multipart/alternative; boundary="Apple-Mail=_206BCF2E-6416-4124-B894-F3E488C9EDDD" Message-Id: <92B6E968-E435-41DB-AD0D-AEBFEF92A512@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Date: Sun, 18 Oct 2015 14:36:58 +0200 References: <6FA96069-C73E-4371-BBEB-1389D2E0F2E2@gmail.com> <886857FA-8C89-47D4-97F7-A45E24C4C419@gmail.com> To: users@httpd.apache.org In-Reply-To: X-Mailer: Apple Mail (2.3094) Subject: Re: [users@httpd] "OpenSSL version is too old" while compiling http 2.4.16 on MacOS 10.11 --Apple-Mail=_206BCF2E-6416-4124-B894-F3E488C9EDDD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99m correcting myself.=20 The flag should be -I/usr/local/include=20 and not -I/usr/local/include/openssl Thus the variables : CC=3D"gcc $ARCH -I/usr/local/include" CXX=3D"gcc $ARCH -I/usr/local/include" > Le 18 oct. 2015 =C3=A0 13:28, arnaud icard a = =C3=A9crit : >=20 > I=E2=80=99ve found a way : > Copy the folder /usr/incude/openssl from a Yosemite (MacOS 10.10) to = /usr/local/include/openssl on my computer (El Capitan MacOS 10.11). > Then compile apache by adding a flag to the compilation environment = variables gcc and g++ : -I/usr/local/include/openssl >=20 > Here are all the variables that I use : > ARCH=3D"-arch x86_64 -mmacosx-version-min=3D10.7" > LDFLAGS=3D"-O3 $ARCH" > CFLAGS=3D"-O3 -fno-common $ARCH" > CXXFLAGS=3D"-O3 -fno-common $ARCH" > CC=3D"gcc $ARCH -I/usr/local/include/openssl" > CXX=3D"gcc $ARCH -I/usr/local/include/openssl" > CPP=3D"gcc -E" > CXXCPP=3D"g++ -E =C2=BB >=20 > Regards, > arnaud >=20 >> Le 15 oct. 2015 =C3=A0 11:35, Aur=C3=A9lien Terrestris = > a =C3=A9crit : >>=20 >> Apache doesn't install because it cannot find the necessary packages. = This is not a bug a normal behaviour. >>=20 >> You should check how to install the missing packages, this is a = question that should be asked on Apple's forums. >>=20 >> Maybe, you can start here : = http://mac-dev-env.patrickbougie.com/openssl/ = >> Once installed, come back here if it is still not working. >>=20 >>=20 >> 2015-10-14 18:54 GMT+02:00 arnaud icard >: >> I have finally found something. There is no /usr/include/openssl = folder anymore ! >> I copy it from an older system version but with the new System = Integrity Protection mechanism from Apple, I can=E2=80=99t modify the = /usr/include folder. >>=20 >> Is there a way to bypass this ? Should I fill a bug to apache ? >> I=E2=80=99ve already filled one via Apple bugtracker but I don=E2=80=99= t really expect an answer=E2=80=A6 >>=20 >>=20 >> Le mer. 23 sept. 2015 =C3=A0 11:48, arnaud icard = > a =C3=A9crit : >> OpenSSL is installed as the terminal command =E2=80=98openssl=E2=80=99 = works well. >>=20 >> I=E2=80=99ll try the apple=E2=80=99s forums=E2=80=A6 >>=20 >> Thanks for your help anyway ! >>=20 >> > Le 23 sept. 2015 =C3=A0 11:43, Aur=C3=A9lien Terrestris = > a =C3=A9crit : >> > >> > You should check that openssl is installed ; On Linux, we install = both >> > openssl and openssl-devel packages, but I am dummy for OS X >> > >> > 2015-09-23 11:31 GMT+02:00 arnaud icard >: >> >> I don't have this file but on the other hand I can't find any = openssl >> >> library file=E2=80=A6? >> >> >> >> The compilation works on 10.9 an 10.10 even though the openssl = version is >> >> identical so I guess something different comes from the new = system. >> >> >> >> Le mer. 23 sept. 2015 =C3=A0 10:41, Aur=C3=A9lien Terrestris = > a >> >> =C3=A9crit : >> >>> >> >>> with root account, >> >>> >> >>> find / -name rsa.h >> >>> >> >>> or >> >>> >> >>> locate rsa.h >> >>> >> >>> >> >>> 2015-09-23 10:26 GMT+02:00 arnaud icard >: >> >>>> This is what I am looking for right now but I don=E2=80=99t know = where the libs >> >>>> are stored on OS X. >> >>>> Is there a terminal command that would give me this piece of = information >> >>>> ? >> >>>> >> >>>>> Le 23 sept. 2015 =C3=A0 10:24, Aur=C3=A9lien Terrestris = > a >> >>>>> =C3=A9crit : >> >>>>> >> >>>>> Is this file (rsa.h) present on your computer ? >> >>>>> >> >>>>> 2015-09-23 10:12 GMT+02:00 arnaud icard >: >> >>>>>> Thanks for your help. >> >>>>>> Unfortunately it didn=E2=80=99t worked, still the same issue. >> >>>>>> >> >>>>>> The configure worked when I fixed the variable ac_cv_openssl = to yes: >> >>>>>> 24800 ac_cv_openssl=3Dyes >> >>>>>> >> >>>>>> but then an error occurred during the make: >> >>>>>> fatal error: 'openssl/rsa.h' file not found >> >>>>>> >> >>>>>> >> >>>>>>> Le 23 sept. 2015 =C3=A0 09:11, Aur=C3=A9lien Terrestris = > >> >>>>>>> a =C3=A9crit : >> >>>>>>> >> >>>>>>> Hello >> >>>>>>> >> >>>>>>> in the configure file, you can remove the openssl version = checking >> >>>>>>> starting at line 24787 >> >>>>>>> >> >>>>>>> 24787 #if OPENSSL_VERSION_NUMBER < 0x0090801f >> >>>>>>> 24788 #error "Unsupported OpenSSL version " = OPENSSL_VERSION_TEXT >> >>>>>>> 24789 #endif >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> 2015-09-22 22:53 GMT+02:00 arnaud icard = >: >> >>>>>>>> Hi there, >> >>>>>>>> >> >>>>>>>> I encounter an error with OpenSSL while compiling http = 2.4.16 on El >> >>>>>>>> Capitan >> >>>>>>>> 10.11.1. >> >>>>>>>> >> >>>>>>>> It is looking for OpenSSL version >=3D 0.9.8a: >> >>>>>>>> checking for OpenSSL... checking for user-provided OpenSSL = base >> >>>>>>>> directory... none >> >>>>>>>> checking for OpenSSL version >=3D 0.9.8a... FAILED >> >>>>>>>> configure: WARNING: OpenSSL version is too old >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> The default OpenSSL version is 0.9.8zg: >> >>>>>>>> $ openssl version >> >>>>>>>> OpenSSL 0.9.8zg 14 July 2015 >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> And finally here is a part of my compilation line : >> >>>>>>>> ./configure --prefix=3D/usr/local/MyWebserver/httpd-2.4.16 = \ >> >>>>>>>> --enable-ssl \ >> >>>>>>>> --with-few-things... \ >> >>>>>>>> --disable-lots-of-things... >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> I don't want to install another openssl even with `brew`. >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> Is it an OpenSSL bug? An apache bug? Not a bug but a mistake = of >> >>>>>>>> mine? >> >>>>>>>> Could someone please help me on this one ? >> >>>>>>>> >> >>>>>>>> Regards, >> >>>>>>>> arnaud >> >>>>>>>> -- >> >>>>>>>> -- >> >>>>>>>> >> >>>>>>>> Arnaud Icard >> >>>>>>> >> >>>>>>> = --------------------------------------------------------------------- >> >>>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org = >> >>>>>>> For additional commands, e-mail: users-help@httpd.apache.org = >> >>>>>>> >> >>>>>> >> >>>>>> >> >>>>>> = --------------------------------------------------------------------- >> >>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org = >> >>>>>> For additional commands, e-mail: users-help@httpd.apache.org = >> >>>>>> >> >>>>> >> >>>>> = --------------------------------------------------------------------- >> >>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org = >> >>>>> For additional commands, e-mail: users-help@httpd.apache.org = >> >>>>> >> >>>> >> >>>> >> >>>> = --------------------------------------------------------------------- >> >>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org = >> >>>> For additional commands, e-mail: users-help@httpd.apache.org = >> >>>> >> >>> >> >>> = --------------------------------------------------------------------- >> >>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org = >> >>> For additional commands, e-mail: users-help@httpd.apache.org = >> >>> >> >> -- >> >> -- >> >> >> >> Arnaud Icard >> > >> > = --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org = >> > For additional commands, e-mail: users-help@httpd.apache.org = >> > >>=20 >> --=20 >> -- >>=20 >> Arnaud Icard >>=20 >=20 --Apple-Mail=_206BCF2E-6416-4124-B894-F3E488C9EDDD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I=E2=80=99m correcting myself. 

The flag should be = -I/usr/local/include 
and not = -I/usr/local/include/openssl

Thus the variables :
CC=3D"gcc $ARCH -I/usr/local/include"
CXX=3D"gcc $ARCH -I/usr/local/include"

Le 18 oct. 2015 =C3=A0 13:28, arnaud icard <arnaud.icard@gmail.com> a =C3=A9crit :

I=E2=80=99ve = found a way :
Copy the folder /usr/incude/openssl from a = Yosemite (MacOS 10.10) to /usr/local/include/openssl on my computer (El = Capitan MacOS 10.11).
Then compile apache by adding = a flag to the compilation environment variables gcc and g++ : = -I/usr/local/include/openssl

Here are all the variables that I use = :
ARCH=3D"-arch x86_64 = -mmacosx-version-min=3D10.7"
LDFLAGS=3D"-O3 $ARCH"
CFLAGS=3D"-O3 = -fno-common $ARCH"
CXXFLAGS=3D"-O3 -fno-common = $ARCH"
CC=3D"gcc $ARCH = -I/usr/local/include/openssl"
CXX=3D"gcc $ARCH = -I/usr/local/include/openssl"
CPP=3D"gcc -E"
CXXCPP=3D"g++ = -E =C2=BB

Regards,
arnaud

Le 15 oct. 2015 =C3=A0 11:35, Aur=C3=A9lien = Terrestris <aterrestris@gmail.com> a =C3=A9crit :

Apache doesn't install because it cannot find the necessary = packages. This is not a bug a normal behaviour.

You should check how to install the = missing packages, this is a question that should be asked on Apple's = forums.

Maybe, = you can start here : http://mac-dev-env.patrickbougie.com/openssl/
Once installed, come back here if it is still not = working.


2015-10-14= 18:54 GMT+02:00 arnaud icard <arnaud.icard@gmail.com>:
I have finally found something. There is no = /usr/include/openssl folder anymore !
I copy it from an older system = version but with the new System Integrity Protection mechanism from = Apple, I can=E2=80=99t modify the /usr/include folder.

Is there a = way to bypass this ? Should I fill a bug to apache ?
I=E2=80=99ve= already filled one via Apple bugtracker but I don=E2=80=99t really = expect an answer=E2=80=A6


Le mer. 23 sept. 2015 =C3=A0 11:48, = arnaud icard <arnaud.icard@gmail.com> a = =C3=A9crit :
OpenSSL is installed as the terminal command = =E2=80=98openssl=E2=80=99 works well.

I=E2=80=99ll try the apple=E2=80=99s forums=E2=80=A6

Thanks for your help anyway !

> Le 23 sept. 2015 =C3=A0 11:43, Aur=C3=A9lien Terrestris <aterrestris@gmail.com> a =C3=A9crit :
>
> You should check that openssl is installed ; On Linux, we install = both
> openssl and openssl-devel packages, but I am dummy for OS X
>
> 2015-09-23 11:31 GMT+02:00 arnaud icard <arnaud.icard@gmail.com>:
>> I don't have this file but on the other hand I can't find any = openssl
>> library file=E2=80=A6?
>>
>> The compilation works on 10.9 an 10.10 even though the openssl = version is
>> identical so I guess something different comes from the new = system.
>>
>> Le mer. 23 sept. 2015 =C3=A0 10:41, Aur=C3=A9lien Terrestris = <aterrestris@gmail.com> a
>> =C3=A9crit :
>>>
>>> with root account,
>>>
>>> find / -name rsa.h
>>>
>>> or
>>>
>>> locate rsa.h
>>>
>>>
>>> 2015-09-23 10:26 GMT+02:00 arnaud icard <arnaud.icard@gmail.com>:
>>>> This is what I am looking for right now but I don=E2=80=99= t know where the libs
>>>> are stored on OS X.
>>>> Is there a terminal command that would give me this = piece of information
>>>> ?
>>>>
>>>>> Le 23 sept. 2015 =C3=A0 10:24, Aur=C3=A9lien = Terrestris <aterrestris@gmail.com> a
>>>>> =C3=A9crit :
>>>>>
>>>>> Is this file (rsa.h) present on your computer ?
>>>>>
>>>>> 2015-09-23 10:12 GMT+02:00 arnaud icard <arnaud.icard@gmail.com>:
>>>>>> Thanks for your help.
>>>>>> Unfortunately it didn=E2=80=99t worked, still = the same issue.
>>>>>>
>>>>>> The configure worked when I fixed the variable = ac_cv_openssl to yes:
>>>>>>   24800 ac_cv_openssl=3Dyes
>>>>>>
>>>>>> but then an error occurred during the make:
>>>>>>   fatal error: 'openssl/rsa.h' file = not found
>>>>>>
>>>>>>
>>>>>>> Le 23 sept. 2015 =C3=A0 09:11, Aur=C3=A9lien = Terrestris <aterrestris@gmail.com>
>>>>>>> a =C3=A9crit :
>>>>>>>
>>>>>>> Hello
>>>>>>>
>>>>>>> in the configure file, you can remove the = openssl version checking
>>>>>>> starting at line 24787
>>>>>>>
>>>>>>> 24787 #if OPENSSL_VERSION_NUMBER < = 0x0090801f
>>>>>>> 24788 #error "Unsupported OpenSSL version " = OPENSSL_VERSION_TEXT
>>>>>>> 24789 #endif
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2015-09-22 22:53 GMT+02:00 arnaud icard = <arnaud.icard@gmail.com>:
>>>>>>>> Hi there,
>>>>>>>>
>>>>>>>> I encounter an error with OpenSSL while = compiling http 2.4.16 on El
>>>>>>>> Capitan
>>>>>>>> 10.11.1.
>>>>>>>>
>>>>>>>> It is looking for OpenSSL version >=3D= 0.9.8a:
>>>>>>>>  checking for OpenSSL... checking = for user-provided OpenSSL base
>>>>>>>> directory... none
>>>>>>>>  checking for OpenSSL version = >=3D 0.9.8a... FAILED
>>>>>>>>  configure: WARNING: OpenSSL = version is too old
>>>>>>>>
>>>>>>>>
>>>>>>>> The default OpenSSL version is = 0.9.8zg:
>>>>>>>>  $ openssl version
>>>>>>>>  OpenSSL 0.9.8zg 14 July 2015
>>>>>>>>
>>>>>>>>
>>>>>>>> And finally here is a part of my = compilation line :
>>>>>>>>  ./configure = --prefix=3D/usr/local/MyWebserver/httpd-2.4.16 \
>>>>>>>>  --enable-ssl \
>>>>>>>>  --with-few-things... \
>>>>>>>>  --disable-lots-of-things...
>>>>>>>>
>>>>>>>>
>>>>>>>> I don't want to install another openssl = even with `brew`.
>>>>>>>>
>>>>>>>>
>>>>>>>> Is it an OpenSSL bug? An apache bug? = Not a bug but a mistake of
>>>>>>>> mine?
>>>>>>>> Could someone please help me on this = one ?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> arnaud
>>>>>>>> --
>>>>>>>> --
>>>>>>>>
>>>>>>>> Arnaud Icard
>>>>>>>
>>>>>>> = ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>> = ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>>>
>>>>>
>>>>> = ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>>
>>>>
>>>>
>>>> = ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>
>>> = ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>> --
>> --
>>
>> Arnaud Icard
>
> = ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

--
--

Arnaud Icard



= --Apple-Mail=_206BCF2E-6416-4124-B894-F3E488C9EDDD--