google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

Problems with configure, make and checkinstall with v2.0.1 via subversion #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is several problems and how I solved them. I didn't really know where
to write this but figured Issues couldn't be completely wrong.

What steps will reproduce the problem?
1. svn checkout http://ffmpegthumbnailer.googlecode.com/svn/trunk/
ffmpegthumbnailer
2. ./configure --prefix=/usr/local --enable-shared
3. make
4. checkinstall
5. ffmpegthumbnailer

What is the expected output? What do you see instead?
Each of the steps above break with an error. More details below.

What version of the product are you using? On what operating system?
version 2.0.1 via subversion on a slim ubuntu karmic inside a VM. :)

Please provide any additional information below.
1. The svn checkout fails because I only had C and POSIX locales installed,
it needed UTF-8. Installing a utf8 locale and setting LC_CTYPE fixes the
problem. Do:
// Replace sv with your own language
apt-get install language-pack-sv language-pack-sv-base
// temporarily use utf8 
export LC_CTYPE=sv_SE.utf8
Ones the download was complete I reset LC_CTYPE to POSIX.

2. Configure tells me that it finds ffmpeg but can't find or use ffmpeg's
header files. This seems to fix itself when linking(?) but false failures
aren't fun.

3. Make fails with:
/usr/local/include/libavutil/common.h: In function 'int32_t
av_clipl_int32(int64_t)':                               #
/usr/local/include/libavutil/common.h:154: error: 'UINT64_C' was not
declared in this scope                  #

Editing common.h and adding '#define UINT64_C(value) __CONCAT(value, ULL)'
beneath the other #define's took away the problem but I'm not certain if
it's the proper way.

4. checkinstall fails when reading the version info. Do instead: 
 checkinstall --pkgversion 2.0.1

5. ffmpegthumbnailer crashes because it can't find a library file. I ran
ldconfig.

Hope this can help someone else.

Thanks for a great program!

/Cay

Original issue reported on code.google.com by cay.lund...@gmail.com on 27 Apr 2010 at 8:29

GoogleCodeExporter commented 9 years ago
I don't know what you did to your ffmpeg installation, but everything is 
working as it 
should here on Ubuntu Karmic.

Original comment by dirk.vdb on 29 Apr 2010 at 8:28

GoogleCodeExporter commented 9 years ago
Probably same issue as me, using a newly ffmpeg thats been rewritten a little 
and 
ffmpegthumbnailer cant find the ffmpeg files anymore. look at issue #61 for 
more info.

Original comment by foresigh...@gmail.com on 30 Apr 2010 at 7:35

GoogleCodeExporter commented 9 years ago
Yes, I had the same messages as you. I could compile ok though and got it to 
work
together with mediatomb creating thumbnails. So the install seems to work 
although
the ffmpeg files couldn't be found during ./configure.

Original comment by cay.lund...@gmail.com on 1 May 2010 at 6:01

GoogleCodeExporter commented 9 years ago
The fact that the headers can't be found at configure time is completely 
normal, the 
checks are there to see if the headers are located in the old locations or not. 
Since 
you are running a recent ffmpeg the headers are not in the old location so the 
new 
include locations are used.

Original comment by dirk.vdb on 3 May 2010 at 2:20

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 10 May 2010 at 11:38