Kylix3 installation uses FAQ (Redhat 8 & 9)

xiaoxiao2021-03-06  20

Go to Kylix.LinuxAid.com.cn

Kylix3 installation uses FAQ (Redhat 8 & 9)

The previous version of this article I sent it on 9CBS. Later I found that I was turned to the FAQ, this version made a new better solution for some of the issues mentioned in the previous release, and solved Some new problems on Redhat 9 (the previous version is just 7.x and 8.0), this version is originally sent to China Linux Commune (

Www.linuxfans.org. There are many ways to come out, I just solve a small number of questions, or put forward some better and simple ways, now I am going to here to share with you.

The installation and use of Kylix3 has a variety of strange blame. Many people will be tossed by it, I am also tossing enough, or I am forced to use, I think I am afraid I not hold it. To now. So I want to make a summary is necessary, so that everyone will take my way. Ok, don't say nonsense, start the topic:

First, install:

You need to add -m parameters when installing on Redhat 8 and RedHat 9. Otherwise, it will not be able to use the wrong directory, even uninstallation is very troublesome. (I heard that there is also this problem in Redhat 7.3, but I have not used 7.3, not clear)

Second, start:

1. Start the problem of crash.

Solution:

It is very likely to be NVIDIA graphics card and then install the drive. You don't have to remove the graphics card driver, you can reduce the color from 24-bit true color to 16 true color. This is the advantage of being included in this way that most of the program can be improved.

2, the interface is unlaking the problem after startup.

Solution:

method one:

This is a method of introducing many places, which is to modify the two files of StartDelphi and StartBCB, add

EXPORT LANG = zh_cn

EXPORT LC_ALL = zh_cn

To solve.

The disadvantage of this method is that the Chinese character input problem cannot be solved.

Method Two:

Modify / etc / sysconfig / i18n, replace the zh_cn.gb18030 to zh_cn.gbk.

This method changes simple, and can solve most software can't enter Chinese characters, including Kylix's Chinese characters input issues.

3, basically available after startup, but the menu font is particularly large, the toolbar font is particularly small.

Solution:

When beautifying (Chinese) Your Redhat, use the XFT2 patch package provided by the commune or the Redhat patch package provided by Taiwan Firefly users. Do not modify the font settings in the KDE after installation. There will be no such problem.

Third, use

1. Some Chinese character input methods are input in Kylix, the input column will keep flashing, it is difficult to enter.

Solution:

In the input method of this situation, there is chinput, minichinput and scim. It is recommended that you change the input method unless you feel a unique. Because these input methods have conflicts with the FlashPlayer 6's browser plugin, the Mozilla kernel browser will crash.

2. If you don't enter the Chinese characters after the input method, the Chinese character input method cannot be activated.

Solution:

Modify / etc / sysconfig / i18n, replace the zh_cn.gb18030 to zh_cn.gbk. This method should be used for all input methods that support GBK encoding. And this method can solve the problem of entering Chinese characters with a program running with Wine. LLC found that Kylix may be executed on a special Wine.

3, Kylix3-BCB in the new version of Linux such as Mandrakelinux9.1 and RedHat9.0 can't compile.

Solution:

Quote:

Patch: http://kylix.linuxaid.com.cn/xoops2...visit.php? LID = 9

This patch solves the problem that Kylix3-BCB can't compile in the new Linux such as Mandrakelinux9.1 and RedHat9.0.

Instructions:

1, decompression: TAR ZXVF

Kylix3LibPatch_mdk9.1_rhl9.tar.gz

2, 3 files that will be solved: crt1.o, libc.so, libpthread.so copy to $ (bcb) / lib / OBJ ($ (bcb) refers to your Kylix3 installation directory)

3, create a new project, click on the menu project-> options ...-> Directories / Conditionals, set the include path: set to / usr / includeted,

Such as: / usr / include / stlport: $ (bcb) / include: $ (bcb) / include / vcl

4. Click "OK" to save, then press CTRL F9 to compile the project, everything OK, and use C to write Linux applications.

The content of the reference part is transferred from: KylixAid Open Source Zone

Original text:

http://kylix.linuxAid.com.cn/xoops2...efile.php?lid=9

4, can be compiled on the redhat 9, but the issue of running commissioning or saving in the IDE will hang a problem of stopping response.

Solution:

Quote:

Kylix3 IDE (including BCB and Delphi) can't run debugging in RH9, and a startup debugger will hang because the Native Posix Thread Library (NPTL) included in RH9 is not compatible with Kylix3.

The solution is to edit the startup script of Kylix3 (StartBCB and StartDelphi) Add Environment Variable Settings in the second line.

Export ld_assume_kernel = 2.4.1

Let Kylix3 do not use NPTL, so Kylix3 can smoothly press the compilation debugging of F9.

In addition, after adding this setting, it may also solve other issues that Kylix3 appear in RH9 may also be able to try it again in Kylix brothers.

The content of the reference part is also transferred from: KylixAid open source area

Original text:

http://kylix.linuxAid.com.cn/xoops2...c_id=18&Forum=2

Add 1:

Question: The problem that Kylix compiled by Kylix can't be executed directly.

Solution:

Because Kylix compiled programs require some dynamic run libraries, these dynamic runs are not under the default search path, so there is no error that cannot be performed, and there are two ways to solve:

method one:

Set the value of ld_library_path before running your programs.

Export ld_library_path = / usr / local /

Kylix3 / bin: $ LD_LIBRARY_PATH

If you feel troubles each time you can build a script (such as StartDelphi's script). But tell the truth, this is still trouble, there is a one-time method for one.

Method Two:

Modify file /etc/ld.so.conf, put path / usr / local /

Kylix3 / bin adds it, then performs / sbin / ldconfig with root users.

Supplement 2:

Question: Kylix3 writes a problem that apachedso can't use.

Workaround: Same as the same method that cannot be running in the IDE, the version number. Source issue:

http://www.linuxfans.org/nuke/modul...ewtopic&t=19212

转载请注明原文地址:https://www.9cbs.com/read-48005.html

New Post(0)