Building 1.16.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Building 1.16.1

Jonathan Maron
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             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev
Reply | Threaded
Open this post in threaded view
|

Re: Building 1.16.1

Greg Hudson
On 08/28/2018 11:32 AM, Jonathan Maron wrote:
>    I am having issues attempting to create an installation with a specified build dir:
>
> -bash-4.1$ make install DESTDIR=opt/local/krb5-tools
[...]
[...]
> /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             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev
Reply | Threaded
Open this post in threaded view
|

Re: Building 1.16.1

Jonathan Maron


> On Aug 28, 2018, at 11:37 AM, Greg Hudson <[hidden email]> wrote:
>
> On 08/28/2018 11:32 AM, Jonathan Maron wrote:
>>   I am having issues attempting to create an installation with a specified build dir:
>> -bash-4.1$ make install DESTDIR=opt/local/krb5-tools
> [...]
> [...]
>> /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             [hidden email]
https://mailman.mit.edu/mailman/listinfo/krbdev