Wondering Soul Posted April 19, 2012 Share Posted April 19, 2012 Hi, This is really annoying me and I can't really find anything about it on the usual places. I am trying to install a separate version of PHP on a development server so that I can then proceed to install PHP-GTK 2 for a clients development project. I don't want the PHP-GTK package installed on the production version of PHP I am using so decided against that. I've downloaded the PHP source from their CVS, running ./buildconf goes fine but when I run ./configure, it goes through the usual for a few seconds and then spits this out every time:configure: error: Found invalid flex version: 2.5.33. Supported flex versions are: 2.5.4 I have Googled this various times and spoke to some people about it and although I don't seem to be the only one who has had this problem, I can't find a fix anywhere. I can't install Flex 2.5.4 because the latest package available on Yum for the servers OS is 2.5.33, I can't perform a manual upgrade on this system because the client doesn't want any existing software to be modified. Any ideas on what I can do here? Anything appreciated! Link to comment Share on other sites More sharing options...
Luis Manson Posted April 19, 2012 Share Posted April 19, 2012 why do you use CVS? the stable release is not what you need? maybe its requirements will be lighter maybe you could install flex on another place, but then it might not work on a system where there is only the previous one Link to comment Share on other sites More sharing options...
Wondering Soul Posted April 19, 2012 Author Share Posted April 19, 2012 PHP-GTK only works with 5.1.* and 5.2.* to my knowledge. Therefore I have to use an older than stable version. The stable version on the server is 5.4.0, which PHP-GTK does not support. Link to comment Share on other sites More sharing options...
Wondering Soul Posted April 19, 2012 Author Share Posted April 19, 2012 Got past this error now, but I'm being presented with something else. Apparently the system is now missing the 'libffi' package. Yum finds nothing under this name and various attempts at compiling and installing libffi from source have failed with an 'Unknown Error'. This package is a dependancy of Glib which is yet another package I had to try and install in order to compile PHP-GTK. Anyone have any experience installing libffi? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.