Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Currently debian lenny has no readline support (or even editline, a similar lib with no license issues) for php-cli, so densite will fail on debian without installing 3rd party package files or compiling your own.
Adding this issue as a placeholder, just in case any other debian users think of trying this module.
Should probably be set 'wont fix'.
Comments
Comment #1
den.iver CreditAttribution: den.iver commentedYes you are right there Adrinux. I will add something about readline support in the README and elsewhere. So I thinks it's good with the won't fix.
Comment #2
den.iver CreditAttribution: den.iver commentedon the other hand it was quite easy to integrate something like fgetc(STDIN) so you won't need readline. I have commited this and it seems to work just fine.
Comment #4
jonhattanFYI: dotdeb.org's php5 packages include readline support.
http://www.dotdeb.org/instructions/
Comment #5
dugh CreditAttribution: dugh commentedSame problem using xampp:
Comment #6
den.iver CreditAttribution: den.iver commentedI have removed the requirement for gnu readline in PHP (thought I already had done it). I Think I have replaced all readline with densite_readline. If not, just let me know .) The changes should be in the dev version released tonight.
Comment #7
kdes CreditAttribution: kdes commentedI downloaded densite today and got the following error when I tried to create a sub site
Fatal error: Call to undefined function readline() in /opt/drush/commands/densite/densite.drush.inc on line 1176
Drush command could not be completed.
Also, while installing it wasn't clear what needed to be done after
drush dl densite
though the files were downloaded but, the configuartion files were named dist-apache2.conf instead of apache2.conf and similarly for the rest, there was a dist- in front. Wasn't sure what needed to be done, I just renamed those files.
Comment #8
den.iver CreditAttribution: den.iver commentedI can see that the scripts uses the gnu realine function when creating cron job for your site in the 6-x-1.5. You should use the dev version, where it is no longere required to have have the gnu readline extension enabled.
The secound point I will try to make clearer in the documentation. If You just run the scripts then the script will say that there is no apache.conf and densite.conf (and also a folder for sql) and suggest to make them (out of the two dist- scripts). If you say Yes then the default configuration will be made and used. If you say no then the script will halt and you can make them youself. It is done this way to give people a chance to just use the scripts right away (for ease of use).