Compile and install g2ipmsg in Linux)

Source: Internet
Author: User
Compile and install g2ipmsg in Linux-Linux general technology-Linux technology and application information. Read the following for details. The system is Mandriva 2008, And the Flying Pigeon version is 0.9.5.

First of all, you need other packages, some of the system is not yet, only re-installed, package according to the libgnomeui-2, gtk +-2, glib-2, libpanel-applet-2, etc., use. /configure will have a corresponding prompt, the lack of installation on the line, such as libgnomeui2-devel-2.20.0-2mdv2008.0.

After the preparation is complete
./Configure
Make
Make install

Then you can find the g2ipmsg program in/usr/local/bin and run it. However, it does not support Chinese characters. Let's take a look at the README file. If the file supports Chinese characters, we need to add additional parameters. Instead, we can only reinstall it.

Make uninstall // The author also takes care of the work and completes this function.

Press the README file as follows:
./Configure -- enable-ray -- with-ext-charcode = CP936

Specify the Encoding As CP936. Okay, just do what he says. In this way, after make & make install, the running program still cannot display Chinese characters. I do not know whether the program is fooled by the author or the RP is faulty.

Next, Google and Baidu are helpless. They tried some methods on the Internet, but they still don't work. The final solution is to modify a little bit in the source code. In codeset. c of the src directory of the program

# Define IPMSG_PROTO_CODE IPMSG_EXTERNAL_CHARCODE
This line is changed
# Define IPMSG_PROTO_CODE "CP936"
Or
# Define IPMSG_PROTO_CODE "UTF-8" // (a problem may occur if the system code is not a UTF-8)

You can.

So far, the installation of the Flying Pigeon text in Linux has been completed. It is reasonable to say that you can directly communicate with the Flying Pigeon in Windows. It is said that this version can only contain leaflets and cannot contain folders.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.