Files |  Tutorials |  Articles |  Links |  Home |  Team |  Forum |  Wiki |  Impressum

Aktuelle Zeit: Fr Jul 18, 2025 00:05

Foren-Übersicht » English » English Programming Forum
Unbeantwortete Themen | Aktive Themen



Ein neues Thema erstellen Auf das Thema antworten  [ 11 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: Kylix users please read
BeitragVerfasst: Mo Okt 18, 2004 17:42 
Offline
DGL Member

Registriert: Mo Okt 11, 2004 17:40
Beiträge: 8
Hi. I just installed kylix 3 open in Mandrake 10.0

Unfortunately even the simplest project won't run (so, i couldn't start messing with openGL). And if i try to run/debug from the IDE it will result in kylix freezing :?

So, i would like to know If anyone has had this issue and how it was solved it (if it did) or, for those who use kylix in other distributiions without any problems, which would you recommend.

Thank you.

_________________
Ridiela! Que bonito es todo esto!


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mo Okt 18, 2004 19:24 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
I did not have this issue as i do not use mandrake, is suggest you change to suse linux. It has some install problems, but they can be overcome. Install some extra rpm's. Also i think you are lucky to be able to install kylix onto mandrake, as most times it does not want to install at all on mandrake, as so i have heard.

_________________
http://3das.noeska.com - create adventure games without programming


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Di Okt 19, 2004 10:13 
Offline
DGL Member
Benutzeravatar

Registriert: Fr Dez 13, 2002 12:18
Beiträge: 1063
I did install Kylix 3 (the version with D7 pro) on Mandrake 10, after running the installation script from the bash, Kylix did everything automatically and it worked. I had the same problem as you on another Linux installation (I think Mandrake 9.x), there it sufficed to turn debugging entirely off (not in the code generation but in the IDE itself).

P.S. the Kylix IDE seems quite sluggish to me, compared to Delphi - and Kylix programs need a lot of additional stuff to be delivered (with the advantage, that binaries will run on a lot of different Linux distributions), so I decided to use the command line version of Free Pascal for my Linux/BSD experiments, which is also Delphi compatible and supported from the KDE.

P.P.S. I also noticed that Linux works very stable on the Thinkpad A21p I installed them, much more than on the fast generic desktop I tried them before. My suspicion is that the "classic" notebook is supported quite well directly from the Linux installation, whereas I would have had to search for various drivers and tweaks for my desktop hardware (which I did have no time and no intentions to, since I use nearly entirely Win32 for now).

_________________
Viel Spaß beim Programmieren,
Mars
http://www.basegraph.com/


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Okt 21, 2004 15:55 
Offline
DGL Member

Registriert: Mo Okt 11, 2004 17:40
Beiträge: 8
Ok, ok... I followed your advices and disabling "integrated debugging" allowed me to run & debug from within the IDE. (one of the demos said something about truncated lines but the one about picking a star, a triangle and a square worked allright). Yet, the standalone executables would not run.

So, I switched to SuSE 9.1. The problem is that kylix won't run at all under SuSE 9.1. Plus, after I had installed the nVidia drivers, it wouln't enter runlevel 5 :roll: . I thought "nevermind, surely downloading some upgrades and actualizations from SuSE site will solve the problem" but i'm not even capable of setting up the modem (actually it doesn't show in YaST hardware list, but then in the DrakTools of Mandrake it did :? )

Honestly, i'm having serious headaches, but i'm willing to try out more solutions if anyone can guide me. Until then, i suppose i'll switch back to Mandrake 10.0 :P

Thanks to noeska and Mars for replying and to anyone who may do so in the future.

_________________
Ridiela! Que bonito es todo esto!


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Okt 21, 2004 16:15 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
Installing nvdidia drivers should be done via yast. But it requires your modem to work. My gues is you are using a modem with a conexant chipset (most modems nowadays have these). But the linux drivers went commercial (even partialy closed source), but take a look at their site: http://www.linuxant.com/drivers/ to find out if you have one of these modems and a linux driver for it. But i do not suggest you download the nvdidia drivers with those as the free version of the linux modem driver is slow! (read the site).

