ansible-uwsgi icon indicating copy to clipboard operation
ansible-uwsgi copied to clipboard

Distro support

Open gdamjan opened this issue 10 years ago • 3 comments

Test the role on EL, Ubuntu and Debian versions and update the meta info.

gdamjan avatar Dec 25 '13 01:12 gdamjan

As mentioned in the ansible-galaxy, good recipe, but unfortunately fails for me on Ubuntu server 12.04 due to libphp5-embed:

TASK: [../uwsgi | Making sure uwsgi dependencies are installed from apt...] 
*** failed: [IP] => (item=build-essential,libonig-dev,libqdbm-dev,libbz2-dev,libxml2-dev,
libkrb5-dev,libpcre3-dev,libdb5.1-dev,python2.7,python2.7-dev,ruby1.9.1-dev,
libphp5-embed,php5-dev,libcap-dev,liblua5.1-0-dev) 

=> {"failed": true, "item": "build-essential,libonig-dev,libqdbm-dev,libbz2-dev,libxml2-dev,
libkrb5-dev,libpcre3-dev,libdb5.1-dev,python2.7,python2.7-dev,ruby1.9.1-dev,
libphp5-embed,php5-dev,libcap-dev,liblua5.1-0-dev"} 

msg: No package matching 'libphp5-embed' is available

brainstorm avatar Mar 26 '14 14:03 brainstorm

If you don't need php support then remove php from files/uwsgibuild.ini. If you do need it, then I have no idea, find a ppa with libphp5-embed?

gdamjan avatar Mar 26 '14 14:03 gdamjan

Yes, that's what I did and also what I checked :)

The PPA's for that package are rather old, so I ended up removing php support altogether.

brainstorm avatar Mar 26 '14 14:03 brainstorm