simple singularities

unalz in mac

Filed under: apple, programming — fri13th September 17, 2009 @ 12:03 pm

alzip format alz is the most wierd compression format, widely spread in korea. it’s some kind of disaster, why i have to use alz? only one thing good is it can split big files into pieces.

i usually use winrar in windows, but for alz format i have to install another one, like panzip. it’s the most thing i don’t like, so.. i found some good solution

download unalz from this link

http://www.kippler.com/win/unalz/

the usage is very simple

make posix
sudo mv unalz /usr/bin

actually unalz is included in port, but not compiled well in my snow leopard

sudo port install unalz

will show some error, please someone fix this issue ;-)

MacPorts issues in snow leopard, again

Filed under: apple, smalltalk — fri13th September 15, 2009 @ 6:52 am

i encountered the same trouble again.

like this:

dyld: Library not loaded: /opt/local/lib/db46/libdb-4.6.dylib
  Referenced from: /opt/local/bin/svn
  Reason: no suitable image found.  Did find:
        /opt/local/lib/db46/libdb-4.6.dylib: mach-o, but wrong architecture

this time, i manage to fix it. it was because snow leopard doesn’t use 32bit libraries. so you need to uninstall and rebuild all products for 64bit system. if you clean-install snow leopard, you don’t need to this.

1
2
port installed # listing installed software
sudo port -f uninstall installed

and install necessary program again :-)

for me:

1
2
sudo port install coreutils +with_default_names
sudo port install subversion

etc… etc…

you may need to reinstall macports 1.8.0 for snow leopard again, after uninstalling all programs

MacPorts issues in snow leopard

Filed under: apple — fri13th September 10, 2009 @ 8:51 pm

after upgrade to snow leopard, it became impossible to install some program using MacPorts system. the fix is very simple, just download new MacPorts from homepage and also download new xcode from ADC.

this is very simple, though downloading big file like xcode took some time..

and you know, we need to update whole system

1
sudo port -v selfupdate

it looks pretty easy till now, but..

if you try this..

1
sudo port upgrade installed

you got some error like this

dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
  Referenced from: /opt/local/bin/ls
  Reason: no suitable image found.  Did find:
        /opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
Trace/BPT trap

what the heck! it is caused by wrong gettext, so we can solve it by this code…

1
2
sudo port activate gettext @0.17_3
sudo port uninstall gettext @0.17_4

i don’t know well, but automatic update is not done right now.. nayway it doesn’t that matter now.. so i’ll wait next version