Http://www.linuxidc.com/Linux/2012-03/57255.htm
Host platform: Gentoo 11.2
Kernel version: Linux Kernel 3.2.1
1, first download openfetion source code
free download address in http://linux.linuxidc.com/
username and password are www.linuxidc.com
download Directory in /2012/3 month/22nd/linux Install Flying Letter client (openfetion)
2, extract the source code
Tar xvf openfetion-1.9.tar.gz
3, enter the directory to start configuration compilation
CD openfetion-1.9
./configure
Make
sudo make install
Under normal circumstances can start, I install the process encountered in the following problems:
Question 1:
Workaround:
Modify the Src/fx_main.c file 110 lines gtk_window_set_default_size (Gtk_window (Fxmain->window) , window_width , window_height); gdkpixbuf* icon = gdk_pixbuf_new_from_file_at_size (skin_dir "Fetion.svg" , 48 , 48 , null); gtk_window_set_icon (Gtk_window (Fxmain->window) , icon); fxmain->trayicon = gtk_status_icon_new_from_file (SKIN_DIR " Offline.svg "); gtk_status_icon_set_tooltip (fxmain->trayIcon , "Openfetion"); //#ifdef USE_LIBNOTIFY #if 0 fxmain->notify = notify_notification_new_with_status_icon ("Welcome" , "" , NULL , fxmain-> TrayIcon); &nBsp notify_notification_set_timeout (fxmain->notify , 2500); #endif Question 2:
Prompt when starting a letter
Openfetion:error while loading shared libraries:libofetion.so.0:cannot open Shared object file:no such file or Directo Ry
Workaround:
Open/etc/ld.so.conf to see if there is a/usr/local/lib, if there is no manual plus, then execute with root privileges ldconfig
Start normal.