Hi Chris,

thanks a lot for your response and excuse my delayed answer (just had time 
again today).

I have installed the libraries you suggested, here is a list of the versions on 
my system:

*  media-libs/freetype
      Latest version available: 2.4.3-r1
      Latest version installed: 2.4.3-r1
      Size of files: 1,663 kB
      Homepage:      http://www.freetype.org/
      Description:   A high-quality and portable font engine
      License:       FTL GPL-2

*  media-libs/jpeg
      Latest version available: 8b
      Latest version installed: 8b
      Size of files: 953 kB
      Homepage:      http://jpegclub.org/ http://www.ijg.org/
      Description:   Library to load, handle and manipulate images in the JPEG 
format
      License:       as-is

*  media-sound/lame
      Latest version available: 3.98.2-r1
      Latest version installed: 3.98.2-r1
      Size of files: 1,296 kB
      Homepage:      http://lame.sourceforge.net
      Description:   LAME Ain't an MP3 Encoder
      License:       LGPL-2.1

*  media-libs/giflib
      Latest version available: 4.1.6-r1
      Latest version installed: 4.1.6-r1
      Size of files: 494 kB
      Homepage:      http://sourceforge.net/projects/giflib/
      Description:   Library to handle, display and manipulate GIF images
      License:       MIT

Unfortunately it still breaks on the make command, attached the output of 
configure and make.

# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether gcc supports lazy variable declaration... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gzip... gzip
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for target system... 
checking for sin in -lm... yes
checking for deflate in -lz... yes
checking for PDF_open_file in -lpdf... no
checking for jpeg_write_raw_data in -ljpeg... yes
checking for DGifOpen in -lungif... no
checking for DGifOpen in -lgif... yes
checking for zzip_file_open in -lzzip... no
checking for byte order... little endian
checking whether system() can handle command substitution... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for sys/stat.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/bsdtypes.h usability... no
checking sys/bsdtypes.h presence... no
checking for sys/bsdtypes.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking pdflib.h usability... no
checking pdflib.h presence... no
checking for pdflib.h... no
checking zzip/lib.h usability... no
checking zzip/lib.h presence... no
checking for zzip/lib.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for boolean... no
checking for popen... yes
checking for wcschr... yes
checking for wcsdup... yes
checking for mkstemp... yes
checking for stat... yes
checking for mmap... yes
checking for lrand48... yes
checking for rand... yes
checking for srand48... yes
checking for srand... yes
checking for bcopy... yes
checking for bzero... yes
checking for time... yes
checking for getrusage... yes
checking for mallinfo... yes
checking for open64... yes
checking for calloc... yes
checking size of signed char... 1
checking size of signed short... 2
checking size of signed... 4
checking size of signed long long... 8
checking size of void*... 8
checking for freetype-config... /usr/bin/freetype-config
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking whether we can compile the freetype test program... yes
checking for FcInit in -lfontconfig... yes
checking fontconfig.h usability... yes
checking fontconfig.h presence... yes
checking for fontconfig.h... yes
checking whether we can compile the fontconfig test program... yes
checking for fftw_plan_dft_r2c_2d in -lfftw3... no
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
checking for lame_init in -lmp3lame... yes
checking lame.h usability... yes
checking lame.h presence... yes
checking for lame.h... yes
checking whether the filesystem normalizes file names... no
checking for avifile-config... no
checking whether we can compile the avifile test program... no
checking for Python version... 3.1
checking for Python executable... python3.1
checking whether we can compile the Python test program... yes
checking for Python install path... /usr/lib64/python3.1/site-packages
checking for Python-Imaging... no
checking for ruby... /usr/bin/ruby
checking for ruby's include directory... /usr/lib64/ruby/1.8/x86_64-linux
checking for ruby's cpp flags...   
checking for ruby's ld flags... "-Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 
x86_64-pc-linux-gnu-gcc -shared"
checking for ruby library name... ruby18
checking ruby.h usability... yes
checking ruby.h presence... yes
checking for ruby.h... yes
checking whether we should compile the ruby module... no
checking for missing libraries... 
configure: creating ./config.status
config.status: creating Makefile.common
config.status: WARNING:  'Makefile.common.in' seems to ignore the --datarootdir 
setting
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/action/Makefile
config.status: creating src/Makefile
config.status: creating lib/pdf/Makefile
config.status: creating swfs/Makefile
config.status: creating lib/python/Makefile
config.status: creating lib/readers/Makefile
config.status: creating config.h
# make
making all in m4...
cd m4;make all
make[1]: Entering directory `/root/swftools-2010-10-12-2000/m4'
make[1]: Leaving directory `/root/swftools-2010-10-12-2000/m4'
making all in lib...
cd lib;make all
make[1]: Entering directory `/root/swftools-2010-10-12-2000/lib'
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfaction.c -o modules/swfaction.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfbits.c -o modules/swfbits.o
modules/swfbits.c: In function ‘file_empty_output_buffer’:
modules/swfbits.c:443: warning: ignoring return value of ‘fwrite’, declared 
with attribute warn_unused_result
modules/swfbits.c: In function ‘file_term_destination’:
modules/swfbits.c:456: warning: ignoring return value of ‘fwrite’, declared 
with attribute warn_unused_result
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfbutton.c -o modules/swfbutton.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfcgi.c -o modules/swfcgi.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfdraw.c -o modules/swfdraw.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfdump.c -o modules/swfdump.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swffilter.c -o modules/swffilter.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swffont.c -o modules/swffont.o
modules/swffont.c: In function ‘isSWF’:
modules/swffont.c:572: warning: ignoring return value of ‘fread’, declared 
with attribute warn_unused_result
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfobject.c -o modules/swfobject.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfrender.c -o modules/swfrender.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfshape.c -o modules/swfshape.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfsound.c -o modules/swfsound.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swftext.c -o modules/swftext.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swftools.c -o modules/swftools.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I 
/usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O 
-fomit-frame-pointer  modules/swfalignzones.c -o modules/swfalignzones.o
In file included from modules/swfalignzones.c:2:
modules/../graphcut.c:27:20: error: ../mem.h: No such file or directory
In file included from modules/swfalignzones.c:2:
modules/../graphcut.c: In function ‘posqueue_notempty’:
modules/../graphcut.c:103: warning: cast from pointer to integer of different 
size
make[1]: *** [modules/swfalignzones.o] Error 1
make[1]: Leaving directory `/root/swftools-2010-10-12-2000/lib'
make: *** [all] Error 2

