Gentoo Forums
Gentoo Forums
Quick Search: in
motion emerge failes with configure error [SOLVED] / patch?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cercasi
n00b
n00b


Joined: 17 Nov 2006
Posts: 16
Location: Berlin, Germany

PostPosted: Wed Jan 23, 2008 6:00 am    Post subject: motion emerge failes with configure error [SOLVED] / patch? Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum