Početak›Forumi›Linuks distribucije›Mandriva›Softver›mandrake 9.1 i kylix
- This topic has 2 odgovora, 3 glasa, and was last updated 20 years, 8 months ranije by salac.
-
AutorČlanci
-
23. jul 2003. u 4:24 pm #2777LjubomirUčesnik
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. jul 2003. u 12:56 pm #12866mVelikiUčesnikkomsija, ajd javi se na 063/551-747
da probamo kod mene da instaliramo.27. jul 2003. u 2:27 pm #12867salacUčesnikPoteraj 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. -
AutorČlanci
Forum ‘Softver’ je zaključan za nove teme i odgovore.