Error:
lamnk@lamnk:~% sudo php-fpm start
Starting php_fpm Error in argument 1, char 1: no argument for option -
Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...]
-a Run interactively
-C Do not chdir to the script’s directory
-c | Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with [...]
Yesterday I wanted to clean around my home directory:
rm dmesg.txt feh_02 * boot.txt test.txt test.txt~ xxxtest.txt
And this is the result:
zsh: sure you want to delete all the files in /home/lamnk [yn]? n
zsh: sure you want to delete all the files in /home/lamnk [yn]? y
rm: cannot remove `feh_02′: No such file or directory
rm: cannot remove `Customization’: [...]
Cisco module again doesn’t let us compile against the new kernel in Ubuntu 9.04 and 9.10 beta:
/home/lamnk/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/lamnk/vpnclient/interceptor.c:132: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/lamnk/vpnclient/interceptor.c:133: error: ‘struct net_device’ has no member named ‘get_stats’
/home/lamnk/vpnclient/interceptor.c:134: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/lamnk/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/lamnk/vpnclient/interceptor.c:271: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/lamnk/vpnclient/interceptor.c:272: [...]
I always fall for this error when compile rtorrent, so … :
Error:
checking for STUFF… configure: error: Package requirements (sigc++-2.0) were not met:
No package ’sigc++-2.0′ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables STUFF_CFLAGS
and STUFF_LIBS to avoid the need to call pkg-config.
See the pkg-config man [...]
You may have this error when require ‘xml/mapping’ in your ruby script:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require’: no such file to load — xml/mapping (LoadError)
Solution: go to the gem directory of XML-Mapping (mine is /usr/lib/ruby/gems/1.8/gems/xml-mapping-0.8.1/lib/) and chmod all files in this directory to 644.
Who is to point finger at here ? Rubygem or XML-Mapping authors ?
This error eccors if you use screen et cetera and don’t have a terminfo file for urxvt in /usr/share/terminfo/r/, especially if you are ssh’ing into another box. You just need to create a terminfo file named rxvt-unicode in this directory.
More info about terminfo and how to compile it from a source file
It’s annoying as hell ! Not only we need to patch to use Cisco client on 64 bit systems, recently i find out Cisco don’t support SMP (multi core) in its VPN client. It means after you load the cisco module, there’s a big chance you will run into a kernel panic: oops, the whole [...]
Man, these freezes really bug me off … After setting up my laptop i realized every time i turn compiz on, the system would hang for 1-2 second then continue working. The time interval between two freezes is random. This problem happened with both closed source or open source drivers (for an ATI Mobility x2300 [...]
UPDATE: A new client for linux (4.8.02.0030) is out. You no longer need the patch for 2.6.24+ kernel (vpnclient-linux-2.6.24-final.diff). However the patch for 64 bit systems is still required and the CFLAGS variable in Makefile still need to be changed to EXTRA_CFLAGS.
June 26 2009: This post also applies to Ubuntu Jaunty Jackalope 9.04 (more than [...]
In order to compile PHP on 64 bit you need to use the option –with-libdir=lib64 otherwise you will stay forever with the following error
checking for MySQL support… yes
checking for specified location of the MySQL UNIX socket… no
checking for MySQL UNIX socket location… no
checking for mysql_close in -lmysqlclient… no
checking for mysql_error in -lmysqlclient… no
configure: error: mysql [...]