Author Topic: rpm compiled, but when install, it sayes file not found  (Read 5755 times)

hongxing

  • Guest
rpm compiled, but when install, it sayes file not found
« on: October 20, 2005, 10:41:13 am »
i compile C::B rpm using daniel2000's spec file, remove the line "Require wxGTK > 2.4.2".
after compiling , when install, it says it requires libwx-gtk2u-2.6.so.0

now I have libwx-gtk2u-2.6.so.0 by hand, can I put this so file in the C::B rpm when building it, so that it can be installed and ran normally.

thanks

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: rpm compiled, but when install, it sayes file not found
« Reply #1 on: October 22, 2005, 07:00:11 pm »
You need a package providing libwx-gtk2u-2.6.so.0 !!!
Normally wxGTK should provide it !?
Which distribution do you use ?

Why did you remove the Require ?
Were there any errors ?
Nightly builds for openSUSE

hongxing

  • Guest
Re: rpm compiled, but when install, it sayes file not found
« Reply #2 on: October 23, 2005, 10:44:41 am »
I compile C::B from cvs-head source code. not removing anything.

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: rpm compiled, but when install, it sayes file not found
« Reply #3 on: October 23, 2005, 12:46:22 pm »
But you wrote that you removed the "Require wxGTK > 2.4.2":
remove the line "Require wxGTK > 2.4.2".
But this line is not so important, because after compiling, rpm normally finds the right requires and provides itself.

How did you install wxGTK ? I mean is it in the rpm database or did you install it out of the sources ?

Please give me more informations ( distribution, installed wxGTK packages). Without any exact information it's very hard to help because every distribution is a little bit different.

Daniel
Nightly builds for openSUSE

hongxing

  • Guest
Re: rpm compiled, but when install, it sayes file not found
« Reply #4 on: October 24, 2005, 07:24:46 am »
I compile wxWidgets, so I have the so file by hand, but not rpm file.
it is ok if your spec file can include the wxWidgets so file directly.

thanks

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: rpm compiled, but when install, it sayes file not found
« Reply #5 on: October 24, 2005, 09:00:09 am »
I compile wxWidgets, so I have the so file by hand, but not rpm file.
it is ok if your spec file can include the wxWidgets so file directly.

thanks

That's not how packaging systems work. They "require" packages which include required files, not the files themselves...
Be patient!
This bug will be fixed soon...