mikeoneil Posted January 26, 2003 Report Share Posted January 26, 2003 Hi, I downloaded Kylix3_open from Borland and followed the install intructions. After unpacking, I ran systemtest and got Checking loader....OK Checking kernel >= 2.2....OK Checking libc >= 2.1.2....OK Checking libjpeg >= 6.2.0....OK Looks GOOD !!! This system should be able to run Borland Kylix! Then typing sh setup.sh as root I get WARNING: could not locate libX11.so Then some other libraries are checked then a dialog box opens. After clicking install (with default options) I then get the following error and the installation exits. Unable to install RPM file: 'setup.data/packages/kylix3_main_program_files-1.0-1.i386.rpm' Any ideas what might be wrong? I am using Mandrake 9.0, the documentation for Kylix says it's certified to work on 8.2. Mike PS. Trying to install with RPM I get this error.. [root@lipton packages]# rpm -i kylix3_main_program_files-1.0-1.i386.rpm rpmdb: Program version 4.0.14 doesn't match environment version 3.1.14 error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm Quote Link to comment Share on other sites More sharing options...
Guest christof Posted January 27, 2003 Report Share Posted January 27, 2003 same problem and same distro here I also cannot setup anything else anymore since I tried to setup kylix3. seems like the rpm db is broken and I do not know how to fix it. rebuilddb does not help and initdb does not either. urpmi does not work anymore. what is wrong here? And even more important: how do I fix this? Quote Link to comment Share on other sites More sharing options...
mikeoneil Posted January 27, 2003 Author Report Share Posted January 27, 2003 I recently had the same problem with the RPM database, though not as a result of trying to install Kylix. The only way I could fix it was to delete all media and then add it again. This thread has more details http://www.mandrakeusers.org/viewtopic.php...2335&highlight= As for Kylix, does anyone have any ideas? Mike Quote Link to comment Share on other sites More sharing options...
Counterspy Posted January 27, 2003 Report Share Posted January 27, 2003 Could it be the difference in Glibc versions between 8.2 and 9.0? Counterspy Quote Link to comment Share on other sites More sharing options...
Technonoid Posted January 27, 2003 Report Share Posted January 27, 2003 Hmmm, I'm using MDK 9 and have Kylix 3 installed no problem. However, I notice you tried installing as root, I know thats possible cause it says so in the docs. But, have you tried installing as a user ? Quote Link to comment Share on other sites More sharing options...
mikeoneil Posted January 27, 2003 Author Report Share Posted January 27, 2003 I found this tip on another forum (I forget which one) As root, type sh setup.sh -m I'm not sure what the -m does, but it works! Kylix then installs correctly, then looks for the licence key which is an email attatchment that should be saved in your home directory. The email comes from Borland when you register. The IDE starts up fine now, but following the warning I recieved during the install: WARNING: could not locate libX11.so I now get a Fatal Linker Error that this lib is not found when I try to compile a simple test program. Mike Quote Link to comment Share on other sites More sharing options...
Technonoid Posted January 27, 2003 Report Share Posted January 27, 2003 Are you compiling inside the IDE or at the prompt ? C++ or Delphi ? Quote Link to comment Share on other sites More sharing options...
mikeoneil Posted January 28, 2003 Author Report Share Posted January 28, 2003 Are you compiling inside the IDE or at the prompt ? C++ or Delphi ? So far, I've spent literaly 2 minutes with C++ compiling within the IDE. I intend to read the docs a bit more when I have time tommorow. My 'program' was a single button with close(1); just to try quickly. The error was libX11.so not found. I searched my filesystem and I don't have this file. Maybe I need to configure something or add this file. Just for info I use Mandrake 9.0, Xfree 4 and the Nvidia drivers (not the very latest version but the ones before). I'm still new to Linux and a bit confused as to how X, Nvidia drivers and the OS all interact. If you have any suggestions as to why I am missing this file libX11.so and what it does, I'd be gratefull to hear. Thanks, Mike <edited> PS. Just had a thought, when I installed 9.0 I didn't add any of the development apps. I found the file in XFree86-devel-4.2.1-3mdk.i586.rpm so I'll try installing that this evening. Quote Link to comment Share on other sites More sharing options...
mikeoneil Posted January 28, 2003 Author Report Share Posted January 28, 2003 I've now got Kylix3 up and running, here is a quick summary of what worked for me. Make sure XFree86-devel-4.2.1-3mdk.i586.rpm is installed beforehand. If you wish, as root, type sh setup.sh -m Save the emailed registration key file in your home directory. That's it. Mike Quote Link to comment Share on other sites More sharing options...
Technonoid Posted January 28, 2003 Report Share Posted January 28, 2003 Grreat ! I have found that in most cases, its best to install most all the developement packages during install. Cause you never know when you might need them. Especially when people install programs or apps not included with the distro. Good job mikeoneil 8) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.