24 April 2006

vmware, apache, mplayer under kubuntu dapper [beta]

I follow this guide by Stoltenow, and it works for me.

apache2+kubuntu=SUCK!. I expect directory public_html in my home directory will be in apache DocumentRoot [like Suse and FreeBSD], but it not as expected. Have to edit the apache2.conf manually.

No mplayer in kubuntu dapper[beta]! Had uncomment /etc/apt/sources.list for universe and multiverse, but still no mplayer after `sudo apt-get update; sudo apt-get upgrade; apt-cache search --names-only mplayer`. Also had add `deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/` in /etc/apt/sources, still no mplayer. I try the hard way, but the video don't want to come out.
VDec: vo config request - 208 x 170 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.

FATAL: Could not initialize video filters (-vf) or video output (-vo).

Can't restore text mode: Invalid argument

Hey! the mplayer Makefile don't want me to uninstall mplayer.

make uninstall
...
...
/bin/sh: -c: line 6: syntax error: unexpected end of file
make: *** [uninstall] Error 2


Conclusion, my VMware Workstation 5.5.1 build-19175 works! (apache or mplayer)+kubuntu dapper[beta]=SUCK!

Kubuntu? What happen to FreeBSD?
FreeBSD is retired from my harddisk. Sayonara...

18 April 2006

Firefox problem in FreeBSD 6.0 after portupgrade

After portupgrade FreeBSD 6.0 then you got this error when run firefox:

(Gecko:7209): GLib-GObject-WARNING **: cannot register existing type `GConfClient'


Panic, panic. What to do? Google ... :)

I had try several methods, read /usr/port/UPDATING, `portupgrade -varR -PP`, etc. FreeBSD only like the hard way `portupgrade -vaR`. It means when you portupgrade the first time, firefox don't like one of it upgraded version dependency. Which package? argh... I don't know :/ . So, have to do the hard way, ask FreeBSD upgrade the ports by compile it from source, wait it finish compiling, cross your finger hopefully the blue screen that ask package option don't appear, bla bla ... 2 days fighting with this, then my firefox is alive back, YEY!

tips: GConf involved with GNOME. Give `portupgrade -vPP libgnome-2.10.1` a try before `portupgrade -vaR` is a GOOD idea.

While compiling port, the FreeBSD give me this error:
ad0: timeout waiting to issue command
ad0: error issueing READ_DMA command
g_vfs_done():ad0s1f[READ(offset=29776416768, length=12288)]error = 5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 71516 (rtorrent)
ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=61351999
ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=62304671
ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=62311103


Please don't tell me that you FreeBSD sucker cause my 80G, WD harddisk failed.

OK, stop ranting about FreeBSD.

Hey! Tab Mix Plus is COOL, recommended.

13 April 2006

Why lah UNO hate me?

I HATE this line:
Error (<class conversion.com.sun.star.lang.IllegalArgumentException at 0xb7bc8d1c>) during conversion:URL seems to be an unsupported one.

Because of this line, I'm keep whining for whole day!

I want OpenOffice convert my document to PDF using UNO. Works perfectly in my development box, but when using different box it don't like me. Hate deployment, hate hate ...

I wish that I'm get paid by the line :D , so I can apply this cheat in my code:
If Request.QueryString("source_url") = "" Then
strRedirect = strRedirect & "&verify=1"
If Request.QueryString("process") = "1" Then
strRedirect = strRedirect & "&process=1"
End If
Response.Redirect(strRedirect)
Else
strRedirect = strRedirect & "&verify=1"
If Request.QueryString("process") = "1" Then
strRedirect = strRedirect & "&process=1"
End If
Response.Redirect(strRedirect)
End If