OS X 10.9 Mavericks Heaven for Users (Maintenance) Hell for Developers

Things changed and compiled program broke… especially for development environment expecting to find the same old dependencies

I was modeling C++ simulation using OMNeT++ 4.3 and all in sudden after upgraded to Mavericks the IDE crash due to out of memory in Java Heap? Also some icon didn’t show up as usual in simulation GUI. Worst, the compilation doesn’t work anymore when I suspect it’s about changes in shared library.  Go to terminal and found that MacPort won’t install either… Dooms day isn’t it? Well, I’ve been expecting this the time I decided to upgrade 🙂

Here go the result from local and online research to see what’s going on.

1. All compilers (gcc, g++, clang) now based on Apple Clang 5.0 so default include header changed from libstdc++ to libc++ following LLVM decision

2. Tcl default location changed, … Thus making MacPort dead

3. Subtle changes internally for X11 that making my OMNeT simulation icon to disappeared.

4. May be a ton other changes, I don’t know, until another problem arise,  seems Eclipse and Titanium IDE and Xcode are working just fine…

1. Re-install latest Xcode, Xcode command line tools, Java for developer package

2. Recompile your program, normally if already ported to Clang headers, or with -stdlib=libstdc++

3. Re-install MacPort from source, (their code already tested with Clang compiler)

So far so good, I fixed all the problems mentioned above. Details to be followed

UPDATED: 15 Dec 2013

From a question in this post, I share my configure.user modification under a gist here


1. https://github.com/bitcoin/bitcoin/issues/2806
2. http://libcxx.llvm.org
3. http://gcc.gnu.org/onlinedocs/libstdc++/faq.html
4. https://groups.google.com/forum/#!msg/mongodb-user/xbZzM-QMdfI/a1AF9Fv5bNQJ
5. https://bugs.launchpad.net/libmemcached/+bug/1216521
6. https://jira.mongodb.org/browse/SERVER-10644
7. https://groups.google.com/forum/#!topic/omnetpp/f5dgy_nZjnY
8. https://github.com/shigeya/omnetpp/tree/clang-mods
9. http://stackoverflow.com/questions/9345271/xcode-4-3-and-c11-include-paths
10. http://www.ghostwheel.com/merlin/Personal/notes/2013/10/05/macports-on-mavericks/
11. http://trac.macports.org/wiki/MavericksProblems
12. http://apple.stackexchange.com/questions/106189/missing-usr-bin-gnutar-on-mavericks-macports

Enhanced by Zemanta

君がいればそれで良い – Kimi ga ireba sorede ii – Chords คอร์ด


” Kimi ga ireba sorede ii “

Artist : Shigeru Matsuzaki
Lyric : Yasushi Akimoto
Melodies : Sho Mitake

G                  Em                D
Nagai kami kakiageta yubisakiga

Bm             Am                   D

Marude komorebi mitaini

Em      Am      D
Kono mune ni tokimeite mabushiine

G              Em                    D
Dakishimeta nukumorino omosadake

Bm             Am                   D
Kono ude ni ima kanjite mitsumeau

Em      Am      D
hitomino naka ni…
* Kimiga ireba sorede ii

sorede ii

Bm       C

Shinji aeta nara 

         Am                    D     D7
hokaniwa hoshikunai 

Kimiga ireba sorede ii

sorede ii

Bm        G        D        Am
Inochi no kagiri bokuwa kimiwo 

    G           D         C  (D7)
towani bokuwa kimiwo 


Yukkurito kuchibiruwo kasanereba
Kaze ni kotoba wo saraware
Ishidatami hosoikage ugokenai
Tasogare ga kuru mae ni
mou ichido
Kagayaita toki atsumete
tojikomeru kioku no nakani…

* Ai ga areba sorede ii
sorede ii
Yume kara sametemo
mamotte agerukara
Ai ga areba sorede ii
sorede ii
Nani ga attemo bokuwa kimiwo
itsumo bokuwa kimiwo

* Kimiga ireba sorede ii
sorede ii
Soba ni iru dakede
subete ga wakarukara
Kimiga ireba sorede ii
sorede ii
Inochi no kagiri bokuwa kimiwo
towani bokuwa kimiwo