Fehlermeldung bei brew install phplint
Hallo,
beim Versuch unter 14.04 phplint per brew zu installieren kommt folgende Fehlermeldung:
Aktuell gibt es eine 2er Version von phplint. Wo kann ich definieren, dass das 2er Release geladen wird?
beim Versuch unter 14.04 phplint per brew zu installieren kommt folgende Fehlermeldung:
ip@ip-Parallels-Virtual-Platform:~/phplint$ brew install phplint
==> Installing phplint from homebrew/homebrew-php
==> Downloading http://www.icosaedro.it/phplint/phplint-pure-c-1.1_20130803.tar.gz
Already downloaded: /home/ip/.cache/Homebrew/phplint-1.1-20130803.tar.gz
==> Patching
patching file include/missing.c
patching file phpl
==> /usr/bin/gcc-4.9 -fnested-functions src/phplint.c -o src/phplint
2014-11-22 08:23:38 +0100
/usr/bin/gcc-4.9 -fnested-functions src/phplint.c -o src/phplint
gcc-4.9: error: unrecognized command line option ‘-fnested-functions’
Aktuell gibt es eine 2er Version von phplint. Wo kann ich definieren, dass das 2er Release geladen wird?
Please also mark the comments that contributed to the solution of the article
Content-Key: 255632
Url: https://administrator.de/contentid/255632
Printed on: April 19, 2024 at 14:04 o'clock
5 Comments
Latest comment
Hallo,
Nimm doch einfach gleich das Archiv von der Website: http://www.icosaedro.it/phplint/download.html
Sven
Nimm doch einfach gleich das Archiv von der Website: http://www.icosaedro.it/phplint/download.html
Sven
Um das Problem zu lösen, `apple-gcc42` mit Homebrew installieren:
brew install apple-gcc42
Dann probiere, nochmals phplint mit Homebrew zu installieren. Wenn das noch immer nicht funktioniert, kannst du der Compiler so setzen:
brew install phplint -cc=apple-gcc42
Quellen:
http://georgemastro.com/gcc-4-8-error-unrecognized-command-line-option- ...
https://github.com/Homebrew/homebrew-php/issues/1178#issuecomment-479306 ...
brew install apple-gcc42
Dann probiere, nochmals phplint mit Homebrew zu installieren. Wenn das noch immer nicht funktioniert, kannst du der Compiler so setzen:
brew install phplint -cc=apple-gcc42
Quellen:
http://georgemastro.com/gcc-4-8-error-unrecognized-command-line-option- ...
https://github.com/Homebrew/homebrew-php/issues/1178#issuecomment-479306 ...