Open vnagara opened 10 years ago
Hi I just wanna install libra on my windows system working with xampp. I qot this error during composer installation: "Installation request for phpunit/php-invoker 1.1.3 -> satisfaible by phpunit/php-incoker[1.1.3]. -phpunit/php-invoker 1.1.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system."
I searched around the web for finding pcntl extension.dll for windows, but didn't find anything. Is there any way to install libra without this extension?
Hi. Yeah it's possible. Just remove phpunit/phpunit and phpunit/php-invoker lines from composer.json file. Also you can install not development version that doesn't include this packages.
and try also command
composer update
Thanks it works for me, but I have new error still here:
Problem 1
thank you for your answer.
@bahman2216 Just have verified this:
php composer.phar create-project libra/libra-cms libra-cms dev-master
cd libra-cms
composer update --no-dev
Also working.
@vnagara
Since hours I've problems to install libra-cms because of dependency issues, also with your code it's not working. I though if I use the current composer.lock file served with this package (composer update --no-dev
), composer will install the right packages. But unfortunately it fails with:
moongazer@dev182:/var/www/libracms$ sudo composer update --no-dev
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install libra/libra-app 0.7.x-dev
- Conclusion: don't install libra/libra-app 0.7
- Conclusion: don't install zf-commons/zfc-user-doctrine-orm 1.0.1
- Conclusion: don't install zf-commons/zfc-user 0.2.0|don't install zf-commons/zfc-user-doctrine-orm 1.0.0
- Conclusion: don't install zf-commons/zfc-user 0.1.3|don't install zf-commons/zfc-user-doctrine-orm 1.0.0|install zf-commons/zfc-user 1.4.2
- Conclusion: don't install zf-commons/zfc-user 0.1.2|don't install zf-commons/zfc-user-doctrine-orm 1.0.0|install zf-commons/zfc-user 1.4.2
- Conclusion: don't install zf-commons/zfc-user 1.4.2
- Conclusion: don't install zf-commons/zfc-user 0.1.1
- Conclusion: don't install zf-commons/zfc-user 1.4.1
- libra/libra-app 0.7.0 requires libra/libra-user 0.* -> satisfiable by libra/libra-user[0.1.0, 0.3.x-dev].
- Conclusion: don't install libra/libra-user 0.3.x-dev
- Installation request for libra/libra-app ~0.7 -> satisfiable by libra/libra-app[0.7, 0.7.x-dev].
- Installation request for zf-commons/zfc-user-doctrine-orm 1.* -> satisfiable by zf-commons/zfc-user-doctrine-orm[1.0.0, 1.0.1].
- zf-commons/zfc-user-doctrine-orm 1.0.0 requires zf-commons/zfc-user 1.* -> satisfiable by zf-commons/zfc-user[1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.3, 1.4.0, 1.4.1, 1.4.2].
- Can only install one of: zf-commons/zfc-user[1.0.0, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.1.0, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.2.0, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.2.1, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.2.2, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.2.3, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.3.3, 0.0.1].
- Can only install one of: zf-commons/zfc-user[1.4.0, 0.0.1].
- libra/libra-user 0.1.0 requires zf-commons/zfc-user 0.* -> satisfiable by zf-commons/zfc-user[0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0].
- Conclusion: don't install zf-commons/zfc-user 0.1.0
Any further ideas are highly appreciated.
Hi. Will take a look on next free day. For now I am curious if you installed with proper (old) version of composer? Thanks for investigating.
Oh I think I can't be helpful with information like "which version of composer or repo branch", because I tried any kind of combinations on two different systems (win8/apache, ubuntu/nginx, dev-dev, master, with composer install, with git clone, composer update, composer install, --dev, --no-dev, ..., I even tried to download and copy the (broken) dependencies into one project to get it work). Anyway, I just hope it will just be an easy fix for you :-)
Oh, sadly say fix dependences usually not so easy. Common other providers don't track even own deps so it becomes broken :((. And for this reason I added archive to download it. You can find it on http://www.ejoom.com/libra-cms/en/ or by direct link .
It adds features like array dereferencing, yield operator, short array syntax, ClassName::class construction, empty keyword using on function call etc.