[Bug 854] openbsd-compat and "--with-ssl-dir=relative path" fails (if no other openssl installation is found)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 29 03:28:38 EST 2004


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 at mindrot.org
        ReportedBy: mager at 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.




More information about the openssh-bugs mailing list