Op vrijdag 23-09-2011 om 14:35 uur [tijdzone -0700], schreef Octavio
Alvarez:
> On Fri, 23 Sep 2011 13:45:30 -0700, Richard Rasker <[email protected]>
> wrote:
>
> > $ ./configure
> > ...
> > libx264 libraries missing
> >
> > # urpmi -a lib64x264
> > ...
> > lib64x264-devel-0.110-0.20101203.1plf2010.1.x86_64,
> >
> > Any ideas are appreciated!
>
> Your config.log file might give an indication of why ./configure failed to
> detect x264 (search for "x264").
Good suggestion -- I forget about logs too often :-/.
Here are the relevant parts from config.log:
configure:26532: checking for x264_encoder_open in -lx264
configure:26567: gcc -o conftest -g -O2 conftest.c -lx264 -lpthread -lm -lm
-ldl -lpthread >&5
/tmp//ccGPyZ0S.o: In function `main':
/home/user/my_cinelerra/conftest.c:39: undefined reference to
`x264_encoder_open'
collect2: ld returned 1 exit status
configure:26573: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Cinelerra"
| #define PACKAGE_TARNAME "cinelerra"
| #define PACKAGE_VERSION "2.1"
| #define PACKAGE_STRING "Cinelerra 2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "cinelerra"
| #define VERSION "2.1"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LIBXXF86VM 1
| #define HAVE_LIBASOUND 1
| #define MJPEGTOOLS_Y4M_WRITE_FRAME_HEADER__3ARGS 1
| #define HAVE_SNDFILE_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char x264_encoder_open ();
| int
| main ()
| {
| return x264_encoder_open ();
| ;
| return 0;
| }
configure:26591: result: no
configure:26674: checking x264.h usability
configure:26691: gcc -c -g -O2 conftest.c >&5
configure:26697: $? = 0
configure:26711: result: yes
configure:26715: checking x264.h presence
configure:26730: gcc -E conftest.c
In file included from conftest.c:28:
/usr/include/x264.h:36:4: warning: #warning You must include stdint.h or
inttypes.h before x264.h
configure:26736: $? = 0
configure:26750: result: yes
configure:26778: checking for x264.h
configure:26785: result: yes
[skipping part]
ac_cv_header_x264_h=yes
...
ac_cv_lib_x264_x264_encoder_open=no
So it would appear that the x264 library is found, but one particular
part is not. A bit of searching suggests this happened to other people
too, and that some managed to solve it -- although I don't yet fully
understand how (I'm not really a programmer):
http://www.linuxquestions.org/questions/linux-newbie-8/problem-with-enable-libx264-option-in-ffmpeg-822156/
Anyway, I'll work on this some more as soon as I have the time.
Thanks for your suggestion,
Best regards,
Richard Rasker
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra