BeyondTrust / pbis-open

BeyondTrust AD Bridge Open is an open-source community project sponsored by BeyondTrust Corporation. It is currently archived and will no longer receive updates. If you are interested in an Enterprise version of this project, please see our AD Bridge product.
https://www.beyondtrust.com/privilege-management/active-directory-bridge
Apache License 2.0
366 stars 92 forks source link

Compiling pbis-open in FreeBSD 11.1 ? #96

Closed ghost closed 3 years ago

ghost commented 6 years ago

uname -a

../configure --debug

It can't find the 'autogen.sh' file to build Kerberos. The 'src' subdir of 'pbis-open/krb5' appears to be different.

find .. -name autogen.sh

It has been a long time since I've debugged a Makefile...

dmorash-BT commented 6 years ago

Took a quick look at this but don't have it completely building yet, it looks like the openssl build needs some tweaking. Here is what I found so far:

  1. The autogen.sh issue is because those files reference /bin/bash. To fix this you'll need to install bash and link /usr/local/bash to /bin/bash.
  2. By default configure will use gcc. If you want to use clang, you'll need to specify that as a configure parameter, e.g. configure CC=clang --debug
  3. Standard make doesn't understand our generated Makefile, so you'll need to install and use gmake.