Tiny Core Base > Raspberry Pi

LAMP environment

<< < (15/30) > >>

MrToga:
Hi,
I'm compiling the php version of raspberry PI (here : http://www.tinycorelinux.net/8.x/armv7/tcz/src/php7/ ) and also I repost the same file because after compiling php7 I'll still have the same error than the last one sorry if it's disturb you .
But I found something in the build file:

--- Code: ---/home/tc/php-7.0.8/ext/openssl/openssl.c:1923:15: error: invalid use of incomplete typedef 'X509_EXTENSION' {aka 'struct X509_extension_st'}
 1923 |  p = extension->value->data;
--- End code ---
So with this I search in /usr/local/include/openssl/ossl_typ.h to see if the funxtion x509 is here.

Juanito:
php-7.4.14 builds on an RPi3 against openssl-1.1.1 and apache-2.4.46..

Rich:
Hi MrToga
Try changing this:

--- Code: -----with-openssl \
--- End code ---
To this:

--- Code: -----with-openssl-dir=/usr/local \
--with-openssl=shared,/usr/local \
--- End code ---
in your  php7.config  file.

Also make sure  openssl-dev  is loaded.

MrToga:
Hello guys,

After I wrote the commands Rich said I still have the same error, and I also tried a new version of php (php7.4.29.tar.xbz link:https: //www.php.net/downloads ) but in this new version he doesn't fin oniguruma during the comilation.
Here is the build.txt from the php7.0

Juanito:
I think you will need to build libonig and use php-7.4.14 - this is what I did on piCore-13.1 and it worked.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version