From: Angel C. <ac...@te...> - 2005-10-25 21:22:01
|
El mar, 25-10-2005 a las 19:36 +0200, Erik Jakobsen escribi=C3=B3: Hi Erik, [snip] > > > > ************************ > > * Configure status * > > ************************ > > > > pthread Support: Yes > > jpeg Support: Yes > > V4L included: Yes > > FFmpeg Support: Yes > > MYSQL Support: Yes > > PostgreSQL Support: Yes > > > > CFLAGS: -g -O2 -DHAVE_FFMPEG -DHAVE_MYSQL -I /usr/include/mysql=20 > > -DHAVE_PGSQL -I/usr/include -DTYPE_32BIT=3D"int" -DHAVE_BSWAP =20 > > -march=3Dathlon -mfpmath=3Dsse -msse -mmmx -m3dnow > > LIBS: -lm -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lm -lz=20 > > -L/usr/lib/mysql -lmysqlclient -lz -L/usr/lib/pgsql -lpq > > LDFLAGS: -L/usr/lib Taking a look to CFLAGS ffmpeg includes should be in /usr/include > > Install prefix: /usr/local > > > > [root@mail motion-3.2.3]# make > > Welcome to the setup procedure for Motion, the motion detection=20 > > daemon! If you get > > error messages during this procedure, please report them to the=20 > > mailing list. The > > Motion Guide contains all information you should need to get Motion up=20 > > and running. > > Run "make updateguide" to download the latest version of the Motion=20 > > Guide. > > > > Version: 3.2.3 > > Platform: Linux (if this is incorrect, please read README.FreeBSD) > > > > Generating dependencies, please wait... > > In file included from motion.c:22: > > ffmpeg.h:5:22: avformat.h: No such file or directory > > In file included from event.c:22: > > ffmpeg.h:5:22: avformat.h: No such file or directory > > In file included from ffmpeg.c:16: > > ffmpeg.h:5:22: avformat.h: No such file or directory > > make: *** [.depend] Error 1 > > But that error shows that they are not. [snip] > I have more information. The avformat.h file exists! >=20 > locate avformat.h > /usr/local/include/ffmpeg/avformat.h > /usr/local/ffmpeg/ffmpeg-0.4.9-pre1/libavformat/avformat.h > /var/log/ffmpeg/libavformat/avformat.h Ok , so CFLAGS should include : -I/usr/local/include/ffmpeg=20 > What the heck is the problem ;-) >=20 > Erik Jakobsen >=20 The output from : ./configure will be useful. Cheers, --=20 Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint =3D 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe;=20 no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply.=20 Willing is not enough; we must do" Johann Wolfgang von Goethe |