LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   php-7 on aarch64 anyone ? (https://www.linuxquestions.org/questions/slackware-arm-108/php-7-on-aarch64-anyone-4175730113/)

Pigi_102 10-21-2023 07:31 AM

php-7 on aarch64 anyone ?
 
Hello all,
I need a php-7 on my fresh installed slackware aarch64 on rpi4.
Trying to compile, from 15 sources I get:
Code:

checking for DB4 major version... configure: error: Header contains different version
which is quite strange, as I have db4 installed:
Code:

ls -l /var/adm/packages/db4*
-rw-r--r-- 1 root root 1179 Sep 27 11:36 /var/adm/packages/db48-4.8.30-aarch64-7

So i was wondering if someone has an aarch64 version of this package.

It's heavly neded for roundcube, if someone asking

Thanks in advance


Pigi

Pigi_102 10-21-2023 08:29 AM

I think I've found a way.
The problem is that in the slackbuild I was using, it was missing the aarch64 ARCH variable, with LIBSUFFIX correct.
Adding this architecture I've at least passed the configure phase.
Now it's compiling. Finger crossed :)

glorsplitz 10-21-2023 08:04 PM

yes there's a thread somewheres in this forum that addressed how to manipulate slackbuilds to cooperate with arm, make sure to document what you did, you'll probably need to do it again

Pigi_102 10-22-2023 02:31 AM

I ended upby installing php8 and upgrading roundcube to latest version.
php-7 cannot be compiled with openssl 3.0 ( or at least not so easly ) so I decided to give up.

Thanks all.


Pigi


All times are GMT -5. The time now is 04:44 PM.