LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mplayerplug-in does not build, what's missing? (https://www.linuxquestions.org/questions/slackware-14/mplayerplug-in-does-not-build-whats-missing-208226/)

axelsharper 07-22-2004 06:16 AM

Mplayerplug-in does not build, what's missing?
 
I've learned some nice stuff about Linux but getting the mplayerplug-in for Mozilla to build seems over my head. Is there any way i could get the mplayerplug-in.so and mplayerplug-in.xpt precompiled?

All I get when running the config is:

bash-2.05b# ./configure
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

----------------------------------
And the config.log file says:
----------------------------------

configure:1469: checking for C++ compiler default output file name
configure:1472: g++ conftest.cc >&5
g++: installation problem, cannot exec `as': No such file or directory
configure:1475: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "mplayerplug-in"
| #define PACKAGE_TARNAME "mplayerplug-in"
| #define PACKAGE_VERSION "2.66"
| #define PACKAGE_STRING "mplayerplug-in 2.66"
| #define PACKAGE_BUGREPORT "mplayerplug-in-devel@lists.sourceforge.net"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }

What's missing here? Grateful for all speculations/tips.

/axel

keefaz 07-22-2004 06:17 AM

install binutils package and try redo the compile.

tank728 07-22-2004 06:34 AM

I have had that same error message with a couple of other compiles that I have done. I am still searching for the answer. Are you trying to compile while your in Gnome or X? This is when I had the problem. Logout and try again, then if that does not work, then reboot and try in console. I have not done what keefaz said, but I did a full slack install. But definately try all of these separate to find, the problem, and let us know. Good Luck

-tank

keefaz 07-22-2004 06:51 AM

Just install binutils package will fix your issue, try that before any other solution

oot 07-22-2004 08:08 AM

Try doing "whereis as". If you don't get a result, you need to install the binutils package.

If you do get a result, add it to your path like this:
export PATH="$PATH":/path/to/directory/as/is/in/
before you run configure.

axelsharper 07-22-2004 06:06 PM

Binutils got the configure script blasting all the way through. Great! Also, i realised that i skipped the devel packages when installing slack ... duh. So i went to pkgtool and installed the entire /d dir again. This cleared things up a bit.

Still, when doing the Make, most .h files are included without hassle but some of them seem to have tons of syntax errors looking like these:

Source/nsIScriptableMplayerPlugin.h:131: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:134: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:137: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:140: error: parse error before `)' token

Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token

And in the end gives a "make: *** [plugin.o] Error 1".

If you guys still bare with me =) - What did i miss this time?

/axel

keefaz 07-23-2004 04:05 AM

Can you post the line 131 of Source/nsIScriptableMplayerPlugin.h file ?


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