Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 29 Nov 2014 19:56:08 +0100
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: OpenMP on FreeBSD ?

On 2014-11-29 19:00, Patrick Proniewski wrote:
> On 29 nov. 2014, at 12:22, magnum wrote:
>
>> On 2014-11-28 22:45, Patrick Proniewski wrote:
>>> On 28 nov. 2014, at 22:13, magnum wrote:
>>>> If autoconf fails in some way so you can't build without manual tweaks, please report it and we will try to fix it.
>>>
>>>
>>> Thanks a lot, it looks great. Unfortunately it does not work very nicely:
>>>
>>> 	../..
>>> 	checking for OPENSSL... no
>>> 	configure: error: in `/home/patpro/JohnTheRipper-2d8f25e/src':
>>> 	configure: error: JtR requires OpenSSL being installed
>>>
>>> I don't have port security/openssl installed, only OpenSSL that comes with base system, and I intend to stick with it (OpenSSL 0.9.8za-freebsd 5 Jun 2014). Any chance to work around this?
>>
>> That should do. The question is why configure doesn't find it. Assuming it's the headers that is not found, something like this might fix it:
>>
>> ./configure CC=gcc49 CFLAGS="-g -O2 -I/some/path/ssl/include"
>
>
> I've tried:
>
> 	./configure CC=gcc49 CFLAGS="-g -O2 -I/usr/include/openssl"
>
> and
>
> 	./configure CC=gcc49 LDFLAGS="-L/usr/lib -L/usr/local/lib/gcc49" CFLAGS="-g -O2 -I/usr/include/openssl"
>
> But result is the same and config.log reads:
>
> 	configure:8877: checking for OPENSSL
> 	configure:8884: $PKG_CONFIG --exists --print-errors "openssl"
> 	Package openssl was not found in the pkg-config search path.
> 	Perhaps you should add the directory containing `openssl.pc'
> 	to the PKG_CONFIG_PATH environment variable
> 	Package 'openssl', required by 'world', not found
> 	configure:8887: $? = 1
>
> ie. it fails on `pkg-config --exists --print-errors "openssl"`

Ahaa... I never loved the idea of using pkg-config. What if you add 
--disable-pkg-config to what you had above? Oh, and add "-lssl" to 
LDFLAGS too.

./configure --disable-pkg-config CC=gcc49 LDFLAGS="-L/usr/lib 
-L/usr/local/lib/gcc49 -lssl" CFLAGS="-g -O2 -I/usr/include/openssl"

magnum


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.