Topic: Struggling with rebuilding any PHP SCL package
Hi there. I am running Rocky Linux 8 on a Raspberry Pi4. I am trying to rebuild a couple of your PHP SCL src packages for my required aarch64 architecture.
Using php82 as an example:
I have installed the php82-8.2-4.remi.src.rpm and the php-8.2.4-1.remi.src.rpm RPMs and then I run rpmbuild --define "scl php82" -ba php.spec from my SPECS directory.
This appears to work as after some time a number of rpm files beginning with php82 are generated in my RPMS directory.
I then attempt to install these RPMs by running sudo dnf install php82*.rpm from the RPMS directory.
However this fails and complains about php82-runtime being missing.
I am still fairly new to rebuilding RPMs, especially SCLs, and have gotten this far by learning from posts here on the forum :-)
Please help, what am I doing wrong?
Cheers,
Jim