After installed vmware server 1.0.6 on ubuntu 8.04 64bit, I’ve encountered two problems:
1.
Unable to get the last modification timestamp of the destination file /etc/vmware/ssl/rui.key
solution: apt-get install ia32-libs
2.
Failed to launch vmware:
fwu@vm-master:~$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
solution:
fwu@vm-master:~$ sudo
mv /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1.bak
References:
http://ubuntuforums.org/showthread.php?t=312981
http://radio.javaranch.com/davo/2008/06/18/1213791596327.html
Monday, September 8, 2008
Friday, August 8, 2008
scim doesn’t launch in firefox under ubuntu
Update the following content into these 3 files then you will be able to switch to scim input in firefox.
/etc/X11/xinit/xinput.d/scim
/etc/X11/xinit/xinput.d/none
/etc/X11/xinit/xinput.d/default
#
# Use “X input Method” for all applications
#
# Per Ming’s Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT application.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select “Input Methods” and change from “X input Method” to
# “SCIM Input Method”.
#
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS=”-d”
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
GTK_IM_MODULE=”scim-bridge”
QT_IM_MODULE=”scim-bridge”
DEPENDS=”scim,scim-anthyscim-cannascim-chewingscim-pinyinscim-hanglescim-primescim-skkscim-tables-additionalscim-m17nscim-uimscim-tables-jascim-tables-koscim-tables-zh”
Reference: http://ubuntuforums.org/archive/index.php/t-528382.html
/etc/X11/xinit/xinput.d/scim
/etc/X11/xinit/xinput.d/none
/etc/X11/xinit/xinput.d/default
#
# Use “X input Method” for all applications
#
# Per Ming’s Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT application.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select “Input Methods” and change from “X input Method” to
# “SCIM Input Method”.
#
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS=”-d”
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
GTK_IM_MODULE=”scim-bridge”
QT_IM_MODULE=”scim-bridge”
DEPENDS=”scim,scim-anthyscim-cannascim-chewingscim-pinyinscim-hanglescim-primescim-skkscim-tables-additionalscim-m17nscim-uimscim-tables-jascim-tables-koscim-tables-zh”
Reference: http://ubuntuforums.org/archive/index.php/t-528382.html
Thursday, July 31, 2008
gnome NetworkManager disappeared under AspireOne Linpus
After an unclean shutdown of my new AspireOne, the gnome NetworkManager under linpus doesn’t show up, it was very fustrating that both wireless and wired network doesn’t work anymore. It turns out to be the connection profiles have been corrupted, to fix this just simply delete the connection profiles under the home directory:
rm -rf $HOME/.gconf/system/networking/connections
rm -rf $HOME/.gconf/system/networking/connections
Thursday, July 17, 2008
JNI issues on linux
Problem #1: when compiling JNI component on a linux machine, it was missing tons of type definitions from jni.h. It appears libgcj-devel-version needs to be installed as the jni.h in it has the native datatype definitions.
Problem #2: if you see an error message such as the following when executing JNI components:
wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
Chances are that your jni shared library .so was compiled to be 64bit but your JDK/JVM is 32-bit! just use 64-bit java to run it instead
Problem #2: if you see an error message such as the following when executing JNI components:
wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
Chances are that your jni shared library .so was compiled to be 64bit but your JDK/JVM is 32-bit! just use 64-bit java to run it instead
Thursday, June 12, 2008
PHP failed when calling imagecreate
1. download libjpeg source code from here
2. manually change your Makefile before compiling PHP, make sure this is added:
-I/path/to/jpegsrc
GDLIB_CFLAGS = -I/usr/opt/distfiles/src/php-5.2.5/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -I/opt/distfiles/src/jpeg-6b
3. make;make install or cp libphp5.so to replace your current one in apache
Reference: http://ca.php.net/gd
2. manually change your Makefile before compiling PHP, make sure this is added:
-I/path/to/jpegsrc
GDLIB_CFLAGS = -I/usr/opt/distfiles/src/php-5.2.5/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -I/opt/distfiles/src/jpeg-6b
3. make;make install or cp libphp5.so to replace your current one in apache
Reference: http://ca.php.net/gd
Friday, June 6, 2008
vmware server unable to see USB devices
vmware server under ubuntu is unable to see some USB devices
two ways to fix this:
1. execute this command:
mount -t usbfs none /proc/bus/usb
2. add the following to /etc/fstab
usbfs /proc/bus/usb usbfs auto 0 0
Reference:
http://www.blog.arun-prabha.com/2007/04/11/running-windows-under-ubuntu-edgy-using-vmware/
two ways to fix this:
1. execute this command:
mount -t usbfs none /proc/bus/usb
2. add the following to /etc/fstab
usbfs /proc/bus/usb usbfs auto 0 0
Reference:
http://www.blog.arun-prabha.com/2007/04/11/running-windows-under-ubuntu-edgy-using-vmware/
Wednesday, May 28, 2008
extract project lead email list in JIRA
select p.pname, ub.username, ps.propertyvalue from userbase ub,propertyentry pe, propertystring ps, project pwhere ub.id=pe.entity_id and pe.property_key=’email’ and ps.id=pe.id and p.lead=ub.username order by p.pname
Reference:http://confluence.atlassian.com/display/JIRA/Database+Schema
Reference:http://confluence.atlassian.com/display/JIRA/Database+Schema
Subscribe to:
Posts (Atom)