1.19.0, wont build on the live cd version.

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
wheelbarrow
Posts: 43
Joined: Sat Feb 21, 2004 7:39 pm

1.19.0, wont build on the live cd version.

Post by wheelbarrow »

Hi Gys, I've upgraded from the live cd 1.17.0 to 1.18.1 with no problems. However....

I know want to use 1.19.0 as this fixes some of the problems with 1.18.1.

So i downloaded it and ran configure with the --with-ffmpeg with /usr/local/src/ffmpeg-0.4.8 but the message says libavformat.a is required for streaming. it's odd as doing find / -name libavformat.a it is in the /usr/local/src/ffmpeg-0.4.8/libavformat/libavformat.a

so can anyone help me work why this is the case.

regards


Paul
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: 1.19.0, wont build on the live cd version.

Post by zoneminder »

What was the output of your configure command, did it find those libraries ok?

Phil,
wheelbarrow
Posts: 43
Joined: Sat Feb 21, 2004 7:39 pm

Re: 1.19.0, wont build on the live cd version.

Post by wheelbarrow »

Hi Phil,

Ok i downloaded ffmpeg, did configure, make and make install.

The out put form the zm config says that it finds :-

avcodec_init in -lavcodec... yes

but

av_new_stream in -lavformat... no
lame_init in -lmp3lame... no


So is there some software i need to install.

ffmpeg is in /usr/local/src/ffmpeg
and /usr/local/bin

regards

Paul
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: 1.19.0, wont build on the live cd version.

Post by zoneminder »

Hi Paul,

You may be better of getting the pre-repease 1.19.1 which has changed the sense of the --with-ffmpeg option to instead point to the _installed_ root rather than the build root. If you do 'make installlibs' in ffmpeg it will instal the libraries and headers and then with 1.19.1 you would say --with-ffmpeg=/usr/local or something along those lines. Otherwise I don't know why one library should be detected and not the other, do they both exist?

Phil,
wheelbarrow
Posts: 43
Joined: Sat Feb 21, 2004 7:39 pm

Re: 1.19.0, wont build on the live cd version.

Post by wheelbarrow »

Hi Phil,

I've downloaded the 1.19.1 and made sure i did make installlib in ffmpeg

if i do find / -name libavformat.a

i get

/usr/local/lib/libavformat.a and
/usr/local/src/ffmpeg-0.4.8/libavformat/libavformat.a

but still ./configure says it doesen't exist. when i say --with-ffmpeg=/usr/local

the libavformat file is 2727178 byes, and the libavcodec is 62004468.

can you see if they are the same on your machine. is there anything else you can think of.


Regards

Paul
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: 1.19.0, wont build on the live cd version.

Post by zoneminder »

Hi Paul,

Try --with-ffmpeg=/usr/local/lib the README is wrong, it's not really the root per se I think.

Phil,
wheelbarrow
Posts: 43
Joined: Sat Feb 21, 2004 7:39 pm

Re: 1.19.0, wont build on the live cd version.

Post by wheelbarrow »

Hi Phil,
wheelbarrow
Posts: 43
Joined: Sat Feb 21, 2004 7:39 pm

Re: 1.19.0, wont build on the live cd version.

Post by wheelbarrow »

Hi Phil,

Whilst i try and work out my problems building 1.19.0 and 1.19.1 and the ffmpeg problems. Is there a simple way i can get the sql database to back to how it should be for 1.18.1

As the new way chages the way 18.1 works.


Thanks


Paul
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: 1.19.0, wont build on the live cd version.

Post by zoneminder »

Hi Paul,

I don't think there's a very simple way of going back to the 1.18.1 database I'm afraid, though I'll take a look.

I wouldn't bother with 1.19.0 any more just use 1.19.1 and have you tried using configure without and --with-ffmpeg at all? If it can't find it it should build but with no mpeg support, if it can find it by itself then it might well build alright anyway.

Phil,
wheelbarrow
Posts: 43
Joined: Sat Feb 21, 2004 7:39 pm

Re: 1.19.0, wont build on the live cd version.

Post by wheelbarrow »

Hey Phil,

I've sussed it out now, so no need to go back.

There was an old version of the lib lurking.

But it's built now and working. Just got to read the other threads to find out why i'm just getting a black square on the mpeg.

Keep up the great work.

Regards

Paul
Post Reply