요즘, LibreOffice를 맥북(MacBook Pro)에서 빌드를 계속 하게 됨,

그런데, 디스플레이를 끈 상태에서도 빌드를 계속 해야하는 상황이다. (자기 전에 디스플레이를 꺼야 잠을 잘수 있음.)

디스플레이를 끈다고 해도, 집에 부재한 상태에서 누구든 덮개를 닫는 상황이 있을 수 있음.

디스플레이 덮개를 닫게되면 LibreOffice 빌드중에 중단될 가능성이 높으므로 어쩌지 하다 답을 찾았음.

잠자기 방지 활성 (전원 연결에만 적용됨, 덮개 닫아도 잠자기 방지됨)
sudo pmset -c disablesleep 1

잠자기 방지 비활성 (전원 연결에만 적용됨)
sudo pmset -c disablesleep 0

https://button.like.co/studioego

 

Like DaeHyun Sung's work

Reward Creativity, powered by LikeCoin

button.like.co

 


Mac OSX에서 brew를 설치해서 사용하다 

2011/02/23 - [분류 전체보기] - Mac에서 homebrew를 사용해보기.

하드디스크 정리 겸 homebrew를 삭제하게 되었습니다.

cd `brew --prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew


위와 같이 하면 Homebrew 제거 완료.

2011년 7월 20일(수)

출처: Apple: Mac OS X Lion to hit the App Store tomorrow

오늘부터 Apple사에서 새로운 운영체제인 Mac OSX 10.7 Lion 을 Mac App Store에 출시하였습니다.


당장 App Store에 Mac OSX 10.7을 구입하여 업그레이드 하고 싶지만... 통장에 당장 돈이 없는 문제로 월급날 후에 바로 지를 예정입니다.



Mac에서 Homebrew로 패키지를 관리하다 업데이트를 하니 아래와 같은 에러가 났습니다. -_-;;


$ brew update

From http://github.com/mxcl/homebrew

 * branch            master     -> FETCH_HEAD

error: Your local changes to the following files would be overwritten by merge:

Library/Formula/argp-standalone.rb

Library/Formula/aria2.rb

Library/Formula/aspell.rb

Library/Formula/audiofile.rb

Library/Formula/bdw-gc.rb

Library/Formula/boost.rb

Library/Formula/cdargs.rb

Library/Formula/cdparanoia.rb

Library/Formula/cdrdao.rb

Library/Formula/celt.rb

Library/Formula/clisp.rb

Library/Formula/ctags.rb

Library/Formula/d-bus.rb

Library/Formula/dbus-glib.rb

Library/Formula/dialog.rb

Library/Formula/dirac.rb

Library/Formula/dotless.rb

Library/Formula/elinks.rb

Library/Formula/emacs.rb

Library/Formula/erlang.rb

Library/Formula/flac.rb

Library/Formula/flusspferd.rb

Library/Formula/fontforge.rb

Library/Formula/frink.rb

Library/Formula/gambit-scheme.rb

Library/Formula/gawk.rb

Library/Formula/gd.rb

Library/Formula/glib.rb

Library/Formula/gmp.rb

Library/Formula/gnutls.rb

Library/Formula/google-app-engine.rb

Library/Formula/google-perftools.rb

Library/Formula/gpgme.rb

Library/Formula/graphicsmagick.rb

Library/Formula/gtk+.rb

Library/Formula/guile.rb

Library/Formula/hydra.rb

Library/Formula/id3lib.rb

Library/Formula/igraph.rb

Library/Formula/intltool.rb

Library/Formula/jasper.rb

Library/Formula/jnethack.rb

Library/Formula/john.rb

Library/Formula/libao.rb

Library/Formula/libevent.rb

Library/Formula/libexif.rb

Library/Formula/libsigsegv.rb

Library/Formula/libspatialite.rb

Library/Formula/libvirt.rb

Library/Formula/libvpx.rb

Library/Formula/libxml2.rb

Library/Formula/log4cxx.rb

Library/Formula/lua.rb

Library/Formula/monotone.rb

Library/Formula/mosh.rb

Library/Formula/mpd.rb

Library/Formula/mplayer.rb

Library/Formula/mysql-connector-c.rb

Library/Formula/mysql.rb

Library/Formula/nethack.rb

Library/Formula/nmap.rb

Library/Formula/node.rb

Library/Formula/octave.rb

Library/Formula/pango.rb

Library/Formula/parsley.rb

Library/Formula/pbzip2.rb

Library/Formula/pcre.rb

Library/Formula/pdflib-lite.rb

Library/Formula/phpsh.rb

Library/Formula/portaudio.rb

Library/Formula/povray.rb

Library/Formula/proj.rb

Library/Formula/protobuf.rb

Library/Formula/psgrep.rb

Library/Formula/pv.rb

Library/Formula/rabbitmq.rb

Library/Formula/ranger.rb

Library/Formula/rebar.rb

Library/Formula/redis.rb

Library/Formula/redland.rb

Library/Formula/ruby-enterprise-edition.rb

Library/Formula/ruby.rb

Library/Formula/sbcl.rb

Library/Formula/silk.rb

Library/Formula/spatialite-tools.rb

Library/Formula/sphinx.rb

Library/Formula/spin.rb

Library/Formula/streamripper.rb

Library/Formula/swi-prolog.rb

Library/Formula/syck.rb

Library/Formula/tesseract.rb

Library/Formula/ufraw.rb

Library/Formula/unittest.rb

Library/Formula/valgrind.rb

Library/Formula/visualboyadvance.rb

Library/Formula/vpnc.rb

Library/Formula/w3m.rb

Library/Formula/wine.rb

Library/Formula/x264.rb

Library/Formula/xchat.rb

Library/Formula/yaf.rb

Library/Formula/zeromq.rb

Library/Homebrew/compatibility.rb

Library/Homebrew/exceptions.rb

Library/Homebrew/extend/pathname.rb

Library/Homebrew/formula.rb

Library/Homebrew/test/test_versions.rb

Please, commit your changes or stash them before you can merge.

Updating cb377cb..4eb8e9b

Aborting

Error: Failed while executing git pull http://github.com/mxcl/homebrew.git master

$


해결방법은 아래와 같이 하면 됩니다.

sudo chown -R `whoami` /usr/local
cd /usr/local
git reset --hard master


아래는 문제 해결후 메시지입니다. Homebrew가 업데이트 안되어서 식겁했습니다 ㅠㅠ 



$ git reset --hard  master

HEAD is now at cb377cb Update polipo to 1.0.4.1.

Dae-Hyun-Sung-ui-MacBook-Pro:local studioego$ brew update

From http://github.com/mxcl/homebrew

 * branch            master     -> FETCH_HEAD

Updated Homebrew from cb377cbb to 4eb8e9b4.

==> The following formulae are new:

gdk-pixbuf  tcpstat

==> The following formulae were updated:

argp-standalone   gd*      lua* redis

aria2   glib*      monotone redland

aspell*   gmp*      mosh ruby*

audiofile   gnutls*      mpd ruby-enterprise-edition

bdw-gc   google-app-engine      mplayer* sbcl

boost   google-perftools      mysql silk

cdargs   gpgme      mysql-connector-c* spatialite-tools

cdparanoia*   graphicsmagick*      nethack sphinx

cdrdao   gtk+*      nmap spin

celt   guile      node streamripper

clisp   hydra      octave swi-prolog*

ctags*   id3lib      pango* syck

d-bus*   igraph      parsley tesseract

dbus-glib   intltool*      pbzip2 ufraw

dialog   jasper*      pcre* unittest

dirac*   jnethack      pdflib-lite valgrind*

dotless   john      phpsh visualboyadvance

elinks   libao      portaudio vpnc

emacs   libevent*      povray w3m

erlang   libexif*      proj* wine

flac*   libsigsegv      protobuf x264*

flusspferd   libspatialite      psgrep xchat

fontforge   libvirt      pv yaf

frink   libvpx*      rabbitmq zeromq

gambit-scheme   libxml2*      ranger

gawk*   log4cxx      rebar

No external commands were updated.



  1. Favicon of http://www.tfsupplements.com/store/cart.php?m=product_detail&p=3555 BlogIcon hyper fx 2011.11.23 15:48

    This work Korea Creative Commons Attribution-Noncommercial-Share Alike 2.0 Republic of Korea can be used under license.

  2. Favicon of http://www.customessayhelp.com/write-my-essay.html BlogIcon write my essay 2012.03.14 14:39

    i was looking for a long time

  3. Favicon of http://www.annuityace.com/hybrid-annuities/how-hybrid-annuity-works/ BlogIcon hybrid income annuity 2012.03.24 23:15

    This work Korea Creative Commons Attribution-Noncommercial-Share Alike 2.0 Republic of Korea can be used under license.래와

  4. Favicon of http://www.immediateannuitypro.com/fixed-immediate-annuity/ BlogIcon fixed immediate annuity 2012.03.24 23:16

    This is a very useful!I’m still waiting for some interesting thoughts.따

+ Recent posts