Skip to main content

Posts

Installing wine on Ubuntu 9.10 from source

I just upgraded my ubuntu 9.04 to ubuntu 9.10. Before recompiling wine, we needed to install all the dependencies. I grabbed the newest dependencies installation script from http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh However, when I ran it, it stopped with an error: Reading package lists... Done Building dependency tree Reading state information... Done Package libcupsys2-dev is a virtual package provided by: libcups2-dev 1.4.1-5ubuntu2.1 You should explicitly select one to install. E: Package libcupsys2-dev has no installation candidate From the error message, the solution is clear, edit the script and replace libcupsys2-dev with libcups2-dev ... and we can enjoy the wine again now

Ubuntu 9.10 hamachi problem

I just installed Ubuntu 9.10 on a fresh new computer for a client. For this particular computer I install hamachi. Unfortunately, when run it only displayed 'Killed' in console and then a crash report notification appeared on the notification panel. After some googling, it turned that this new ubuntu doesn't like UPX packed application and unfortunately hamachi for linux (version hamachi-lnx-0.9.9.9-20) is one of it. The solution is: Install upx uncompressor: $sudo apt-get install upx-ucl Unpack hamachi (assuming hamachi is installed in /usr/bin): $ sudo upx -d hamachi After that, hamachi ran fine. This solution is also applied for other UPX packed applications. Hopefully, Ubuntu fixes this upx packed application problem which will be the best solution.

Cara mendownload video youtube yang tidak dapat didownload....

Video-video di youtube.com tidak dapat didownload secara langsung, tetapi ada beberapa situs-situs dan program-program utility termasuk addon Mozila firefox dan Widget dari Opera yang memungkinkan kita mendownload video dari youtube. Namun beberapa video tidak dapat didownload dengan program-program khusus di atas. Kelihatannya youtube melakukan proteksi sehingga beberapa video hanya dapat dimainkan tetapi tidak dapat didownload. Sebagai contoh: http://www.youtube.com/watch?v=_fgURJZebqc Lalu bagaimana cara kita mendownload video-video yang tidak dapat didownload tersebut? Apapun proteksi yang dilakukan youtube, sebenarnya komputer kita telah mendownload file video tersebut. Kalau tidak, bagaimana browser kita bisa memainkan video tsb? Jadi kuncinya adalah bagaimana menemukan file yang telah didownload oleh browser kita tsb. Ikuti langkah-langkah ini. File-file video dari youtube adalah dalam format file .flv, maka pertama-tama kita harus mempunyai player dari file flv. Silahkan search...

Problem installing MySQL 5.1.37 on Windows

Last night, I decided to upgrade my MySQL from version 4.1 to version 5 on my Windows XP box. I went to mysql's download area and downloaded the latest windows MSI installer version 5.1.37. After finished downloading the huge 91MB file, I backed up my MySQL database with mysqldump, uninstalled the old version 4.1 and began installed the new version, unfortunately the installation always failed with this message: MySQL Server 5.1 Setup Wizard ended prematurely The wizard was interrupted before MySQL Server 5.1. could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again. Again, the old uncle google came to help. This is MySQL's bug, didn't they test it before releasing the new version? Google pointed me to a solution : you need to download and install orca, a tool for editing MSI files, which can be downloaded from here . Open the MySQL msi installation file, find and delete the action row SetDateTime an...

Gnome Network Manager dispatcher.d scripts doesn't run

I just set up a new linux box of Ubuntu 9.04. This computer will connect to netware servers, so I installed ipx. However, with this particular version of Ubuntu, the ipx won't start at boot time eventhough it has starting script in the /etc/init.d which is correctly linked to startup directories (/etc/rc2.d, /etc/rc3.d, etc). I guessed the reason is Gnome Network Manager, somehow it prevented ipx to be started. I then wrote a script in /etc/NetworkManager/dispatcher.d, I gave it a name: 02ipx.sh, so it will executed after the built in /etc/NetworkManager/01ifupdown, the content is very simple #!/bin/bash if [ "$1" == "eth0" ] && [ $2 == "up" ] then /etc/init.d/ipx restart fi I assign root as the owner of script and set the permission to 775. Unfortunately, this script was never called!! After spent 5 hours pulling my hairs, uncle Google came to help with this page It turns that Network Manager is very picky with the script permission and owner...

Ubuntu shutdown problem, acpid: exiting...

Some times ago, I uninstalled gnome network-manager on my Ubuntu 9.04 dan replaced it with WICD because it won't bring up ipx protocol on boot time. Unfortunately, WICD also has its own problem, it can't bring up your wired and wireless interface simultaneously. Tonight, I decided to replace WICD with gnome network-manager and I planned to fix the ipx problem through its dispatcher scripts feature. Surprisingly, right after the network manager installed there is no problem with the ipx protocol, apparently the package network-manager in ubuntu repository has been updated recently. However, when I shutdown or restarted my computer, it always hang with a blank screen displaying the message: acpid:exiting , the only way to completely shut down my laptop is only by pressing the power button for about 3 seconds. After some googling, it turns that the problem was the network interfaces should be brought down before taking down the computer. Here is the solution: Edit as root the file...

Yahoo messenger problem on Linux

Recently, I can't connect to yahoo messenger through Pidgin on my Ubuntu 9.04 box. After some googling I found this page: http://news.softpedia.com/news/How-to-Fix-Yahoo-problem-in-Pidgin-114754.shtml Unfortunately, after following the steps I still can't connect to yahoo with error message: unknown "error 1013. Logging into the Yahoo! website may fix this". Logging to yahoo website as suggested doesn't cure the problem :( After some more googling, I found this page: http://developer.pidgin.im/ticket/9467. Removing the @yahoo.com part of your pidgen account solves the problem.