google-code-export / ffmpegthumbnailer

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

Missing headers required to compile ffmpegthumbnailer #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2.
3.

What is the expected output? What do you see instead?
to configure... instead I see "configure: error: Missing headers required to 
compile 
ffmpegthumbnailer "

What version of the product are you using? On what operating system? 
ffmpegthumbnailer 
1.3.0... Mac OS X 10.5.5

Please provide any additional information below.

When I try to configure I get this... 
 
checking dynamic linker characteristics... darwin9.5.0 dyld 
checking how to hardcode library paths into programs... immediate 
checking for special C compiler options needed for large files... no 
checking for _FILE_OFFSET_BITS value needed for large files... no 
checking for ANSI C header files... (cached) yes 
checking for inttypes.h... (cached) yes 
checking for sys/stat.h... (cached) yes 
checking jpeglib.h usability... no 
checking jpeglib.h presence... no 
checking for jpeglib.h... no 
configure: error: Missing headers required to compile ffmpegthumbnailer 
 
I could not install ffmpeg using fink on my Mac Pro... I had to use ports to 
install it because of 
various errors fink gave me. I was reading that you need to have the ffmpeg dev 
package 
installed for thumbnailer? Then i was reading the only dependencies 
ffmpegthumbnailer has is 
libjpeg and libpng... when I try to install ffmpegdev from fink I get another 
error... heres a bunch 
of lines... 
 
# Use fink's freetype219 and expat1 
sed -e "s|-L$X11_ROOT/lib||g" \ 
-e "s|$X11_ROOT/lib/libfreetype.la|-L$FT_LIB $FT_LIB/libfreetype.la|" \ 
-e "s|/usr/lib/libexpat.la|-L/sw/lib /sw/lib/libexpat.la|" \ 
-e "s|libdir=$X11_ROOT/lib|libdir=$FC_LIB|" \ 
"$X11_ROOT/lib/libfontconfig.la" > "$FC_ROOT/lib/libfontconfig.fink.la" 
sed: /usr/X11/lib/libfontconfig.la: No such file or directory 
### execution of /var/tmp/tmp.1.sZydsR failed, exit code 1 
Removing runtime build-lock... 
Removing build-lock package... 
/sw/bin/dpkg-lockwait -r fink-buildlock-fontconfig2-dev-2.4.1-104 
(Reading database ... 12971 files and directories currently installed.) 
Removing fink-buildlock-fontconfig2-dev-2.4.1-104 ... 
Failed: phase installing: fontconfig2-dev-2.4.1-104 failed 
 
Before reporting any errors, please run "fink selfupdate" and 
try again. If you continue to have issues, please check to see if the 
FAQ on fink's website solves the problem. If not, ask on the fink-users 
or fink-beginners mailing lists, with a carbon copy to the maintainer: 

Original issue reported on code.google.com by sudodae...@gmail.com on 1 Jan 2009 at 9:22

GoogleCodeExporter commented 9 years ago
It appears you don't have the development files for libjpeg installed. 
Configure can
not find the jpeglib.h file in your include path.

Original comment by dirk.vdb on 1 Jan 2009 at 10:16

GoogleCodeExporter commented 9 years ago
Sorry to sound like an idiot but... the file jpeglib.h is in this directory on 
my computer... /sw/include/

How do I modify the ./configure command to look there for this file...

Original comment by sudodae...@gmail.com on 1 Jan 2009 at 10:50

GoogleCodeExporter commented 9 years ago
Try this:

./configure --includedir=/sw/include

Original comment by dirk.vdb on 1 Jan 2009 at 11:05

GoogleCodeExporter commented 9 years ago
This also happened to me. (Mac OS X 10.5.6) All dependencies installed with 
fink.
(libjpeg 6b-17)

./configure --includedir=/sw/include

Still results in:

checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: error: Missing headers required to compile ffmpegthumbnailer

Original comment by dak...@gmail.com on 11 Jan 2009 at 12:33

GoogleCodeExporter commented 9 years ago
Make sure jpeglib.h is in your include directory

Original comment by dirk.vdb on 11 Jan 2009 at 12:46

GoogleCodeExporter commented 9 years ago
It is:

/sw/include/jpeglib.h

Original comment by dak...@gmail.com on 12 Jan 2009 at 12:49

GoogleCodeExporter commented 9 years ago
Well, this beats me. If the file is there and you supply the include path it 
should
definitely find it. Permission issue? 

Original comment by dirk.vdb on 12 Jan 2009 at 8:55

GoogleCodeExporter commented 9 years ago
I do not think so;

sudo ./configure --includedir=/sw/include

also fails.

Original comment by dak...@gmail.com on 12 Jan 2009 at 12:46

GoogleCodeExporter commented 9 years ago
Use macports and install libpng and make sure you have ffmpeg installed with 
the appropriate variants (gpl, 
lame, x264, xvid, avfilter).

Original comment by bburton...@gmail.com on 10 Feb 2009 at 9:44

GoogleCodeExporter commented 9 years ago
I have installed all of these things using fink.  I do not use macports.

Original comment by dak...@gmail.com on 10 Feb 2009 at 10:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I found that this helped a lot when I was banging my head against a wall with 
this...

http://www.ayman-naaman.net/2008/12/28/the-peoples-build/

I haven't tried the suggested flags through the fink installation but instead 
of /opt/local/ using sw/ should work, 
all the packages are there.

Original comment by bburton...@gmail.com on 10 Mar 2009 at 2:38

GoogleCodeExporter commented 9 years ago
I got it to work with the following;

svn checkout http://ffmpegthumbnailer.googlecode.com/svn/trunk/ 
ffmpegthumbnailer; cd
ffmpegthumbnailer; ./autogen.sh; env CPPFLAGS='-I/sw/include' 
LDFLAGS='-L/sw/lib'
PKG_CONFIG='/sw/bin/pkg-config' PKG_CONFIG_PATH='/sw/lib/pkgconfig' ./configure;
make; sudo make install

You do have to be careful that you have the correct dev packages installed or 
it will
tell you that you do not have ffmpeg.

Original comment by dak...@gmail.com on 10 Mar 2009 at 10:53