You are not logged in.

#1 2008-07-27 10:49:50

das.t
Member
Registered: 2007-10-20
Posts: 8

aur: idjc does not build - ffmpeg/avcodec.h: No such file or directory

hi,

i am looking after the idjc package in aur. yet i had a problem with my arch recently (and my pc broke too) and very little time, so i could not resolve my problems.
yet now i am workingon idjc again. i did a complete new install of archlinux on my new machine.
certainly i needed idjc, yet it does not compile. ./configure works ok, but make throughs an error (see below).

arch:~/idjc-0.7.6$ make
make  all-recursive
make[1]: Entering directory `/home/das-t/idjc-0.7.6'
Making all in c
make[2]: Entering directory `/home/das-t/idjc-0.7.6/c'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -std=gnu99 -O2         -g -O2 -MT idjcmixer-idjcmixer.o -MD -MP -MF ".deps/idjcmixer-idjcmixer.Tpo" -c -o idjcmixer-idjcmixer.o `test -f 'idjcmixer.c' || echo './'`idjcmixer.c; \
        then mv -f ".deps/idjcmixer-idjcmixer.Tpo" ".deps/idjcmixer-idjcmixer.Po"; else rm -f ".deps/idjcmixer-idjcmixer.Tpo"; exit 1; fi
In file included from idjcmixer.c:46:
avcodecdecode.h:25:28: error: ffmpeg/avcodec.h: No such file or directory
avcodecdecode.h:26:29: error: ffmpeg/avformat.h: No such file or directory
In file included from idjcmixer.c:46:
avcodecdecode.h:31: error: expected specifier-qualifier-list before 'AVCodec'
make[2]: *** [idjcmixer-idjcmixer.o] Error 1
make[2]: Leaving directory `/home/das-t/idjc-0.7.6/c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/das-t/idjc-0.7.6'
make: *** [all] Error 2

ffmpeg is installed. the strange thing is: i get the same error even with older versions of idjc, the ones i have been actively working on archlinux.
my loved one gets the same error.

any idea? if  so i   would love to correct my pkg in case it is wrong.

das.t

Offline

#2 2008-07-28 18:48:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: aur: idjc does not build - ffmpeg/avcodec.h: No such file or directory

The location of these header files have changes in the latest ffmpeg package. Try something like:
  sed -i 's|ffmpeg/avcodec.h|libavcodec/avcodec.h|' c/avcodecdecode.h
  sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' c/avcodecdecode.h
before running ./configure or make.

Offline

Board footer

Powered by FluxBB