LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-26-2010, 07:08 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Rep: Reputation: 177Reputation: 177
gecko-mediaplayer-1.0.0 compile error


I am trying to compile gecko-mediaplayer-1.0.0 on -current but I am getting an error related to seamonkey. The error is

sr/include/seamonkey-2.1b1/nspr -I/usr/include/seamonkey-2.1b1 -I/usr/include/seamonkey-2.1b1/xpcom -I/usr/include/seamonkey-2.1b1/string -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DMOZILLA_STRICT_API -DXP_UNIX -O2 -fPIC -MT plugin.o -MD -MP -MF .deps/plugin.Tpo -c -o plugin.o plugin.cpp
In file included from /usr/include/seamonkey-2.1b1/plugin/nsrootidl.h:11:0,
from /usr/include/seamonkey-2.1b1/plugin/nsISupports.h:10,
from /usr/include/seamonkey-2.1b1/plugin/nsIPrefBranch.h:10,
from plugin.cpp:45:
/usr/include/seamonkey-2.1b1/plugin/nscore.h:50:32: fatal error: mozilla/mozalloc.h: No such file or directory
compilation terminated.
make[2]: *** [plugin.o] Error 1
make[2]: Leaving directory `/tmp/build/tmp-gecko-mediaplayer/gecko-mediaplayer-1.0.0/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/build/tmp-gecko-mediaplayer/gecko-mediaplayer-1.0.0/src'
make: *** [install-recursive] Error 1


Looks like Seamonkey is the problem, I am googling around for an answer but if anybody knows whats going on here, please let me know.

Thanks
 
Old 12-26-2010, 10:36 PM   #2
slowpoke
Member
 
Registered: Feb 2010
Posts: 33

Rep: Reputation: 15
I had the same problem but Eric's slackbuild worked.
http://connie.slackware.com/~alien/s...aplayer/build/
hope this helps
 
Old 12-27-2010, 01:43 AM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
actually his is doing the same thing. I have tried Eric's, SBO, and src2pkg. They all give the same error for me.
 
Old 12-27-2010, 05:14 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Quote:
mozilla/mozalloc.h: No such file or directory
This file is present in the source
ftp://ftp.slackware.org.uk/slackware....source.tar.xz
> seamonkey-2.1b1.source.tar.xz > > comm-central/

→ find comm-central/* -name mozalloc.h
The reply is : comm-central/mozilla/memory/mozalloc/mozalloc.h
( mozalloc/* are new files, not present in previous versions :
2.0 has mozilla/memory/jemalloc/* ).

When you Google .. mozilla/mozalloc.h: No such file or directory ..
.. one of the first hits will suggest "seamonkey-sdk".

I'd guess, a mozilla/ directory in /usr/include/ with the required headers will do.

Also : there is a patch, gecko-mediaplayer-1.0.0-libxul2.patch :
http://gecko-mediaplayer.googlegroup...2.patch?part=2
Quote : ... [GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC" ....

..

Last edited by knudfl; 12-27-2010 at 05:49 AM.
 
Old 12-27-2010, 06:05 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,402

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
it can be that seamonkey must be rebuilt for gecko-mediaplayer to find its headers with this small change to the slackbuild
Code:
--- seamonkey.SlackBuild.orig   2010-12-21 23:41:29.000000000 +0100
+++ seamonkey.SlackBuild        2010-12-27 13:03:30.894674542 +0100
@@ -103,8 +103,8 @@
 make $NUMJOBS || exit 1
 DESTDIR=$PKG make install || exit 1
 
-# Install js/nspr/nss headers.
-for includedir in nspr nspr/obsolete nspr/private ; do
+# Install js/nspr/nss and mozilla headers.
+for includedir in mozilla nspr nspr/obsolete nspr/private ; do
   mkdir -p $PKG/usr/include/seamonkey-${VERSION}/$includedir
   cp -aL mozilla/dist/include/${includedir}/*.h $PKG/usr/include/seamonkey-${VERSION}/$includedir
 done
I'm trying a build now on 64-current.

EDIT: maybe this way is better
Code:
--- seamonkey.SlackBuild.orig   2010-12-21 23:41:29.000000000 +0100
+++ seamonkey.SlackBuild        2010-12-27 13:37:34.354673041 +0100
@@ -110,7 +110,7 @@
 done
 cp -aL mozilla/dist/include/*.tbl mozilla/dist/include/*.msg $PKG/usr/include/seamonkey-${VERSION}
 cp -aL mozilla/dist/include/*.h $PKG/usr/include/seamonkey-${VERSION}
-cp -aL mozilla/dist/sdk/include/* $PKG/usr/include/seamonkey-${VERSION}
+cp -aL mozilla/dist/include/mozilla $PKG/usr/include/seamonkey-${VERSION}/
 # compat symlinks
 ( cd $PKG/usr/include/seamonkey-${VERSION}
   ln -sf . js
mozilla/dist/sdk/include isn't there anymore.

EDIT2: no, it needs further tweaking: I'll try to get back with more news soon.

Last edited by ponce; 12-27-2010 at 07:43 AM. Reason: further tweaking needed
 
Old 12-27-2010, 08:50 AM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 883

Rep: Reputation: 78
Quote:
Originally Posted by Daedra View Post
actually his is doing the same thing. I have tried Eric's, SBO, and src2pkg. They all give the same error for me.
Hmm
Eric's build made a package for me.
Src2pkg would not.

Slackware64-Current ml
 
Old 12-27-2010, 09:14 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,402

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
just tried Eric's build (0.9.9.2) but it breaks looking for mozilla/mozalloc.h again: it's included in /usr/include/seamonkey-2.1b1/plugin/nscore.h, so if you have the seamonkey in -current it should break for you too.

if you get him the required header rebuilding seamonkey including all of them, 1.0.0 fails the same.
 
Old 12-27-2010, 09:31 AM   #8
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 883

Rep: Reputation: 78
code:
ls -1 /var/log/packages


Partial list:

gamin-0.1.10-x86_64-2
gamin-compat32-0.1.10-x86_64-2
gawk-3.1.8-x86_64-1
gc-7.1-x86_64-1_SBo
gcc-4.5.1_multilib-x86_64-2alien
gcc-g++-4.5.1_multilib-x86_64-2alien
gcc-gfortran-4.5.1_multilib-x86_64-2alien
gcc-gnat-4.5.1_multilib-x86_64-2alien
gcc-java-4.5.1_multilib-x86_64-2alien
gcc-objc-4.5.1_multilib-x86_64-2alien
gccmakedep-1.0.2-noarch-2
gd-2.0.35-x86_64-4
gdb-7.2-x86_64-1
gdbm-1.8.3-x86_64-4
gdk-pixbuf2-2.22.1-x86_64-2
gdk-pixbuf2-compat32-2.22.1-x86_64-2
geany-0.19.1-x86_64-1_SBo
geany-plugins-0.19-x86_64-1_SBo
gecko-mediaplayer-1.0.0-x86_64-1alien <--------
 
Old 12-27-2010, 09:33 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,402

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
you probably have a different seamonkey (or xulrunner) installed.

EDIT: if you don't have xulrunner installed and you have seamonkey-2.1b1 in -current, have you looked inside the package? the plugin is there?
Code:
cat /var/log/packages/gecko-mediaplayer-1.0.0-x86_64-1alien

Last edited by ponce; 12-27-2010 at 09:43 AM.
 
Old 12-27-2010, 09:48 AM   #10
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 883

Rep: Reputation: 78
cat /var/log/packages/gecko-mediaplayer-1.0.0-x86_64-1alien:

PACKAGE NAME: gecko-mediaplayer-1.0.0-x86_64-1alien
COMPRESSED PACKAGE SIZE: 20K
UNCOMPRESSED PACKAGE SIZE: 60K
PACKAGE LOCATION: ./gecko-mediaplayer-1.0.0-x86_64-1alien.tgz
PACKAGE DESCRIPTION:
gecko-mediaplayer: gecko-mediaplayer (media plugin for Gecko based browsers)
gecko-mediaplayer:
gecko-mediaplayer: Gecko Media Player is a browser plugin that uses GNOME
gecko-mediaplayer: MPlayer to play media in a browser.
gecko-mediaplayer: It should work with all browsers on Unix-ish systems
gecko-mediaplayer: (Linux, BSD, Solaris) and use the NS4 API (Mozilla, Firefox,
gecko-mediaplayer: Opera, etc).
gecko-mediaplayer:
gecko-mediaplayer:
gecko-mediaplayer: URL: http://kdekorte.googlepages.com/gecko-mediaplayer/
gecko-mediaplayer:
FILE LIST:
./
usr/
usr/doc/
usr/doc/gecko-mediaplayer-1.0.0/
usr/doc/gecko-mediaplayer-1.0.0/javascript.txt
usr/doc/gecko-mediaplayer-1.0.0/AUTHORS
usr/doc/gecko-mediaplayer-1.0.0/README
usr/doc/gecko-mediaplayer-1.0.0/ChangeLog
usr/doc/gecko-mediaplayer-1.0.0/gecko-mediaplayer.SlackBuild
usr/doc/gecko-mediaplayer-1.0.0/COPYING
usr/doc/gecko-mediaplayer-1.0.0/NEWS
install/
install/slack-desc
install/slack-required


NOTE:
I just built it again on a fresh system but I forgot to install gnome-player first.
Methinks the package is junk because I think it should not have built.
 
Old 12-27-2010, 11:57 AM   #11
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,402

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
tried with xulrunner-1.9.2.13 and it builds fine.
 
1 members found this post helpful.
Old 12-27-2010, 12:06 PM   #12
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
I'm running slackware64-current, but I haven't tried gecko-mediaplayer in a while since I mostly use vlc. I grabbed 1.0.0 like you have, along with AlienBOB's files. It compiled just fine for me. I've got both seamonkey and seamonkey-solibs installed, along with xulrunner and mozilla-nss.
 
Old 12-27-2010, 06:48 PM   #13
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 291

Rep: Reputation: 75
Quote:
Originally Posted by slackass View Post
cat /var/log/packages/gecko-mediaplayer-1.0.0-x86_64-1alien:

PACKAGE NAME: gecko-mediaplayer-1.0.0-x86_64-1alien
COMPRESSED PACKAGE SIZE: 20K
UNCOMPRESSED PACKAGE SIZE: 60K
PACKAGE LOCATION: ./gecko-mediaplayer-1.0.0-x86_64-1alien.tgz
PACKAGE DESCRIPTION:
gecko-mediaplayer: gecko-mediaplayer (media plugin for Gecko based browsers)
gecko-mediaplayer:
gecko-mediaplayer: Gecko Media Player is a browser plugin that uses GNOME
gecko-mediaplayer: MPlayer to play media in a browser.
gecko-mediaplayer: It should work with all browsers on Unix-ish systems
gecko-mediaplayer: (Linux, BSD, Solaris) and use the NS4 API (Mozilla, Firefox,
gecko-mediaplayer: Opera, etc).
gecko-mediaplayer:
gecko-mediaplayer:
gecko-mediaplayer: URL: http://kdekorte.googlepages.com/gecko-mediaplayer/
gecko-mediaplayer:
FILE LIST:
./
usr/
usr/doc/
usr/doc/gecko-mediaplayer-1.0.0/
usr/doc/gecko-mediaplayer-1.0.0/javascript.txt
usr/doc/gecko-mediaplayer-1.0.0/AUTHORS
usr/doc/gecko-mediaplayer-1.0.0/README
usr/doc/gecko-mediaplayer-1.0.0/ChangeLog
usr/doc/gecko-mediaplayer-1.0.0/gecko-mediaplayer.SlackBuild
usr/doc/gecko-mediaplayer-1.0.0/COPYING
usr/doc/gecko-mediaplayer-1.0.0/NEWS
install/
install/slack-desc
install/slack-required
It doesn't look like it built or installed anything. At least anything that is useful, unless this is an abbreviated description of the installed package.
 
Old 12-28-2010, 04:28 AM   #14
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by ponce View Post
tried with xulrunner-1.9.2.13 and it builds fine.
Same here, Thanks ponce.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien Bob's gecko-mediaplayer buildscript fails... Daedra Slackware 1 02-11-2010 01:03 AM
"No gecko found"error when building Galeon keika Fedora 10 01-29-2010 02:31 AM
Mediaplayer for fedora8.0 srikanthatfedora Linux - Newbie 1 06-16-2008 07:18 AM
trying to compile mplayerplug-in with gecko-sdk Paxmaster Linux - Software 5 12-06-2004 10:54 AM
Best Mediaplayer? pacman Linux - Software 13 06-13-2003 04:00 AM


All times are GMT -5. The time now is 11:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration