On Montag, 28. Februar 2011, Simon Su wrote: > 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 ...
Did you actually look into config.log? You will see the compiler command that was used. In my case, there is no -I/something because I have the library installed in standard locations. Perhaps you should do that, too? (/usr/local is sufficiently standard these days, I think.) > > > 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_6 > >4. > > > > >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. You can always say xxx=/that/long/path/name ./configure CC="gcc -I$xxx -L$xxx" CXX="g++ -I$xxx -L$xxx" -- Hannes _______________________________________________ Cinelerra mailing list [email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
