I am trying to compile k3b, the CD/DVD writer program for KDE. When it reaches the dependency transcode-0.6.14-r2, an error is produced in the configure script. The message is --- begin error checking for xml2-config... no checking how to determine LIBXML2_CFLAGS... default checking libxml/parser.h usability... no checking libxml/parser.h presence... no checking for libxml/parser.h... no configure: error: libxml2 requested, but cannot compile libxml/parser.h --- end error So it seemingly cannot find libxml. Reproducible: Always Steps to Reproduce: 1. emerge k3b 2. 3. Actual Results: The configure script for transcode produces: --- begin error checking for xml2-config... no checking how to determine LIBXML2_CFLAGS... default checking libxml/parser.h usability... no checking libxml/parser.h presence... no checking for libxml/parser.h... no configure: error: libxml2 requested, but cannot compile libxml/parser.h --- end error Running gentoo linux on x86.
Created attachment 69217 [details] The config.log file
Created attachment 70082 [details] config.log (lqt.h problem) Doesn't compile here, but the error occurs with quicktime: --------------------------------------------------------- checking whether libquicktime support is requested... yes checking for pkgconfig support for libquicktime... yes checking for lqt-config... /usr/bin/lqt-config checking how to determine LIBQUICKTIME_CFLAGS... pkg-config checking quicktime/lqt.h usability... no checking quicktime/lqt.h presence... no checking for quicktime/lqt.h... no configure: error: libquicktime requested, but cannot compile quicktime/lqt.h !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14/config.log !!! ERROR: media-video/transcode-0.6.14-r2 failed. !!! Function econf, Line 495, Exitcode 0 --------------------------------------------------------- It appears to be looking for quicktime/lqt.h, but it's in lqt/lqt.h.
Found in the libquicktime.pc file: includedir=${prefix}/include/lqt which lists the correct path. My transcode config.log says it's checking for pkgconfig support for libquicktime yet insists on using the wrong path (/usr/include/quicktime) instead of the correct one (/usr/include/lqt).
Adding that the masked transcode-1.0.0 has the same issue with libquicktime. It looks for lqt.h in /usr/include/quicktime/ and doesn't seem to accept that it can be in /use/include/lqt/.
Anything being done with this?
Created attachment 70326 [details, diff] patch to fix lqt.h location problem fixes lqt.h location problem
Created attachment 70327 [details] ebuild to apply the lqt patch place lqt patch in $filesdir
Created attachment 70331 [details, diff] replacement lqt patch more files were hardcoded with quicktime path
Patch seems to work to get past the libquicktime stuff but it still doesn't build: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I../libac3 -I../avilib -I/usr/include -I../libvo -I../libioaux -I../libxio -I/usr/include/avifile-0.7 -I/usr/include -I/usr/include/lqt -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe -DDCT_YUV_PRECISION=1 -MT export_ffmpeg.lo -MD -MP -MF .deps/export_ffmpeg.Tpo -c export_ffmpeg.c -fPIC -DPIC -o .libs/export_ffmpeg.o export_ffmpeg.c: In function `export_ffmpeg_init': export_ffmpeg.c:677: error: structure has no member named `frame_rate' export_ffmpeg.c:678: error: structure has no member named `frame_rate_base' export_ffmpeg.c:681: error: structure has no member named `frame_rate' export_ffmpeg.c:682: error: structure has no member named `frame_rate_base' export_ffmpeg.c:685: error: structure has no member named `frame_rate' export_ffmpeg.c:686: error: structure has no member named `frame_rate_base' export_ffmpeg.c:689: error: structure has no member named `frame_rate' export_ffmpeg.c:690: error: structure has no member named `frame_rate_base' export_ffmpeg.c:693: error: structure has no member named `frame_rate' export_ffmpeg.c:694: error: structure has no member named `frame_rate_base' export_ffmpeg.c:697: error: structure has no member named `frame_rate' export_ffmpeg.c:698: error: structure has no member named `frame_rate_base' export_ffmpeg.c:701: error: structure has no member named `frame_rate' export_ffmpeg.c:702: error: structure has no member named `frame_rate_base' export_ffmpeg.c:705: error: structure has no member named `frame_rate' export_ffmpeg.c:706: error: structure has no member named `frame_rate_base' export_ffmpeg.c:712: error: structure has no member named `frame_rate' export_ffmpeg.c:713: error: structure has no member named `frame_rate_base' export_ffmpeg.c:717: error: structure has no member named `frame_rate' export_ffmpeg.c:718: error: structure has no member named `frame_rate_base' export_ffmpeg.c:735: error: structure has no member named `frame_rate' export_ffmpeg.c:736: error: structure has no member named `frame_rate_base' export_ffmpeg.c:739: error: structure has no member named `frame_rate' export_ffmpeg.c:740: error: structure has no member named `frame_rate_base' export_ffmpeg.c:743: error: structure has no member named `frame_rate' export_ffmpeg.c:744: error: structure has no member named `frame_rate_base' export_ffmpeg.c:747: error: structure has no member named `frame_rate' export_ffmpeg.c:748: error: structure has no member named `frame_rate_base' export_ffmpeg.c:751: error: structure has no member named `frame_rate' export_ffmpeg.c:752: error: structure has no member named `frame_rate_base' export_ffmpeg.c:755: error: structure has no member named `frame_rate' export_ffmpeg.c:756: error: structure has no member named `frame_rate_base' export_ffmpeg.c:759: error: structure has no member named `frame_rate' export_ffmpeg.c:760: error: structure has no member named `frame_rate_base' export_ffmpeg.c:763: error: structure has no member named `frame_rate' export_ffmpeg.c:764: error: structure has no member named `frame_rate_base' make[2]: *** [export_ffmpeg.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14/export' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14' make: *** [all] Error 2 !!! ERROR: media-video/transcode-0.6.14-r2 failed. !!! Function src_compile, Line 133, Exitcode 2 !!! emake failed
This is a different bug you're describing. See bug 105586 for more info.
*** This bug has been marked as a duplicate of 105586 ***
The libquicktime problem still exists with transcode-0.6.14-r3. I still need the patch I posted here to get past the make stage.