Почетак › Форуми › Линукс дистрибуције › Mandriva › Софтвер › mandrake 9.1 i kylix
- This topic has 2 одговора, 3 гласа, and was last updated 23 years раније by
salac.
-
АуторЧланци
-
23. јул 2003. у 4:24 pm #2777
Ljubomir
УчесникPrilikom pokusaja instalacije Kylix 3 Enterprise pomocu skripta setup.sh dobijam gresku Glibc….FAILED. Siguran sam da imam glibc 2.3.1 sto potvrdjuju CHKLIBC i testsystem. Na MDK 8.2 i RH 7.3 sve je radilo OK. Da li je neko imao ovakav problem i kako ga je resio? Veoma sam zahvalan za svaku pomoc.
24. јул 2003. у 12:56 pm #12866mVeliki
Учесникkomsija, ajd javi se na 063/551-747
da probamo kod mene da instaliramo.27. јул 2003. у 2:27 pm #12867salac
УчесникPoteraj instalaciju kao obican user, nikako kao root, sve prolazi smooth. Posle toga, lepo iskopiras ceo .borland direktorijum iz svog home direktorijuma u /root/ , i zatim mozes da startujes kylix i kao root.
Evo jako korisnog mini-faqa:
************************************************************
Fixes and workarounds for Kylix 3 issues in newer distributions
(RedHat 8+, Mandrake 9+, SuSE 8.1+)
Andres Colubri ([email protected])
2003-06-11Acknowledgments
I collected all these fixes from the newsgroup:
borland.public.kylix.distros-compatibility (particularly the post from Lisheng
Sun) and from this page (thanks Ernestus!):
http://usuarios.lycos.es/ernestus/CursoCpp/Entretelas/entretelas.html1) Installation hangs
Execute the installer as normal user, or using the -m argument for non-rpm
install:
sh ./setup.sh -m2) Various errors when compiling stdlib.h (declaration syntax error, etc.) and
unresolved references when linking
The glibc 2.1 compatibility package (compat-glibc) is needed, because Kylix 3
doesn’t work with glib 2.2 or greater.
For Red Hat, get the rpm package compat-glibc-6.2-2.1.3.2.i386.rpm from
http://rpmfind.net/linux/RPM/
For Mandrake, get the rpm package compat-glibc-7.2-2.1.3.3mdk.i586.rpm from
http://rpms.mandrakeclub.com/search.php
Install it with:
rpm -Uvh compat-glibc-6.2-2.1.3.2.i386.rpm
Start the C++ part of Kylix. Set the include and library paths to the compatible
version of glibc by going to the “Directories/conditionals” tab of Project
options.
In the Include Path field, replace /usr/include with
/usr/i386-glibc21-linux/include. Move this entry to the top of the list.
In the Library Path field, replace /usr/lib with /usr/i386-glibc21-linux/lib and
move the entry to the top of the list.
Make this changes the default setting by checking the Default box before closing
the Project options.3) Various errors when using the STL (could not find a match for
min…)
Copy the file k3stl.h to:
/include
and _config.h to:
/include/stlport/stl
Use the STL headers as usual.The following problems also seem to be frequent, but I haven’t experienced them
myself:4) Kylix hangs/quits right after typing “.”
Disable the code completion feature.5) Various errors when using the IDE (hangs/quits after doing some mouse
operations, etc.)
Add to the starting scripts:
/bin/startdelphi
/bin/startbcb
the following line:
export LD_ASSUME_KERNEL=2.2.5
right after the line first line (“#!/bin/bash”).
Upgrading the kernel to the latest version appears to solve this issue, but the
results might depend on the distribution.I hope you find this information useful,
Andres***********************************************************
Hvala Andres-u, bez njega ne bih uspeo da podesim C++ deo kylixa na
mdk 9.1. -
АуторЧланци
Форум ‘Софтвер’ је закључан за нове теме и одговоре.