Discussion:
Building 1.16.1
Jonathan Maron
2018-08-28 15:32:14 UTC
Permalink
Hi,

I am having issues attempting to create an installation with a specified build dir:

-bash-4.1$ make install DESTDIR=opt/local/krb5-tools
mkdir opt/local/krb5-tools
mkdir opt/local/krb5-tools/usr
mkdir opt/local/krb5-tools/usr/local
mkdir opt/local/krb5-tools/usr/local/share
mkdir opt/local/krb5-tools/usr/local/share/man
mkdir opt/local/krb5-tools/usr/local/sbin
mkdir opt/local/krb5-tools/usr/local/bin
mkdir opt/local/krb5-tools/usr/local/share/man/man8
mkdir opt/local/krb5-tools/usr/local/share/man/man1
mkdir opt/local/krb5-tools/usr/local/share/man/man5
mkdir opt/local/krb5-tools/usr/local/share/man/cat8
mkdir opt/local/krb5-tools/usr/local/share/man/cat1
mkdir opt/local/krb5-tools/usr/local/share/man/cat5
mkdir opt/local/krb5-tools/usr/local/lib
mkdir opt/local/krb5-tools/usr/local/include
mkdir opt/local/krb5-tools/usr/local/lib/krb5
mkdir opt/local/krb5-tools/usr/local/lib/krb5/plugins
mkdir opt/local/krb5-tools/usr/local/lib/krb5/plugins/kdb
mkdir opt/local/krb5-tools/usr/local/lib/krb5/plugins/preauth
mkdir opt/local/krb5-tools/usr/local/lib/krb5/plugins/authdata
mkdir opt/local/krb5-tools/usr/local/lib/krb5/plugins/libkrb5
mkdir opt/local/krb5-tools/usr/local/lib/krb5/plugins/tls
mkdir opt/local/krb5-tools/usr/local/var
mkdir opt/local/krb5-tools/usr/local/var/krb5kdc
mkdir opt/local/krb5-tools/usr/local/var/run
mkdir opt/local/krb5-tools/usr/local/var/run/krb5kdc
mkdir opt/local/krb5-tools/usr/local/include/kadm5
mkdir opt/local/krb5-tools/usr/local/include/krb5
mkdir opt/local/krb5-tools/usr/local/include/gssapi
mkdir opt/local/krb5-tools/usr/local/include/gssrpc
mkdir opt/local/krb5-tools/usr/local/share/examples
mkdir opt/local/krb5-tools/usr/local/share/examples/krb5
mkdir opt/local/krb5-tools/usr/local/lib/pkgconfig
making install in util...
make[1]: Entering directory `/tmp/krb/krb5-1.16.1/src/util'
making install in util/support...
make[2]: Entering directory `/tmp/krb/krb5-1.16.1/src/util/support'
rm -f opt/local/krb5-tools/usr/local/lib/libkrb5support.so.0.1
rm -f opt/local/krb5-tools/usr/local/lib/libkrb5support.so
/usr/bin/install -c -m 644 libkrb5support.so.0.1 opt/local/krb5-tools/usr/local/lib
/usr/bin/install: cannot create regular file `opt/local/krb5-tools/usr/local/lib': No such file or directory
make[2]: *** [install-shared] Error 1
make[2]: Leaving directory `/tmp/krb/krb5-1.16.1/src/util/support'
make[1]: *** [install-recurse] Error 1
make[1]: Leaving directory `/tmp/krb/krb5-1.16.1/src/util'
make: *** [install-recurse] Error 1

I can’t quite figure out what I’m doing wrong. the install command for libkrb5support apparently is for a non-existent file:

-bash-4.1$ /usr/bin/install -c -m 644 libkrb5support.so.0.1 opt/local/krb5-tools/usr/local/lib
/usr/bin/install: cannot stat `libkrb5support.so.0.1': No such file or directory

If i search below src directory where I’m building the file exists in the “lib” dir:

./lib/libkrb5support.so.0.1
./lib/libkrb5support.so
./lib/libkrb5support.so.0


Any ideas?

— Jon


_______________________________________________
krbdev mailing list ***@mit.edu
https://mailman.mit.edu/mail
Greg Hudson
2018-08-28 15:37:25 UTC
Permalink
Post by Jonathan Maron
-bash-4.1$ make install DESTDIR=opt/local/krb5-tools
[...]
[...]
Post by Jonathan Maron
/usr/bin/install: cannot create regular file `opt/local/krb5-tools/usr/local/lib': No such file or directory
Use an absolute path for DESTDIR. We have a build system using
recursive make, and "opt/local/krb5-tools" is different in each directory.

I will update our documentation to say that explicitly.
_______________________________________________
krbdev mailing list ***@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev
Jonathan Maron
2018-08-28 15:51:30 UTC
Permalink
Post by Jonathan Maron
-bash-4.1$ make install DESTDIR=opt/local/krb5-tools
[...]
[...]
Post by Jonathan Maron
/usr/bin/install: cannot create regular file `opt/local/krb5-tools/usr/local/lib': No such file or directory
Use an absolute path for DESTDIR. We have a build system using recursive make, and "opt/local/krb5-tools" is different in each directory.
Thanks. Figured that out a few moments ago :)
I will update our documentation to say that explicitly.
_______________________________________________
krbdev mailing list ***@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

Continue reading on narkive:
Loading...