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
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
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.
So i upgraded to El Capitan, this version of OSX no longer ships with jdk 1.6.0 in the in the /System/Library/Java/JavaVirtualMachines folder, and installs new java versions in /Library/java/JavaVirtualMachines
I get this error when I try to mfp status
/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151130-1648/server/wlp/bin/server: line 777: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java: No such file or directory
What is set as your JAVA_HOME environment variable? Run echo $JAVA_HOME in Terminal to verify. Make sure it is set to the Java version that you have installed.
You can probably set it either in ~/.bash_profile or by using a tool such as EnvPne.
I have been trying to install the latest version of mod_wsgi (3.3) since hours on my Mac. I'm on Snow Leopard and I have the versions of Apache (Apache/2.2.15) and Python 2.6.1 (r261:67515) that come with the system.
I downloaded mod_wsgi-3.3.tar.gz from http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-3.3.tar.gz
Extracted the file and executed the following through terminal:
./configure
make
sudo make install
I added LoadModule wsgi_module modules/mod_wsgi.so to my httpd.conf.
Restarted Apache by disabling and enabling Web Sharing from the control panel.
localhost stops working until I remove the line I added httpd.conf :(
Please help. Thanks in advance.
I use the homebrew installed version of mod_wsgi. That gives me a universal version of mod_wsgi that works with the vanilla apache.
➔ file `brew list mod_wsgi`
/usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so: Mach-O universal binary with 2 architectures
/usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
/usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so (for architecture i386): Mach-O bundle i386
The problem you had was the path to mod_wsgi.so. On OS X the appropriate line is
LoadModule wsgi_module libexec/apache2/mod_wsgi.so
With the latest Mac OS and most recent HomeBrew, the package isn't available on HomeBrew.
However, if you have Python3 and Pip3 installed and configured on your Mac, you can load the package using:
pip3 install mod_wsgi
I had to first run the below command to get mod_wsgi installed
brew tap homebrew/apache
And then run
brew install mod_wsgi
On OS X 10.8 Mountain Lion, brew install mod_wsgi fails. This answer on stackexchange suggests the location of the XCode toolchain has changed. It fixed my problem and hopefully helps other people who end up here on 10.8 trying to install mod_wsgi.
I also encountered this error but I didn't want to use brew.
In my case the cause of the problem was in misconfiguration of python framework used for mod_wsgi that can be checked by
otool -L /usr/libexec/apache2/mod_wsgi.so
In my case it pointed to Python 2.7 framework while I was using Python 3.3 and my
python -> /usr/bin/python
also pointed to python 3.3 version.
In order to fix this, I removed already installed /usr/libexec/apache2/mod_wsgi.so .
Then reconfigured mod_wsgi with command:
./configure --with-python=/usr/bin/python --disable-framework
sudo make
sudo make install
This should work fine.
But in my case after executing make command I've got a warning about non existing Python framework folder. So I checked what was the real path of my Python framework folder and replaced it in the Makefile under LDFLAGS.
Changed from:
-L/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/config
to
-L/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/config-3.3m
Good way to check the Apache modules if it doesn't work, is:
apachectl -M
If some module causes the error, it will print it.
The below solution works for me for MacOS BigSur and Monterey:
Install MacPorts from https://www.macports.org/install.php
sudo port install mod_wsgi --> installs apache2, python3 among other things
apachectl location after install: /opt/local/sbin/apachectl
apache2 modules location: /opt/local/lib/apache2/modules/
httpd config location: /opt/local/etc/apache2/httpd.conf
Add this line to httpd.conf: LoadModule wsgi_module lib/apache2/modules/mod_wsgi.so
I wrote two tutorials about how to install Apache + MySQL + Python in Mac OS and Windows.
Maybe you can take a look.
[Tutorial] install Apache + MySQL + Python on Mac OS
http://fstoke.me/blog/?p=3583
[Tutorial] install Apache + MySQL + Python on Windows
http://fstoke.me/blog/?p=3600
Mac OS X comes with apache 2, to install mod_wsgi just install homebrew and run the following command.
*brew install homebrew/apache/mod_wsgi*
go to apache2/modules/ and search for mod_wsgi.so
after this goto apache2/conf/ and do
*sudo vim http.conf*
and add the following line
LoadModule wsgi_module modules/mod_wsgi.so
I was having trouble getting mod_wsgi to work as well even using different peoples advice and it wasn't working, so I finally used this website: https://pypi.python.org/pypi/mod_wsgi
Downloaded the mod_wsgi 4.5.15 file
Opened the file in a location I liked
Went to folder location in terminal
Did python3 setup.py install (or python if you're using a different version)
I have a MacBook Pro Version 10.12.5 in case this helps anyone.