Hi Hannes, Pardon the ignorance...
Look into config.log; it should tell you why configure thinks that x264.h is > not installed or not found in these locations. > In the config.log file sms:/local/home/build/cinelerra/my_cinelerra> grep x264 config.log PATH: /local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/bin configure:25900: $PKG_CONFIG --exists --print-errors "x264" configure:25953: checking x264.h usability conftest.c:66:18: error: x264.h: No such file or directory | #include <x264.h> configure:25998: checking x264.h presence conftest.c:32:18: error: x264.h: No such file or directory | #include <x264.h> configure:26069: checking for x264.h ac_cv_env_LIBX264_CFLAGS_value=-I/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include ac_cv_env_LIBX264_LIBS_value='-L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lx264 -lpthread' ac_cv_header_x264_h=no pkg_cv_LIBX264_CFLAGS=-I/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include pkg_cv_LIBX264_LIBS='-L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lx264 -lpthread ' LIBX264_CFLAGS='-I/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include' LIBX264_LIBS='-L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lx264 -lpthread ' sms:/local/home/build/cinelerra/my_cinelerra> seems like it is not finding the header file x264.h which is at sms:/home/sms> pkg-config --libs x264 -L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lx264 -lpthread sms:/home/sms> pkg-config --cflags x264 -I/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include sms:/home/sms> ll /local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include total 44 -rw-r--r-- 1 sms t 50 Feb 23 16:33 x264_config.h -rw-r--r-- 1 sms t 38940 Feb 23 16:33 x264.h sms:/home/sms> ll /local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib total 1076 -rw-r--r-- 1 sms t 1090600 Feb 23 16:33 libx264.a drwxr-xr-x 2 sms t 4096 Feb 23 17:09 pkgconfig/ sms:/home/sms> I don't have the PKG_CONFIG environment variable set though. But other packages seems to be detected ok. > > 2. How do I let the configure knows I have liba52 installed at > > > > > /local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64. > >gcc-4.1.2.release > > Setting the environment as above should be sufficient. > > and for liba52, digging around the configure file generated, I don't even have a way to provide a hook into the configuration process to let the configuration knows where liba52 installation is located. Any thoughts on this? what environment variable to set? liba52 doesn't support pkg-config method and the configure.in is also not using pkg-config to get the headers and the library files. thanks -simon > -- Hannes > > _______________________________________________ > Cinelerra mailing list > [email protected] > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra > > ....
