Re: [Ekiga-devel-list] Missing avcodec.h
Matthias Schneider a écrit : in my opinion all this dir stuff sucks a lot. I have added your path to the list of searched dirs, thinking that this way forward will cost less boring and useless work to me than the other possibilities. In case you feel like it you could still report this as a bug, I think we wont be the only package that will have to deal with that. I agree it sucks a lot... Notice your fix doesn't work : you make the configure script search for ffmpeg/libavcodec/avcodec.h, which means it will find it, but since that file tries to #include libavutil/avutil.h, which can't be found. You really have to use the path given by pkg-config in your search for the right place for avcodec.h, or it won't work, ie : searching for libavcodec/avcodec.h using -I/usr/include/ffmpeg (as given by pkg-config --cflags libavcodec-dev) will work, but searching for ffmpeg/libavcodec/avcodec.h using nothing will fail (current behaviour). Snark ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
Re: [Ekiga-devel-list] Missing avcodec.h
--- Julien Puydt [EMAIL PROTECTED] schrieb am Mi, 4.6.2008: Von: Julien Puydt [EMAIL PROTECTED] Betreff: Re: [Ekiga-devel-list] Missing avcodec.h An: Ekiga development mailing list ekiga-devel-list@gnome.org Datum: Mittwoch, 4. Juni 2008, 11:21 Matthias Schneider a écrit : in my opinion all this dir stuff sucks a lot. I have added your path to the list of searched dirs, thinking that this way forward will cost less boring and useless work to me than the other possibilities. In case you feel like it you could still report this as a bug, I think we wont be the only package that will have to deal with that. I agree it sucks a lot... Notice your fix doesn't work : you make the configure script search for ffmpeg/libavcodec/avcodec.h, which means it will find it, but since that file tries to #include libavutil/avutil.h, which can't be found. You really have to use the path given by pkg-config in your search for the right place for avcodec.h, or it won't work, ie : searching for libavcodec/avcodec.h using -I/usr/include/ffmpeg (as given by pkg-config --cflags libavcodec-dev) will work, but searching for ffmpeg/libavcodec/avcodec.h using nothing will fail (current behaviour). Snark Hi Julien, you are right, I will commit a fix for the fix tonight. I thought you pkg-config would return -I /usr/include, but it does not. Will you be online tonight? I would like to fix it before going on vacation on Friday. Matthias __ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
Re: [Ekiga-devel-list] Missing avcodec.h
--- Matthias Schneider [EMAIL PROTECTED] schrieb am Mi, 4.6.2008: Von: Matthias Schneider [EMAIL PROTECTED] Betreff: Re: [Ekiga-devel-list] Missing avcodec.h An: Ekiga development mailing list ekiga-devel-list@gnome.org Datum: Mittwoch, 4. Juni 2008, 13:46 --- Julien Puydt [EMAIL PROTECTED] schrieb am Mi, 4.6.2008: Von: Julien Puydt [EMAIL PROTECTED] Betreff: Re: [Ekiga-devel-list] Missing avcodec.h An: Ekiga development mailing list ekiga-devel-list@gnome.org Datum: Mittwoch, 4. Juni 2008, 11:21 Matthias Schneider a écrit : in my opinion all this dir stuff sucks a lot. I have added your path to the list of searched dirs, thinking that this way forward will cost less boring and useless work to me than the other possibilities. In case you feel like it you could still report this as a bug, I think we wont be the only package that will have to deal with that. I agree it sucks a lot... Notice your fix doesn't work : you make the configure script search for ffmpeg/libavcodec/avcodec.h, which means it will find it, but since that file tries to #include libavutil/avutil.h, which can't be found. You really have to use the path given by pkg-config in your search for the right place for avcodec.h, or it won't work, ie : searching for libavcodec/avcodec.h using -I/usr/include/ffmpeg (as given by pkg-config --cflags libavcodec-dev) will work, but searching for ffmpeg/libavcodec/avcodec.h using nothing will fail (current behaviour). Snark Hi Julien, you are right, I will commit a fix for the fix tonight. I thought you pkg-config would return -I /usr/include, but it does not. Will you be online tonight? I would like to fix it before going on vacation on Friday. Matthias Hi Julien, could you please try again? Matthias __ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
Re: [Ekiga-devel-list] Missing avcodec.h
Matthias Schneider a écrit : could you please try again? As I told on IRC : ok. (but I want it visible in the archives that you got it) Snark ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
Re: [Ekiga-devel-list] Missing avcodec.h
Quoting Julien Puydt [EMAIL PROTECTED]: Hi, I have a hard time compiling ptlib+opal+ekiga those days : since I upgraded my libavcodec-dev package, avcodec.h is to be found in : /usr/include/ffmpeg/libavcodec/avcodec.h but is searched in : libavcodec/avcodec.h ffmpeg/avcodec.h in fact, if the configure script were doing things right, it would use pkg-config to learn the real location! Snark Julien, the configure script IS doing things right and using pkg-config! However thats only half the way... configure itself then still has to fiddle out for itself whether avcodec.h is still in $FFMEGINCLUDEDIR/avcodec or $FFMPEGINCLUDEDIR/ffmpeg. They changed it a few months ago! No way to find this out via pkg-config. However the configure script still detects it right. Your case however I have never seen... Are you sure you have ffmpeg correctly installed? Maybe this is some strange third way that was thought by your distribution makers? I do not really understand why ffmpegs pkg-config only returns part of the path AND ffmpeg guy had to change the subpath name AND your packager had to change the subpath name again... Matthias This message was sent using IMP, the Internet Messaging Program. ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
Re: [Ekiga-devel-list] Missing avcodec.h
Matthias Schneider a écrit : Quoting Julien Puydt [EMAIL PROTECTED]: Hi, I have a hard time compiling ptlib+opal+ekiga those days : since I upgraded my libavcodec-dev package, avcodec.h is to be found in : /usr/include/ffmpeg/libavcodec/avcodec.h but is searched in : libavcodec/avcodec.h ffmpeg/avcodec.h in fact, if the configure script were doing things right, it would use pkg-config to learn the real location! Snark Julien, the configure script IS doing things right and using pkg-config! However thats only half the way... configure itself then still has to fiddle out for itself whether avcodec.h is still in $FFMEGINCLUDEDIR/avcodec or $FFMPEGINCLUDEDIR/ffmpeg. They changed it a few months ago! No way to find this out via pkg-config. However the configure script still detects it right. Your case however I have never seen... Are you sure you have ffmpeg correctly installed? Maybe this is some strange third way that was thought by your distribution makers? I do not really understand why ffmpegs pkg-config only returns part of the path AND ffmpeg guy had to change the subpath name AND your packager had to change the subpath name again... Arg... I'll need to dig it further :-( Snark ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
Re: [Ekiga-devel-list] Missing avcodec.h
Julien Puydt a écrit : Matthias Schneider a écrit : Quoting Julien Puydt [EMAIL PROTECTED]: Hi, I have a hard time compiling ptlib+opal+ekiga those days : since I upgraded my libavcodec-dev package, avcodec.h is to be found in : /usr/include/ffmpeg/libavcodec/avcodec.h but is searched in : libavcodec/avcodec.h ffmpeg/avcodec.h in fact, if the configure script were doing things right, it would use pkg-config to learn the real location! Snark Julien, the configure script IS doing things right and using pkg-config! However thats only half the way... configure itself then still has to fiddle out for itself whether avcodec.h is still in $FFMEGINCLUDEDIR/avcodec or $FFMPEGINCLUDEDIR/ffmpeg. They changed it a few months ago! No way to find this out via pkg-config. However the configure script still detects it right. Your case however I have never seen... Are you sure you have ffmpeg correctly installed? Maybe this is some strange third way that was thought by your distribution makers? I do not really understand why ffmpegs pkg-config only returns part of the path AND ffmpeg guy had to change the subpath name AND your packager had to change the subpath name again... Arg... I'll need to dig it further :-( According to : http://svn.mplayerhq.hu/ffmpeg/trunk/subdir.mak?view=log this was changed with revision 12194, whose comment is : Install headers in $prefix/include/$libname Install each library's headers in $prefix/include/$libname. The installed headers use #include lib*/*.h; applications are expected to do the same. Specify only $prefix/include in .pc files. Unfortunately, it seems the debian packager decided to use /usr/include/ffmpeg/lib*/*h :-/ I don't know what is the best course of action : make opal behave well with the package or report it as a packaging bug :-/ Snark ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
[Ekiga-devel-list] Missing avcodec.h
Hi, I have a hard time compiling ptlib+opal+ekiga those days : since I upgraded my libavcodec-dev package, avcodec.h is to be found in : /usr/include/ffmpeg/libavcodec/avcodec.h but is searched in : libavcodec/avcodec.h ffmpeg/avcodec.h in fact, if the configure script were doing things right, it would use pkg-config to learn the real location! Snark ___ Ekiga-devel-list mailing list Ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list