Jump to content

Kylix3 install problem


Recommended Posts

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

Link to comment
Share on other sites

Guest christof

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...