On Monday 30 August 2010 00:58:18 luxInteg wrote:
> On Sunday 29 August 2010 22:50:41 Ken Moffat wrote:
> > Note that I don't actually _want_ the gui, all I need is
> >
> > the plugin, but it doesn't seem to allow for any "no gui"
>
> emm I am having problems with the latter: see below
>
> I am trying to build gnash to use on konqueror. (I have tried both 0.8.7
> and 0.8.8).
> My build machine have these:-
>
> --------CPU amd64 2 cores
> --------cblfs kernel2.6.34 64-bit only
> --------X: xorg 7.5 kde-4.4.5, qt-4.6.2, gtk-2.18.9
> --------compiler gcc-4.4.2
> any ideas how to proceed for konqueror?
UPDATE
The machine I used had both qt3 and qt4 and gnash seems to set $QTDIR over
$QT4DIR.
With the necessary fix the build procedure now results in a 'bit-more '
progress.
For a test run I have passed these to configire:-
--prefix=/home/linteg/gnashTEST3 \
CXX="g++ -m64" CC="gcc -m64" \
--with-plugins-install=prefix \
--with-npapi-install=prefix \
--enable-gui=kde4,gtk \
(A) ######### the configure spew has the following:-
-------------------------------------------------
NPAPI plugin will be installed in ${prefix}/npapi
KPARTS 4.x plugin enabled (default). Use --disable-kparts4 to disable
KPARTS 4.x plugin will be installed in
/home/linteg/gnashTEST3/lib/kde4
KPARTS 4.x service will be installed in
/home/linteg/gnashTEST3/share/kde4/services
KPARTS 4.x config dir will be in
/home/linteg/gnashTEST3}/share/kde4/config
KPARTS 4.x appsdata will be installed in
/home/linteg/gnashTEST3/share/kde4/apps/klash
Configured paths for x86_64-unknown-linux-gnu are:
QT4 flags are: -I/opt/qt-4.6.2/include -
I/opt/qt-4.6.2/include/QtOpenGL -I/opt/qt-4.6.2/include/QtCore -
I/opt/qt-4.6.2/include/QtGui
QT4 libs are: -L/opt/qt-4.6.2/lib -lQtGui -lQtCore
KDE 4.x flags are: -I/opt/kde-4.4.5/include
KDE 4.x libs are: -L/opt/kde-4.4.5/lib -lkdeui -lkdecore
(B) ###### the compiler spew (reporting no errors) has the following :-
----------------------------------------------------------------------
g++: /usr/X11R7.5/include: linker input file unused because linking not done
CXXLD gtk-gnash
cp gnash.in gnash
chmod +x gnash
make[4]: Leaving directory `$SOURCES/gnash-0.8.8/gui'
make[3]: Leaving directory `$SOURCES/gnash-0.8.8/gui'
make[2]: Leaving directory `$SOURCES/gnash-0.8.8/gui'
Making all in plugin
make[2]: Entering directory `$SOURCES/gnash-0.8.8/plugin'
Making all in klash4
make[3]: Entering directory `$SOURCES/gnash-0.8.8/plugin/klash4'
Generating MOC 4.x file...
make all-am
make[4]: Entering directory `$SOURCES/gnash-0.8.8/plugin/klash4'
CXX klash_part.lo
klash_part.cpp: In member function 'virtual bool
KlashLiveConnectExtension::call(long unsigned int, const QString&, const
QStringList&, KParts::LiveConnectExtension::Type&, long unsigned int&,
QString&)':
klash_part.cpp:471: warning: comparison between signed and unsigned integer
expressions
CXXLD libklashpart.la
make[4]: Leaving directory `$SOURCES/gnash-0.8.8/plugin/klash4'
make[3]: Leaving directory `$SOURCES/gnash-0.8.8/plugin/klash4'
Making all in npapi
make[3]: Entering directory `$SOURCES/gnash-0.8.8/plugin/npapi'
make[4]: Entering directory `$SOURCES/gnash-0.8.8/plugin/npapi'
CXX libgnashplugin_la-plugin.lo
CXX libgnashplugin_la-npn_gate.lo
CXX libgnashplugin_la-npp_gate.lo
mozilla-sdk/npp_gate.cpp:59: warning: unused parameter 'save'
CXX libgnashplugin_la-np_entry.lo
CXX libgnashplugin_la-pluginScriptObject.lo
CXX libgnashplugin_la-callbacks.lo
CXX libgnashplugin_la-external.lo
CXXLD libgnashplugin.la
make[4]: Leaving directory `$SOURCES/gnash-0.8.8/plugin/npapi'
make[3]: Leaving directory `$SOURCES/gnash-0.8.8/plugin/npapi'
make[3]: Entering directory `$SOURCES/gnash-0.8.8/plugin'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `$SOURCES/gnash-0.8.8/plugin'
(c) ###### BUT the installed has the promised files in (A) missing:-
--------------------------------------------------------------
linteg [ ~ ]#
linteg [ ~ ]#
linteg [ ~ ]# ls /home/linteg/gnashTEST3/lib
gnash pkgconfig
linteg [ ~ ]# ls /home/linteg/gnashTEST3/lib/gnash
libgnashbase-0.8.8.so libgnashcore-0.8.8.so libgnashmedia-0.8.8.so
libgnashrender.a libgnashrender.so.0.0.0 libgnashsound.so
libgnashbase.a libgnashcore.a libgnashmedia.a
libgnashrender.la libgnashsound-0.8.8.so
libgnashbase.la libgnashcore.la libgnashmedia.la
libgnashrender.so libgnashsound.a
libgnashbase.so libgnashcore.so libgnashmedia.so
libgnashrender.so.0 libgnashsound.la
linteg [ ~ ]#
linteg [ ~ ]# ls /home/linteg/gnashTEST3/bin
gnash gprocessor gtk-gnash kde4-gnash rtmpget
linteg [ ~ ]#
linteg [ ~ ]# ls /home/linteg/gnashTEST3/share/kde4
apps services
linteg [ ~ ]#
linteg [ ~ ]# ls /home/linteg/gnashTEST3/share/kde4/services
klash_part.desktop
linteg [ ~ ]#
linteg [ ~ ]# ls /home/linteg/gnashTEST3/share/kde4/apps/klash
pluginsinfo
linteg [ ~ ]#
linteg [ ~ ]#
Any ideas?
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page