Mailing List Archive

[Bug 854] openbsd-compat and "--with-ssl-dir=relative path" fails (if no other openssl installation is found)
http://bugzilla.mindrot.org/show_bug.cgi?id=854

Summary: openbsd-compat and "--with-ssl-dir=relative path" fails
(if no other openssl installation is found)
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: mager@tzi.de


Hello,
there is a bug in the build system when building openbsd-compat, if you
configure e.g. --with-ssl-dir=../openssl and no other openssl is available on
the system:

gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I../openssl/include -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from bsd-arc4random.c:17:
../includes.h:183:63: openssl/opensslv.h: No such file or directory
[...]

->grep CPPFLAGS Makefile
CPPFLAGS=-I. -I$(srcdir) -I../openssl/include $(PATHS) -DHAVE_CONFIG_H
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
->grep CPPFLAGS openbsd-compat/Makefile
CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. -I../openssl/include -DHAVE_CONFIG_H
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<

Sure thing there is a "../" missing for the openssl include, as the
openbsd-compat files are one directory down.

Perhaps esoteric, but still a bug. ;-)

Regards
Markus



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 854] openbsd-compat and "--with-ssl-dir=relative path" fails (if no other openssl installation is found) [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=854

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |trivial
Status|NEW |ASSIGNED



------- Additional Comments From dtucker@zip.com.au 2004-04-29 23:37 -------
If you want to do that, for now use "--with-ssl-dir=`pwd`/../openssl".



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.