Homebrew error 3


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:

/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
/Users/ahahasasa/.pythonbrew/pythons/Python-2.7.2/bin/python-config
/Users/ahahasasa/.pythonbrew/pythons/Python-2.7.2/bin/python2.7-config



こっちは、Rictyというプログラミング用フォントをインストールしようとする途中で、fontforgeというのを入れた時に起こったことだと思われる。


Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built.

.DS_Store

結局、UbuntuRictyフォントを生成して、Macにコピーしました。

Homebrewのエラー2

また、Homebrewでbrew doctorしたときに出たエラーとその解決法。


Warning: You have Xcode-4.2.1, which is outdated.
Please install Xcode 4.3. <<<<<<< updated>>>>>>>>>>>
_
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gitk
rails
rake
sqlite3
svn
svnadmin
svndumpfilter
svnlook
svnserve
svnsync
svnversion

Consider ammending your PATH so that /usr/local/bin
is ahead of /usr/bin in your PATH.

$vi ~/.bashrc


パスがおかしいから修正しろとのことです。



export PATH=/usr/local/bin:/usr/local/sbin:~/bin:$PATH

source ~/.basrc

Gmailのアドレスを画像で表示させる方法

はてなダイアリーをいろいろと巡回していて、メールアドレスを画像で表示させているところが結構あって、それをやった時のメモ。


http://services.nexodyne.com/email/


上記サイトに行って、メールアドレスを入力して、HTMLを書き加えると。。。。



Python始めた。

Learn Python The Hard Wayを始めた。
Learn Python The Hard Way

コードを書いていくだけのみならず、各ページの最後に自分で調べてやってみようみたいなところがある。
それに、筆者の方が答えてくれているという仕様になっている。


なぜ、Pythonを始めたかというと、Instagramの共同創業者の彼女が、2ヶ月ちょっとでLovestagramというWebサービスを作ることができたというので、ちょっとやってみようかなという気になってやっている。
参照記事




これからPythonの習得の軌跡に関しては、こちらでやっていく予定。

Homebrewでのエラー

Homebrewでbrew doctorコマンドを用いた時に、出たエラーがこちら。

Homebrewでは、brew doctorでシステムの潜在的な問題を調べることができます。



==> /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. This is an issue if you eg. brew installed Python.

Consider editing your .bashrc to put:
/usr/local/bin
ahead of /usr/bin in your PATH.

こういうエラーが出ます。

export PATH=/usr/local/bin:$PATH

で解決!

再度ログインすると、このエラーが出るんですよね。。。。。

アプリケーションの切り替えからFinderを取り除く。

Macでは、CommandキーとTabキーで起動中のアプリケーションの切り替えができますが、Finderがその時にいちいち登場してめんどくさい人のために。


まず、ターミナルを起動して以下を入力してください。

sudo vi /System/Library/CoreServices/Finder.app/Contents/Info.plist

で、管理者パスワードを入力してください。

こちらを
NSUIElement
1


下の写真に記述されている場所に入力してください。

保存して、viモードを終了します。

そして以下のコマンドを入力すると、Finderアプリが出現しなくなります。

killall Finder


MacOSX10.7.2で実行しました。


参考URL:

Remove Finder From The Application Switcher
Dockにアイコンを表示させない

WindowsVistaにインストールしたもの

WindowsVistaが立ち上がらなくなったので、OSをCドライブのみクリーンインストールしてインストール。
メインのパソコンではなかったので、データは問題なし。


ブラウザ

  • ・SRWareIron


ウィルス対策ソフト

  • ・KingsoftAntiVirus


IME


その他

  • ・MicrosoftOfficeStarter2010


一番の問題は、Vistaが今年の4月10日でサポートが切れること。
Win8を待っているし、Vista使ってた人のための移行の優待なんか期待しているけど、ないだろうね。
マイクロソフト黒歴史だし。