Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: hongxing 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
-
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 ?
-
I compile C::B from cvs-head source code. not removing anything.
-
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
-
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
-
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...