Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
27.02k stars 11.37k forks source link

How remove /Applications/MAMP/Library/bin/curl-config while brew doctor ? #23399

Closed amritdeep closed 10 years ago

amritdeep commented 10 years ago

hey, I try brew doctor and got this problem brew doctor Warning: "config" scripts exist outside your system or Homebrew directories. ./configure scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking.

Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts:

/Applications/MAMP/Library/bin/curl-config
/Applications/MAMP/Library/bin/freetype-config
/Applications/MAMP/Library/bin/libmcrypt-config
/Applications/MAMP/Library/bin/libpng-config
/Applications/MAMP/Library/bin/libpng15-config
/Applications/MAMP/Library/bin/sablot-config
/Applications/MAMP/Library/bin/xml2-config
/Applications/MAMP/Library/bin/xslt-config
/Applications/MAMP/Library/bin/yaz-config

my .bash_profile file is

export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load R$

alias wget="curl -O"

eval "$(rbenv init -)"

Your previous /Users/Amritdeep/.bash_profile file was backed up as /Users/Amr$

MacPorts Installer addition on 2013-10-02_at_10:34:54: adding an appropriate $

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

Finished adapting your PATH environment variable for use with MacPorts.

export PATH=/opt/local/bin:/opt/local/sbin:/Users/Amritdeep/.rbenv/shims:/App$


brew update Updated Homebrew from 3a4c5dd3 to e1bd9b9e. ==> New Formulae mm-common tpp ==> Updated Formulae ace iso-codes nagios-plugins algol68g ispc parrot ccextractor json-glib pgbadger cloog languagetool phoronix-test-suite curl libdiscid poco dovecot liblastfm pow dylibbundler libmagic rakudo-star exiftool libmikmod shared-mime-info fping libzdb soci glib-networking liquibase subversion glibmm log4c vim glm mikmod wimlib gmime mjpegtools xmlsh gtk+ monetdb yaz gtkmm3 mpg123 zabbix heroku-toolbelt nagios


brew --config HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/mxcl/homebrew HEAD: e1bd9b9e980c433878e60833f09964b8ca996657 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: quad-core 64-bit ivybridge OS X: 10.8.5-x86_64 Xcode: 5.0 => /Applications/Xcode5-DP3.app/Contents/Developer CLT: 5.0.0.0.1.1377666378 LLVM-GCC: N/A Clang: 5.0 build 500 X11: N/A System Ruby: 1.8.7-358 Perl: /usr/bin/perl Python: /usr/bin/python Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby


How to solve the problem while brew doctor ???

adamv commented 10 years ago

To clear this warning you'll have to remove /Applications/MAMP/Library/bin from your path.

Though note that this is a warning; some software may compile even with these warnings.

This warning was added before Max implemented the superenv system, so much more software compiles even with these conflicts now than previously.