Maybe I am still missing some essential library?

Thanks again. 
Andreas

On 04.11.2010, at 06:33, Chris Ohmstede wrote:

> On 11/02/2010 02:18 PM, Andreas M. Eberharter wrote:
>> Hi all,
>> 
>> I would like to test FlashExtractor and tried to install the latest 
>> Development Snapshot on my Linux machine, which failed with the following 
>> error:
>> 
>> In file included from modules/swfalignzones.c:2:
>> modules/../graphcut.c:27:20: error: ../mem.h: No such file or directory
>> In file included from modules/swfalignzones.c:2:
>> modules/../graphcut.c: In function ‘posqueue_notempty’:
>> modules/../graphcut.c:103: warning: cast from pointer to integer of 
>> different size
>> make[1]: *** [modules/swfalignzones.o] Error 1
>> make[1]: Leaving directory `/root/swftools-2010-10-12-2000/lib'
>> make: *** [all] Error 2
>> 
>> I am using Gentoo Linux:
>> 
>> swftools-2010-10-12-2000 # emerge --info
>> Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, 
>> glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
>> =================================================================
>> System uname: 
>> Linux-2.6.33-gentoo-r2-x86_64-AMD_Sempron-tm-_Processor_LE-1250-with-gentoo-1.12.13
>> Timestamp of tree: Tue, 02 Nov 2010 19:45:01 +0000
>> 
>> I have attached output of the ./configure and make commands as text files.
>> 
>> If anybody of you does now, what could be the problem, I highly appreciate 
>> it.
>> Thanks in advance
>> 
>> Andreas
>> 
>> 
> Hi Andreas
> I'm the programmer for FlashExtractor so I can't really speak for SWFTools, 
> but I went ahead and took a shot at recreating your problem.  In a nutshell, 
> I couldn't, but a cursory look at the code, I thought I saw a code path where 
> the error could occur.  This tends to tell me that our environments are 
> different and I checked for differences in our ./configure output.  Let's try 
> this, install lame, lame development, libgif, and libgif development and try 
> to compile again (make sure to rerun ./configure.)  I'm unfamiliar with 
> Gentoo Linux, but these are common libraries and I expect you want have any 
> problem finding them in your distro.  If you have trouble finding them, I can 
> give you the names of the Fedora and Ubuntu packages if that will help.
> 
> Let me know if this works.  If not, we'll keep digging.
> 
> Chris

Reply via email to