bugzilla-daemon at bugzilla.mindrot.org
2010-Sep-01 06:52 UTC
[Bug 1813] New: Cannot compile on Mac OS X with non-default OpenSSL
https://bugzilla.mindrot.org/show_bug.cgi?id=1813
Summary: Cannot compile on Mac OS X with non-default OpenSSL
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: minor
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: douglas at stebila.ca
I was trying to compile OpenSSH with a different OpenSSL installation.
However, OpenSSH's ./configure command kept failing with the error
listed below. I have included the full sequence of shell commands I
used.
$ tar zxf openssl-1.0.0a.tar.gz
$ cd openssl-1.0.0a
$ ./Configure --prefix=/Users/dstebila/Downloads/dev/build
darwin64-x86_64-cc
...
$ make
$ make install
$ cd ..
$ tar zxf openssh-SNAP-20100901.tar.gz
$ cd openssh
$ ./configure --prefix=/Users/dstebila/Downloads/dev/build
--with-ssl-dir=/Users/dstebila/Downloads/dev/build
...
checking build system type... x86_64-apple-darwin10.4.0
...
checking OpenSSL header version... 1000001f (OpenSSL 1.0.0a 1 Jun 2010)
checking OpenSSL library version... 9080cf (OpenSSL 0.9.8l 5 Nov 2009)
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your
library. Check config.log for details.
...
I also tried adding LDFLAGS and CPPFLAGS to the ./configure command as
indicated below, but the same error occurred.
$ ./configure --prefix=/Users/dstebila/Downloads/dev/build
--with-ssl-dir=/Users/dstebila/Downloads/dev/build
LDFLAGS=-L/Users/dstebila/Downloads/dev/build/lib
CPPFLAGS=-I/Users/dstebila/Downloads/dev/build/include
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Sep-01 06:53 UTC
[Bug 1813] Cannot compile on Mac OS X with non-default OpenSSL
https://bugzilla.mindrot.org/show_bug.cgi?id=1813
Douglas Stebila <douglas at stebila.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |douglas at stebila.ca
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-23 02:35 UTC
[Bug 1813] Cannot compile on Mac OS X with non-default OpenSSL
https://bugzilla.mindrot.org/show_bug.cgi?id=1813
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2011-05-23 12:35:38
EST ---
There are probably more details in config.log - could you have a look
there to see if there are any more clues to why this went awry?
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.