|
From: | Kristian Erikson |
Subject: | [Gnash-dev] Problem building Gnash 0.8.6 - Cygnal |
Date: | Thu, 3 Dec 2009 11:37:23 +1300 |
We're having some problems with Building Gnash 0.8.6 using our build script (SPEC file and rpmbuild) and I was wondering if anyone has come across this one before.
Our configure is something like this:
---------------------------------------------------------------------------
%build
# --enable-ghelp is disabled
# We use /usr (_kde4_prefix) as the Qt prefix because the stuff it's looking for
# is actually in /, not in the QT4DIR (_qt4_prefix).
%configure --disable-static --with-npapi-plugindir=%{_libdir}/mozilla/plugins \
--enable-docbook --enable-ghelp --enable-media=GST \
--disable-dependency-tracking --disable-rpath \
--enable-cygnal \
--enable-gui=gtk,kde4,sdl,fb \
--with-qt4=%{_kde4_prefix} \
--with-kde4-prefix=%{_kde4_prefix} \
--with-kde4-lib=%{_kde4_libdir}/kde4/devel \
--with-kde4-incl=%{_kde4_includedir}
# make sure the Qt 4 moc etc. tools are found
export PATH=%{_qt4_prefix}/bin:$PATH
#doesn't work currently: %%{?_smp_mflags}
# override KDE4_LIBS because configure doesn't detect it properly
make KDE4_LIBS='-L%{_kde4_libdir}/kde4/devel -lkparts -lkdeui -lkdecore
---------------------------------------------------------------------------
The compile error we're getting goes like this:
---------------------------------------------------------------------------
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../libbase -I../../../libamf -I../../../libnet -I../../../libcore -I../../../libltdl -I../../../cygnal -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c oflaDemo.cpp -fPIC -DPIC -o .libs/oflaDemo.o oflaDemo.cpp: In function 'int main(int, char**)': oflaDemo.cpp:239: warning: 'netfd' may be used uninitialized in this function make[4]: *** No rule to make target `../../../libcore/libgnashcore.la', needed by `oflaDemo.la'. Stop. make[4]: Leaving directory `/home/build/rpms/BUILDROOT/gnash-0.8.6/cygnal/cgi-bin/oflaDemo' make[4]: Entering directory `/home/build/rpms/BUILDROOT/gnash-0.8.6/cygnal/cgi-bin'
...
make[3]: Leaving directory `/home/build/rpms/BUILDROOT/gnash-0.8.6/testsuite/movies.all' make[2]: Leaving directory `/home/build/rpms/BUILDROOT/gnash-0.8.6/testsuite' make[2]: Entering directory `/home/build/rpms/BUILDROOT/gnash-0.8.6' make[2]: Leaving directory `/home/build/rpms/BUILDROOT/gnash-0.8.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/build/rpms/BUILD/gnash-0.8.6' make: *** [all] Error 2 error: Bad exit status from /home/build/rpms/tmp/rpm-tmp.eHh0Tg (%build) RPM build errors: Bad exit status from /home/build/rpms/tmp/rpm-tmp.eHh0Tg (%build)
---------------------------------------------------------------------------
Is there anyone out there with any ideas as to what we're doing wrong? Or maybe which dependency we're missing? Any help would be greatly appreciated as I can't make any sense of this one.
Cheers, Kristian
[Prev in Thread] | Current Thread | [Next in Thread] |