How to install raphf on PHP 5.5.31 on MAC OS X el capitan? - pecl

I am trying to install raphf extension by following command.
sudo pecl install raphf-1.1.2
But its showing error as follows:
Installing '/usr/include/php/ext/raphf/php_raphf.h'
ERROR: failed to mkdir /usr/include/php/ext/raphf
Has anyone had a similar experience? Please suggest me the steps I need to follow to install raphf on MAC OS X el capitan with PHP 5.5.31.
Thanks in advance.

Related

Install Matplotlib on Mac for python3

I have both python2 and python3 on my mac but when I go to install matplotlib it installs on the python2 anaconda version. How do I install it on the python3 version for my mac. I have seen something in windows where you go to where the installation is before you run the terminal code, but I am new to all this so I'm not sure. Appreciate any help. Thx.

How to install Glade in Mac OSX El capitan

I am trying to install Glade on mac OSX el capitan. I downloaded sources on https://glade.gnome.org/sources.html
I followed instructions with the text "Install" in the sources. Then when I am trying to configure "build", I received following messages:
Configuration:
Source code location: .
Compiler: gcc
GTK+ UNIX Print Widgets: yes
PYTHON Widgets support: no
Introspection Data: yes
Build Reference Manual: no
Build User Manual:
I am trying to find out on google how to download the program PYTHON Widgets support but without success.
So I am wondering if you know anything which can help me?
Best
Mia
I managed to figure out the problem on my own.
So it is very simple, use macports to install glade.
Step 1 : install X11 on your mac or update it
Step 2 : install Xcode
Step 3: install macports
- macOS Sierra : https://github.com/macports/macports-base/releases/download/v2.3.5/MacPorts-2.3.5-10.12-Sierra.pkg
OS X El Captain : https://github.com/macports/macports-base/releases/download/v2.3.5/MacPorts-2.3.5-10.11-ElCapitan.pkg
for other versions of os x, you can use this link: https://guide.macports.org/#installing.macports.source
Step 4:
In terminal do:
sudo port install glade#3.20.0
or just
sudo port install glade
Easiest solution could be to install it via homebrew (https://brew.sh/):
$ brew install glade

Installing phalcon dev tools on El Capitan

I have phalcon 2.0 and I used to use the phalcon dev tools with it. In my mac I had Yosemite and this weekend I updated to El Capitan to be able to work with some swift projects. The problem is that after the SO update my phalcon dev tools stopped working and I can't run this command anymore to install phalcon dev tools:
ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon
I get this error message in terminal: ln: /usr/bin/phalcon: Operation not permitted
It has to do with that in El Capitan now you have some read only folders, even for the admin.
Have anyone figured out a way to install the phalcon dev tools in El Capitan already?
Thanks
This is the command that made the phalcon tools work again :
ln -s ~/phalcon-devtools/phalcon.php /usr/local/bin/phalcon

Install Apache Mac El Capitan

I have been trying to set up apache on my mac. I am currently running OSX El Capitan version 10.11.5. I am quite confused because I have read mac comes shipped with Apache.
When I run
sudo apachetl start
I get the following
-bash: apachetl: command not found

Installing phalcon fatal error on OS X

I do as stated in the documentation
git clone --depth=1 git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install
But I get error
/private/tmp/cphalcon/build/64bits/phalcon.c:108409:10: fatal error:
'libintl.h' file not found
include <libintl.h>
You seem to be trying to use the Linux/Solaris build instructions, which may not work on a BSD-based OS such as OS X.
According to this page you should use Homebrew or MacPorts to build/install phalcon on OS X:
sudo brew install php55-phalcon