Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your requirements could not be resolved to an installable set of packages. #587

Closed
eydun opened this issue Sep 1, 2012 · 6 comments
Closed

Comments

@eydun
Copy link

eydun commented Sep 1, 2012

I get the following error, when trying to install phpdocumentor manually with the installer. I am on Win7/Apache. Please advice.

Installing dependencies
Error: Unable to install dependencies; Composer returned: Loading composer repos
itories with package information
Installing dependencies from lock file
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpdocumentor/template-abstract == 1.0.2.0 -> sat
isfiable by phpdocumentor/template-abstract 1.0.2.
- phpdocumentor/template-abstract 1.0.2 requires ext-xsl * -> no matching pa
ckage found.
Problem 2
- Installation request for phpdocumentor/template-checkstyle == 1.0.1.0 -> s
atisfiable by phpdocumentor/template-checkstyle 1.0.1.
- phpdocumentor/template-checkstyle 1.0.1 requires ext-xsl * -> no matching
package found.
Problem 3
- Installation request for phpdocumentor/template-new-black == 1.0.3.0 -> sa
tisfiable by phpdocumentor/template-new-black 1.0.3.
- phpdocumentor/template-new-black 1.0.3 requires ext-xsl * -> no matching p
ackage found.
Problem 4
- Installation request for phpdocumentor/template-old-ocean == 1.0.1.0 -> sa
tisfiable by phpdocumentor/template-old-ocean 1.0.1.
- phpdocumentor/template-old-ocean 1.0.1 requires ext-xsl * -> no matching p
ackage found.
Problem 5
- Installation request for phpdocumentor/template-responsive == 1.0.6.0 -> s
atisfiable by phpdocumentor/template-responsive 1.0.6.
- phpdocumentor/template-responsive 1.0.6 requires ext-xsl * -> no matching
package found.
Problem 6
- Installation request for phpdocumentor/template-zend == 1.0.1.0 -> satisfi
able by phpdocumentor/template-zend 1.0.1.
- phpdocumentor/template-zend 1.0.1 requires ext-xsl * -> no matching packag
e found.

Potential causes:

@mvriel
Copy link
Member

mvriel commented Sep 2, 2012

The XSL extension is not installed, see http://www.php.net/manual/en/xsl.installation.php#91333 for details on enabling the XSL extension. Also: please be aware that you might have 2 php.ini files, one for apache and one for the cli, It is the latter where the extension must be enabled.

@eydun
Copy link
Author

eydun commented Sep 2, 2012

Thanks for the reply.

"php_xsl.dll" is already enabled. I have tested it from the CLI in another script.

Any other suggestion?

@boenrobot
Copy link
Contributor

If you have several PHP versions, it's possible that the version composer is using is different from the one you made the test with.

Try to do "php -i" at the same place you'd otherwise do "php composer.phar install", and make sure information about the XSL extension is present there.

@eydun
Copy link
Author

eydun commented Sep 3, 2012

I have already done that.

Which xsl php function calls do phpdocumentor use?

@boenrobot
Copy link
Contributor

The usual suspects - setParameter(), importStylesheet() and transformToURI().

You can see in detail the Xsl.php writer file.

Perhaps composer has changed the way the check for PHP extensions, in which case PhpDocumentor's composer.json file would have to be modified, but I don't know how.

@eydun
Copy link
Author

eydun commented Sep 4, 2012

I got it working on another machine. Thanks for your help.

@eydun eydun closed this as completed Sep 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants