mozilla, gcc3 i flash - ponownie

Michal Kochanowicz michal w michal.waw.pl
Wto, 15 Kwi 2003, 00:19:34 CEST


Idąc za radą, próbowałem:
flash.spec - nie zawiera pluginu.
macromedia-flash.spec - nie działa poprawnie.
swfdec.spec - nie buduje się, log poniżej.

Jakieś szanse żeby to uruchomić?


Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77933
Patch #0 (swfdec-configure.patch):
Patch #1 (swfdec-am.patch):
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77933
+ umask 022
+ cd /home/misiek/CVS_/pld/BUILD
+ cd swfdec-0.2.1
+ rm -f missing
+ libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
+ aclocal
+ autoheader
+ autoconf
+ automake -a -c -f --foreign
configure.ac: installing `./missing'
+ ./configure LDFLAGS=-s CFLAGS=-O2 -march=athlon CXXFLAGS=-O2 -march=athlon FFLAGS=-O2 -march=athlon CPPFLAGS= CC=athlon-pld-linux-gcc CXX=athlon-pld-linux-g++ --build=athlon-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking build system type... i686-pld-linux-gnu
checking host system type... i686-pld-linux-gnu
checking target system type... i686-pld-linux-gnu
configure: configuring swfdec for release
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... athlon-pld-linux-gcc
checking for C compiler default output... 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 athlon-pld-linux-gcc accepts -g... yes
checking for athlon-pld-linux-gcc option to accept ANSI C... none needed
checking dependency style of athlon-pld-linux-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... athlon-pld-linux-gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether athlon-pld-linux-g++ accepts -g... yes
checking dependency style of athlon-pld-linux-g++... gcc3
checking how to run the C++ preprocessor... athlon-pld-linux-g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from athlon-pld-linux-gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if athlon-pld-linux-gcc static flag  works... yes
checking if athlon-pld-linux-gcc supports -fno-rtti -fno-exceptions... yes
checking for athlon-pld-linux-gcc option to produce PIC... -fPIC
checking if athlon-pld-linux-gcc PIC flag -fPIC works... yes
checking if athlon-pld-linux-gcc supports -c -o file.o... yes
checking whether the athlon-pld-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the athlon-pld-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for athlon-pld-linux-g++ option to produce PIC... -fPIC
checking if athlon-pld-linux-g++ PIC flag -fPIC works... yes
checking if athlon-pld-linux-g++ supports -c -o file.o... yes
checking whether the athlon-pld-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for  option to produce PIC... -fPIC
checking if  PIC flag -fPIC works... no
checking if  supports -c -o file.o... no
checking whether the  linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... ./configure[17457]: -print-search-dirs: not found
GNU/Linux ld.so
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) athlon-pld-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether athlon-pld-linux-gcc accepts -g... (cached) yes
checking for athlon-pld-linux-gcc option to accept ANSI C... (cached) none needed
checking dependency style of athlon-pld-linux-gcc... (cached) gcc3
checking for athlon-pld-linux-gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether athlon-pld-linux-g++ accepts -g... (cached) yes
checking dependency style of athlon-pld-linux-g++... (cached) gcc3
checking how to run the C++ preprocessor... athlon-pld-linux-g++ -E
checking for strerror in -lcposix... no
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GLIB_LIBS... -lglib-2.0  
checking for gtk+-2.0... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GTK_LIBS... -Wl,--export-dynamic -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXi -lXinerama -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfreetype -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for libart-2.0... yes
checking LIBART_CFLAGS... -I/usr/include/libart-2.0  
checking LIBART_LIBS... -lart_lgpl_2  
checking for mad_decoder_finish in -lmad... yes
checking for gdk-pixbuf-query-loaders... /usr/bin/gdk-pixbuf-query-loaders
checking for gdk-pixbuf-2.0 >= 2.1.2... yes
checking PIXBUF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking PIXBUF_LIBS... -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libswfdec/Makefile
config.status: creating libswfdec/mpglib/Makefile
config.status: creating libswfdec/jpeg/Makefile
config.status: creating test/Makefile
config.status: creating plugin/Makefile
config.status: creating player/Makefile
config.status: creating pixbuf-loader/Makefile
config.status: creating swfdec.pc
config.status: creating swfdec.spec
config.status: creating config.h
config.status: executing depfiles commands
+ /usr/bin/make

[CIACH]

athlon-pld-linux-gcc -O2 -march=athlon -s -o .libs/swf_play -Wl,--export-dynamic swf_play-swf_play.o  ../libswfdec/.libs/libswfdec.so /usr/lib/libmad.so -L/usr/X11R6/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so -lXi -lXinerama /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so -lXft /usr/lib/libfreetype.so -lz -lXrender -lfontconfig /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libart_lgpl_2.so /usr/lib/libglib-2.0.so -L/usr/lib /usr/lib/libSDL.so /usr/lib/libasound.so /usr/lib/libartsc.so /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lX11 -lXext -ldl -lpthread
creating swf_play
make[2]: Leaving directory `/home/misiek/CVS_/pld/BUILD/swfdec-0.2.1/player'
Making all in plugin
make[2]: Entering directory `/home/misiek/CVS_/pld/BUILD/swfdec-0.2.1/plugin'
if /bin/sh ../libtool --mode=compile athlon-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/mozilla/plugin -I/usr/include/mozilla/java -I/usr/include/nspr -I/usr/X11R6/include -DBINDIR=\"/usr/bin\" -O2 -march=athlon -MT libmozswfdec_la-plugin.lo -MD -MP -MF ".deps/libmozswfdec_la-plugin.Tpo" \
  -c -o libmozswfdec_la-plugin.lo `test -f 'plugin.c' || echo './'`plugin.c; \
then mv ".deps/libmozswfdec_la-plugin.Tpo" ".deps/libmozswfdec_la-plugin.Plo"; \
else rm -f ".deps/libmozswfdec_la-plugin.Tpo"; exit 1; \
fi
mkdir .libs
 athlon-pld-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mozilla/plugin -I/usr/include/mozilla/java -I/usr/include/nspr -I/usr/X11R6/include -DBINDIR=\"/usr/bin\" -O2 -march=athlon -MT libmozswfdec_la-plugin.lo -MD -MP -MF .deps/libmozswfdec_la-plugin.Tpo -c plugin.c  -fPIC -DPIC -o .libs/libmozswfdec_la-plugin.o
plugin.c: In function `plugin_set_window':
plugin.c:172: structure has no member named `display'
make[2]: *** [libmozswfdec_la-plugin.lo] Error 1
make[2]: Leaving directory `/home/misiek/CVS_/pld/BUILD/swfdec-0.2.1/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/misiek/CVS_/pld/BUILD/swfdec-0.2.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.77933 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.77933 (%build)
Command exited with non-zero status 1
37.04user 6.41system 1:06.17elapsed 65%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (826527major+464897minor)pagefaults 0swaps
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!



Więcej informacji o liście dyskusyjnej pld-devel-pl