Having trouble installing the PHP7.1 client on Ubuntu Server 17.10


#1

I followed the instructions given here: And I encountered several problems. First, there was no aerospike folder in vendor/aerospike/aerospike-client-php/src/

Then, when I tried to install it, this happened:

user@server:~/downloads/vendor/aerospike/aerospike-client-php/src$ find . -name "*.sh" -exec chmod +x {} \;
user@server:~/downloads/vendor/aerospike/aerospike-client-php/src$ ./build.sh
This Aerospike client requires PHP7
Downloading Aerospike C Client SDK
info: downloading 'https://artifacts.aerospike.com/aerospike-client-c/4.1.8/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb' to '/home/mickael/downloads/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb'
--2018-01-31 23:15:07--  https://artifacts.aerospike.com/aerospike-client-c/4.1.8/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb
Resolving artifacts.aerospike.com (artifacts.aerospike.com)... 54.192.55.156, 54.192.55.175, 54.192.55.128, ...
Connecting to artifacts.aerospike.com (artifacts.aerospike.com)|54.192.55.156|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.aerospike.com:443/artifacts/aerospike-client-c/4.1.8/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb [following]
--2018-01-31 23:15:07--  https://www.aerospike.com/artifacts/aerospike-client-c/4.1.8/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb
Resolving www.aerospike.com (www.aerospike.com)... 52.52.67.68, 52.52.163.80
Connecting to www.aerospike.com (www.aerospike.com)|52.52.67.68|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1338968 (1.3M) [application/x-debian-package]
Saving to: ‘/home/user/downloads/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb’

/home/user/downloads/vendor/aerospike 100%[=================================================================================>]   1.28M  3.02MB/s    in 0.4s

2018-01-31 23:15:08 (3.02 MB/s) - ‘/home/user/downloads/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb’ saved [1338968/1338968]

info: extracting files from 'aerospike-client-c-devel-4.1.8.ubuntu16.04.x86_64.deb'

CHECK
   [✓] /home/user/downloads/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/usr/lib/libaerospike.a
   [✓] /home/user/downloads/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/usr/include/aerospike/aerospike.h

./build.sh: line 104: phpize: command not found
./build.sh: line 105: ./configure: No such file or directory
ls: cannot access '/usr/local/ssl/lib/libcrypto.a': No such file or directory
ls: cannot access '/usr/local/ssl/lib/libcrypto.so': No such file or directory
ls: cannot access '/usr/lib64/libcrypto.a': No such file or directory
ls: cannot access '/usr/lib64/libcrypto.so': No such file or directory
ls: cannot access '/usr/lib/x86_64-linux-gnu/libcrypto.a': No such file or directory
ls: cannot access '/usr/lib/x86_64-linux-gnu/libcrypto.so': No such file or directory
ls: cannot access '/usr/lib/libcrypto.a': No such file or directory
ls: cannot access '/usr/lib/libcrypto.so': No such file or directory
./build.sh: line 144: make: command not found
The build has failed...exiting
user@server:~/downloads/vendor/aerospike/aerospike-client-php/src$

#2

Ok never mind… It worked after installing php7.1-dev (We really need an option to delete a thread on this forum)


#4

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.