User forums > Using Code::Blocks

rpm compiled, but when install, it sayes file not found

(1/2) > >>

hongxing:
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

TheTuxKeeper:
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 ?

hongxing:
I compile C::B from cvs-head source code. not removing anything.

TheTuxKeeper:
But you wrote that you removed the "Require wxGTK > 2.4.2":

--- Quote from: hongxing on October 20, 2005, 10:41:13 am ---remove the line "Require wxGTK > 2.4.2".

--- End quote ---
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

hongxing:
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

Navigation

[0] Message Index

[#] Next page

Go to full version