swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Compile swftools-0.7.0 and/or CVS errors


From: Barton Bosch
Subject: Re: [Swftools-common] Compile swftools-0.7.0 and/or CVS errors
Date: Sun, 26 Nov 2006 23:30:51 -0800

On 11/22/06, Matthias Kramm <address@hidden> wrote:
On Sun, Nov 19, 2006 at 03:39:02PM -0800, Barton wrote:
> I'm trying to compile swftools on an updated Fedora Core 5 system but
> have run into show stoppers with both the 0.7.0 release and CVS
> checkout;  both appear to involve pdf2swf.
>
> 0.7.0 configures successfully (omitting avi2swf due to missing
> libraries) but 'make' errors out with:
>
> make[1]: Entering directory `/usr/local/src/swftools-0.7.0/pdf2swf'
> g++ -c -DHAVE_CONFIG_H   -I/usr/include/freetype2
> -I/usr/include/fontconfig -I /usr/include/lame -Wparentheses -Wimplicit
> -Wreturn-type -O -fomit-frame-pointer  -I../lib -Ixpdf SWFOutputDev.cc
> -o SWFOutputDev.o
> SWFOutputDev.cc:248: error: extra qualification ?SWFOutputDev::? on
> member ?setGfxFont?

Yes, 0.7.0 doesn't compile anymore with newer gcc versions.


Ah ok, thanks for the info.  This is the first time I'm dealing with
the jump to the newer gccs in trying to get a fully updated system
installed and running stably.


> CVS can't complete the configuration because pdf2swf/fonts does not have
>  a Makefile:

Fixed. Could you try CVS again?

Ok, fresh checkout and now it does configure but all the wrinkles
aren't quite ironed out yet;  there's a couple errors in the make
process, apparently something to do with pdflib:

address@hidden swftools]# make
making all in m4...
cd m4;make all
make[1]: Entering directory `/usr/local/src/swftools/m4'
make[1]: Leaving directory `/usr/local/src/swftools/m4'
making all in lib...
cd lib;make all
make[1]: Entering directory `/usr/local/src/swftools/lib'
ar r librfxswf.a rfxswf.o drawer.o bitio.o log.o MD5.o mem.o
lame/psymodel.o lam e/fft.o lame/newmdct.o lame/quantize.o
lame/takehiro.o lame/reservoir.o lame/qua ntize_pvt.o
lame/vbrquantize.o lame/encoder.o lame/id3tag.o lame/version.o lame/
tables.o lame/util.o lame/bitstream.o lame/set_get.o lame/VbrTag.o
lame/lame.o h .263/dct.o h.263/h263tables.o h.263/swfvideo.o
action/assembler.o action/compile .o action/lex.swf4.o
action/lex.swf5.o action/libming.o action/swf4compiler.tab. o
action/swf5compiler.tab.o action/actioncompiler.o
ranlib librfxswf.a
cd pdf;make ../pdflib.a;cd ..
make[2]: Entering directory `/usr/local/src/swftools/lib/pdf'
make[2]: *** No rule to make target `../pdflib.a'.  Stop.
make[2]: Leaving directory `/usr/local/src/swftools/lib/pdf'
make[1]: Leaving directory `/usr/local/src/swftools/lib'
making all in lib/python...
cd lib/python;make all
make[1]: Entering directory `/usr/local/src/swftools/lib/python'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/swftools/lib/python'
making all in src...
cd src;make all
make[1]: Entering directory `/usr/local/src/swftools/src'
gcc -DHAVE_CONFIG_H wav2swf.o ../lib/wav.o -o wav2swf
../lib/librfxswf.a -L/usr/ local/lib -lungif -lt1 -ljpeg -lz -lm
-lfreetype -lz
strip wav2swf
gcc -DHAVE_CONFIG_H png2swf.o -o png2swf ../lib/librfxswf.a
-L/usr/local/lib -lu ngif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip png2swf
gcc -DHAVE_CONFIG_H swfcombine.o -o swfcombine ../lib/librfxswf.a
-L/usr/local/l ib -lungif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip swfcombine
gcc -DHAVE_CONFIG_H swfstrings.o -o swfstrings ../lib/librfxswf.a
-L/usr/local/l ib -lungif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip swfstrings
gcc -DHAVE_CONFIG_H swfextract.o -o swfextract ../lib/librfxswf.a
-L/usr/local/l ib -lungif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip swfextract
gcc -DHAVE_CONFIG_H swfdump.o -o swfdump ../lib/librfxswf.a
-L/usr/local/lib -lu ngif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip swfdump
gcc -DHAVE_CONFIG_H parser.o swfc.o ../lib/q.o ../lib/mp3.o
../lib/wav.o ../lib/ png.o -o swfc ../lib/librfxswf.a -L/usr/local/lib
-lungif -lt1 -ljpeg -lz -lm  - lfreetype -lz
strip swfc
gcc -DHAVE_CONFIG_H jpeg2swf.o -o jpeg2swf ../lib/librfxswf.a
-L/usr/local/lib - lungif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip jpeg2swf
gcc -DHAVE_CONFIG_H gif2swf.o -o gif2swf ../lib/librfxswf.a
-L/usr/local/lib -lu ngif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip gif2swf
gcc -DHAVE_CONFIG_H swfbbox.o -o swfbbox ../lib/librfxswf.a
-L/usr/local/lib -lu ngif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip swfbbox
gcc -DHAVE_CONFIG_H font2swf.o -o font2swf ../lib/librfxswf.a
-L/usr/local/lib - lungif -lt1 -ljpeg -lz -lm  -lfreetype -lz
strip font2swf
make[1]: *** No rule to make target `../lib/libpdf.a', needed by
`pdf2swf'.  Sto p.
make[1]: Leaving directory `/usr/local/src/swftools/src'
make: *** [all] Error 2



Is pdflib a requirement?  I didn't see it listed in the SWFTools FAQ
and it appears to be a proprietary library with only third party
repackagers offering rpms, so I'm not in a big hurry to install it.

Could you shed a little more light on the above?  Thank you.


Barton




reply via email to

[Prev in Thread] Current Thread [Next in Thread]