But forget what it wrote here before as you had ALL working under Mandrake as it read to me! Have a look at the script that starts kylix and copy it to where your application with kylix resides. Now edit the script to start up your apllication instead of kylix and your application should run without kylix. You see your application needs some .so files (those are the linux DLL files. I belive you can use ldd applicationname to identify what so files are needed. So you can redistribute them with your application (read the deployment section for your kylix)

_________________
http://3das.noeska.com - create adventure games without programming


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Okt 21, 2004 16:17 
Offline
DGL Member
Benutzeravatar

Registriert: Mi Jul 17, 2002 12:07
Beiträge: 976
Wohnort: Tübingen
The best Linux distribution in my opinion is Fedora Core (2) (http://fedora.redhat.com). It`s developed by Red Hat and fully free downloadable (3 CDs), and I think, the best Linux ever made, and I had a few of them... I tested Kylix with it, and it worked without any problems. So, if you or one of your friends has a fast internet connection, go and grab it!

_________________
"Du musst ein Schwein sein in dieser Welt, sangen die Prinzen, das ist so 1.0. Du musst auf YouTube zeigen, dass dir dein Schweinsein gefällt, das ist leuchtendes, echtes Web 2.0."
- Hal Faber

Meine Homepage: http://laboda.delphigl.com


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Okt 21, 2004 16:34 
Offline
DGL Member

Registriert: Mo Okt 11, 2004 17:40
Beiträge: 8
hmm.. actually i have a SmartLink modem and the softmodem drivers provided at smartlink site worked quite well in mandrake (trying to install those in SuSE returned a "make? what is make?" sort of message -yeah.. probably i missed some important packages-).

But then not everything was running fine in mandrake. I could not load my .dpr , for instance. So i had to rebuild the project group each time. Modifying the script is something that had not thought of (maybe a little more research on my side would help a lot :roll: ). I might need more help with that, since it's been ages since i last messed with linux scprits (and i wasn't very good at it, either), but i'll let you know if can get through it :D

I'll try that until I get a copy of Fedora (i've also seen comments in other forums about Kylix running fine in Debian). Thanks again.

_________________
Ridiela! Que bonito es todo esto!


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Okt 21, 2004 19:27 
Offline
DGL Member

Registriert: Mo Okt 11, 2004 17:40
Beiträge: 8
Just for the record.

As noeska stated, copying the startdelphi script to the folder where resides the executable and replacing the last line
/kylix_path/bin/delphi $*
with
/executable_path/executable_name $*
allows for running the executable (through the script) without starting Kylix

Now, that requires you to have kylix installed on your system. For redistribution purposes you will have to install the required .so files and load them with a seeming script. How to do so?... Well, when i find out i'll let you know, but for now i don't need to worry about that (and my two brain cells wouldn't stand that much stress)

_________________
Ridiela! Que bonito es todo esto!


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Okt 21, 2004 20:59 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
noeska hat geschrieben:
I belive you can use ldd applicationname to identify what so files are needed. So you can redistribute them with your application (read the deployment section for your kylix)

_________________
http://3das.noeska.com - create adventure games without programming


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags: finally!
BeitragVerfasst: Fr Okt 29, 2004 21:09 
Offline
DGL Member

Registriert: Mo Okt 11, 2004 17:40
Beiträge: 8
Well, after many hours (days, actually) searching the web, I've finally found it !!!

It looks like there is some kind of incompatibility between Kylix 3 integrated debugger tool and most recent Linux kernels. So, in order to run a project from Kylix IDE you had to previously disable the "integrated debugging" option under "tools->debugger options" menu. This allowed to run from the ide, but as you may have guessed, didn't allow you to debug your project with Kylix IDE (it would crash/freeze if you tried, anyways).

The solution. Trick Kylix. In the startdelphi script, add

LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL

Now you can run AND debug from within Kylix IDE. I've only tried it in Mandrake 10.0 but i assume it works as well in the rest of latest distros. (BTW, fedora would not render openGL primitives, even after installing NVIDIA drivers :shock: )

I found this in the borland newsgroups about kylix but the poster gave credit to another person, and so am i going to do

http://www.kylix-patch.de.vu/

_________________
Ridiela! Que bonito es todo esto!


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Sa Nov 13, 2004 00:08 
Offline
Forenkatze
Benutzeravatar

Registriert: Mi Okt 22, 2003 18:30
Beiträge: 1945
Wohnort: Närnberch
Programmiersprache: Scala, Java, C*
I have SuSE 8.2 Prof. and my Kylix installation works as expected. There is only one thing not working. The fonts. But I think, the Truetype Core fonts of Microsoft I installed before have caused Kylix to use the truetypes. But the font is very small and pixelated. I doesn't make fun to read it :wink:

The problem with the libs: There is a command to add this lib to your "PATH-libs" (I don't really know their real name... ;)
Well, eventually I find this page again ;)


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 11 Beiträge ] 
Foren-Übersicht » English » English Programming Forum


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
cron
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.009s | 16 Queries | GZIP : On ]