История изменений
Исправление
pavlick,
(текущая версия)
:
Скоро будет, вот только подрастёт systemd поколение, которое читает такие доки.
Встречайте, они уже здесь https://pagure.io/freeipa/issue/6602. Человек приходит с правильным вопросом - почему софтина гадит за пределами prefix?
$ ./configure --prefix=/tmp/freeipa
$ make
$ make install
Making install in dnssec
make[2]: Entering directory '/home/heimes/redhat/freeipa/daemons/dnssec'
make[3]: Entering directory '/home/heimes/redhat/freeipa/daemons/dnssec'
make[3]: Nothing to be done for 'install-exec-am'.
...
/usr/bin/mkdir -p '/usr/lib/systemd/system'
/usr/bin/install -c -m 644 ipa-dnskeysyncd.service ipa-ods-exporter.service ipa-ods-exporter.socket '/usr/lib/systemd/system'
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-dnskeysyncd.service': Permission denied
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-ods-exporter.service': Permission denied
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-ods-exporter.socket': Permission denied
Makefile:470: recipe for target 'install-systemdsystemunitDATA' failed
make[3]: *** [install-systemdsystemunitDATA] Error 1
...
make: *** [install-recursive] Error 1
А ему в ответ какие-то наркоманы, которые про prefix впервые слышат:
If your use case is to simply install FreeIPA to a chosen directory, you can use the DESTDIR option as mentioned above.
I'm not sure what is the purpose of --prefix option for ./configure, but using DESTDIR seems to be a standard automake way to achieve the behavior you want.
И на этот баг благополучно забивают. Приехали … . Откуда Лёня взялся? Он всё разрушит …
Исправление
pavlick,
:
Скоро будет, вот только подрастёт systemd поколение, которое читает такие доки.
Встречайте, они уже здесь https://pagure.io/freeipa/issue/6602
Человек приходит с правильным вопросом - почему софтина гадит за пределами prefix?
$ ./configure --prefix=/tmp/freeipa
$ make
$ make install
Making install in dnssec
make[2]: Entering directory '/home/heimes/redhat/freeipa/daemons/dnssec'
make[3]: Entering directory '/home/heimes/redhat/freeipa/daemons/dnssec'
make[3]: Nothing to be done for 'install-exec-am'.
...
/usr/bin/mkdir -p '/usr/lib/systemd/system'
/usr/bin/install -c -m 644 ipa-dnskeysyncd.service ipa-ods-exporter.service ipa-ods-exporter.socket '/usr/lib/systemd/system'
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-dnskeysyncd.service': Permission denied
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-ods-exporter.service': Permission denied
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-ods-exporter.socket': Permission denied
Makefile:470: recipe for target 'install-systemdsystemunitDATA' failed
make[3]: *** [install-systemdsystemunitDATA] Error 1
...
make: *** [install-recursive] Error 1
А ему в ответ какие-то наркоманы, которые про prefix впервые слышат:
If your use case is to simply install FreeIPA to a chosen directory, you can use the DESTDIR option as mentioned above.
I'm not sure what is the purpose of --prefix option for ./configure, but using DESTDIR seems to be a standard automake way to achieve the behavior you want.
И на этот баг благополучно забивают. Приехали … . Откуда Лёня взялся? Он всё разрушит …
Исходная версия
pavlick,
:
Скоро будет, вот только подрастёт systemd поколение, которое читает такие доки.
Встречайте, они уже здесь https://pagure.io/freeipa/issue/6602
Человек приходит с правильным вопросом - почему софтина гадит за пределами prefix?
$ ./configure --prefix=/tmp/freeipa
$ make
$ make install
Making install in dnssec
make[2]: Entering directory '/home/heimes/redhat/freeipa/daemons/dnssec'
make[3]: Entering directory '/home/heimes/redhat/freeipa/daemons/dnssec'
make[3]: Nothing to be done for 'install-exec-am'.
...
/usr/bin/mkdir -p '/usr/lib/systemd/system'
/usr/bin/install -c -m 644 ipa-dnskeysyncd.service ipa-ods-exporter.service ipa-ods-exporter.socket '/usr/lib/systemd/system'
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-dnskeysyncd.service': Permission denied
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-ods-exporter.service': Permission denied
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/ipa-ods-exporter.socket': Permission denied
Makefile:470: recipe for target 'install-systemdsystemunitDATA' failed
make[3]: *** [install-systemdsystemunitDATA] Error 1
...
make: *** [install-recursive] Error 1
А ему в ответ какие-то наркоманы, которые про prefix впервые слышат:
If your use case is to simply install FreeIPA to a chosen directory, you can use the DESTDIR option as mentioned above.
I'm not sure what is the purpose of --prefix option for ./configure, but using DESTDIR seems to be a standard automake way to achieve the behavior you want.
Приехали … . Откуда Лёня взялся? Он всё разрушит …