Warning: Undefined variable $transient in /home/linuxo/www/www/wp-content/plugins/serbian-transliteration/classes/cache-db.php on line 54
Warning: Undefined variable $transient in /home/linuxo/www/www/wp-content/plugins/serbian-transliteration/classes/cache-db.php on line 54
-
Rezultati pretrage
-
na http://linuxland.linux.org.yu/gnome-ppp-0.1.tar.bz2 mozete
skinuti gnome2 frontend za wvdial. vise mozete saznati na
forumu http://gnomesupport.org/forums/viewtopic.php?t=5629&postdays=0&postorder=asc&start=0.
uzivajte!Evo par saveta kako se izboriti sa problemima.
Prvo, treba pravilno setovati LANG varijablu ili se kylix pri startu momentalno gasi (ako ste sistem lokalizovali tako da ima YU setovanja). Znaci u konzoli:
export LANG=eng_US
Isto tako na nekim distribucijama startovanje kylixa bez pravilno setovane LANG varijable daje cudne poruke :
LC_ALL is set to C. Can’t start Kylix.
ili
LC_ALL is set to POSIX. Can’t start Kylix.
Resenje je takodje gorepomenuta export linija.
Sad iz ISTE TE konzole mozete sa ‘startdelphi’ ili ‘startbcb’ pogoniti borlandov object pascal/c++ ; ako otvorite novu konzolu za nju LANG varijabla NE VAZI, pa kog smara stalno setovanje
LANG-a neka ubaci ovu liniju u .bashrc – ali onda vise sistem nije podesen za nas jezik.Problem 2: kada probate da startujete iskompajlirani program, doceka vas ovakva poruka :
bash-2.05b$ ./Project1
./Project1: relocation error: ./Project1: undefined symbol: initPAnsiStringsOvo je posledica toga sto kylix po defaultu snima svoje biblioteke na prilicno neocekivana mesta, pa u /etc/ld.so.conf treba dodati liniju koja sistemu govori gde se biblioteke nalaze. Napr, ako je kylix instaliran u /usr/local/kylix3, na kraju /etc/ld.so.conf se dodaje
/usr/local/kylix3/bin/
Posle ovof se uradi jedan ldconfig i gotovo.
Nasao sam na netu odlican tips&tricks, pa ga metodom copy&paste prenosim; hvala Andresu na trudu 🙂
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,
AndresI za kraj, oni koji koriste STL videce da Andres spominje dva heder fajla, _config.h i k3stl.h. Kome su ovi fajlovi potrebni a bas nikako ne moze da ih nadje na netu, neka me kontaktira.
Poz!