You are not logged in.
Pages: 1
So i learn to build pacakge and install them first time and i got this problem, how to fix it ?
[ ==> Entering fakeroot environment...
==> Starting package()...
exit 0; -t /home/shadowlegend/Downloads/php-7.0.13/src/php-7.0.13/ext/json/php_json_scanner_defs.h --no-generation-date -bci -o /home/shadowlegend/Downloads/php-7.0.13/src/php-7.0.13/ext/json/json_scanner.c /home/shadowlegend/Downloads/php-7.0.13/src/php-7.0.13/ext/json/json_scanner.re
mkdir: cannot create directory '/usr/lib/php': Permission denied
mkdir: cannot create directory '/usr/lib/php/extensions': No such file or directory
mkdir: cannot create directory '/usr/lib/php/extensions/no-debug-non-zts-20151012': No such file or directory
make: *** [Makefile:160: install-modules] Error 1
==> ERROR: A failure occurred in package(). ]
Offline
You need to tell it to install to $pkgdir, not directly to the filesystem.
Offline
I don't know how to do it, please tell me
Offline
Prefix destinations with the pkgdir variable.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1