cercasi n00b

Joined: 17 Nov 2006 Posts: 16 Location: Berlin, Germany
|
Posted: Wed Jan 23, 2008 6:00 am Post subject: motion emerge failes with configure error [SOLVED] / patch? |
|
|
I'm just posting this here for people who run into the same situation. Perhaps most would figure this out by themselves, but for beginners like me this could help.
If emerging motion-3.2.9 files due to this error (econf failed)
| Code: | | checking size of short int... configure: error: cannot compute sizeof (short int) |
[quick answer]
re-emerge ffmpeg
[long answer]
config.log indicates
| Code: | | /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libx264.so.54, needed by /usr/lib/libavcodec.so, not found (try using -rpath or -rpath-link) |
looking for this file returned
libx264.so.56, so a dirty and possibly dangerous workaround would be just linking this library to the missing name. Instead I found that libavcodec.so belongs to ffmpeg and I was hoping recompiling ffmpeg would repair the internally broken link itself, which worked for me.
So again, sorry for posting something so obvious, but I may have just written this down for myself to grasp it exactly (learning by teaching).
What I'd like to ask the gentoo crowd now is,
- is that a bug and would that particular bug be reported to bugs.gentoo.org ?
- if yes, I'd like to get started contributing to oos (but I never really did before, other than posting) and I think fixing this would be something I could possibly do (with a little help). Is anybody willing to guide me through this process? What do I need? [ you'd need to be patient with though since I understand only have of the ebuild ].
Also, how are patches committed? (SVN? do I need approval?) Can anybody do it? I never created a patch. Any documentation I should read beforehand? Where should I start?
If you answer, please outline your reasons and explain what's being done. thank you very much.
bash |
|