gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] how to pass klash kpart library path to gnash?


From: Praveen A
Subject: [Gnash-dev] how to pass klash kpart library path to gnash?
Date: Fri, 21 May 2010 22:31:38 +0530

Hi,

I'm trying to build a gnash snapshot binary on a Fedora 13 box, but
I'm getting some errors because the current spec file (or is it the
configure script itself?) does not consider the possibility of
/usr/lib64 directory.

I was able to get past some errors by adding libdir to the configure
scripts, but I'm stuck with the following error. I tried passing
--with-kde4-plugindir and --with-kde4-lib, but configure exited with
error (no plugins found and no libraries found)

Processing files: gnash-klash4-0.8.8_bzr.trunk12182-0.x86_64
error: File not found by glob:
/home/pravi/rpmbuild/BUILDROOT/gnash-0.8.8_bzr.trunk12182-0.x86_64/usr/lib64/kde4/libklashpart.*

Those files are actually present in /usr/lib instead of /usr/lib64

address@hidden:~/rpmbuild/SPECS$ ls
/home/pravi/rpmbuild/BUILDROOT/gnash-0.8.8_bzr.trunk12182-0.x86_64/usr/lib/kde4
libklashpart.la  libklashpart.so

RPM build errors:
    File not found by glob:
/home/pravi/rpmbuild/BUILDROOT/gnash-0.8.8_bzr.trunk12182-0.x86_64/usr/lib64/kde4/libkl
ashpart.*
address@hidden:~/rpmbuild/SPECS$ ls
/home/pravi/rpmbuild/BUILDROOT/gnash-0.8.8_bzr.trunk12182-0.x86_64/usr/lib/kde4
libklashpart.la  libklashpart.so

The changes I made so far are (build was failing without SDL-devel and
kdelibs3-devel too)

--- gnash.spec  2010-05-07 23:12:14.000000000 +0530
+++ gnash.spec.mine     2010-05-21 22:28:56.042273559 +0530
@@ -26,6 +26,8 @@
 BuildRequires:  kdelibs-devel >= 4.0, kdebase-devel >= 4.0, qt-devel >= 4.0
 # these are needed for the various renderers, which now all get built
 BuildRequires:  libXt-devel agg-devel gtkglext-devel libstdc++
+# More build dependecies uncovered from build errors
+BuildRequires: SDL-devel, kdelibs3-devel

 # The default Gnash package only includes the GTK parts, the rest
 # is in gnash-common.
@@ -191,6 +193,7 @@
        --disable-dependency-tracking \
        --disable-testsuite \
        --disable-rpath \
+        --libdir=%{_libdir} \
        --with-plugindir=%{_libdir}/mozilla/plugins

 make $MAKEFLAGS dumpconfig all
@@ -211,6 +214,7 @@
        --enable-sdkinstall \
        --disable-testsuite \
         --prefix=/usr \
+        --libdir=%{_libdir} \
        --mandir=%{_prefix}/share/man \
        --infodir=%{_prefix}/share/info \
        --with-plugins-install=system

So instead of taking /usr/lib, if there is a way to take /usr/lib64 in
case of 64 bits systems, I will be able to build it.

Thanks
Praveen
-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



reply via email to

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