Page 1 of 1

Is 1.21.3 hard to build?

Posted: Tue Aug 16, 2005 5:10 pm
by Baylink
Am I the only one having trouble building .3?

I've tried it now on both my one live machine, and my office test box, and in both cases, it throws up during the compile.

On the live machine, it was complaining about being unable to find includes for ffmpeg/avcodec/avformat, even though I'd explicitly told it not to try to do mpeg (all called from zm_mpeg.cpp, I think). That machine is offline, so it's a pain to pull the error messages back here.

The office machine broke on the compile of zmc (which is also where the live machine broke, when I cobbled up a set of include directories out of MPlayer's local avcodec), with this error:

Code: Select all

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include -I/include   -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zmc.cpp:24:
zm.h:28:23: zm_config.h: No such file or directory
In file included from /usr/include/math.h:70,
                 from zm_image.h:29,
                 from zm_monitor.h:28,
                 from zmc.cpp:26:
/usr/include/bits/mathcalls.h:310: error: declaration of `double round(double)
   throw ()' throws different exceptions
zm.h:33: error: than previous declaration `double round(double)'
In file included from zm_zone.h:27,
                 from zm_monitor.h:29,
                 from zmc.cpp:26:
zm_event.h: In static member function `static void Event::Initialise()':
zm_event.h:86: error: `config' undeclared (first use this function)
zm_event.h:86: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
zmc.cpp: In function `int main(int, char**)':
zmc.cpp:144: error: `zmLoadConfig' undeclared (first use this function)

Posted: Wed Aug 17, 2005 3:34 pm
by Baylink
For no apparent reason, rebuilding it this morning on my office box, with no changes (except a make distclean and re./configure) built it fine.

Off to the closet to try again on the remote machine.

Posted: Wed Aug 17, 2005 4:03 pm
by jameswilson
good luck. I read your post but as i am a live cd man i couldnt help sorry. Hope you can sort it

James

Posted: Thu Aug 18, 2005 1:23 am
by Baylink
I located the several causes; I'm going to open a different thread.

But this problem was that ffmpeg was *installed*: the build will apparently try to pick it up *even if you don't tell it to*, if it's installed. I yanked the RPM's, and it built fine.

Posted: Wed Sep 28, 2005 10:53 pm
by jameswilson
im trying to do this and i keep getting libavcodec.so.0 is needed and libavformat.so.0

If i install a cvs ffmpeg this goes away but with a version of ffmpeg we know to work i cant get this to go.

Any clues where i can getr these files from everything ive looked for points to 0.4.9 ffmpeg

I have ffmoeg 0.4.8-4 and devel 0.4.8.4
I have used fc3 rpms from the brilliant corey
Any ideas fellas

James