Announcement

Collapse
No announcement yet.

Installed the wrong package using apt-get and Mplayer in Firefox ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installed the wrong package using apt-get and Mplayer in Firefox ?

    Hi.

    I'm wondering how I can fix this and if I have caused some harm to my system.

    I'm trying to get Mplayer to work with Firefox as a plugin.
    Mplayer is working fine on it's own but I can't seem to get it working under Firefox.

    Anyway, what I did was this.

    apt-get build-dep mozilla-firefox

    I thought it would only install the developer files needed for Firefox but it installed alot of stuff for
    Ubuntu and Gnome, since I'm running Kubuntu I'm worried, and I don't like installing something I don't need.

    I tried doing apt-get remove to uninstall the package but it didn't work.

    I installed the mozilla-mplayer listed under Adept Manager but that didn't work as well.
    I found the mplayerplug-in.so on my system and made a symbolic link to my firefox plugins folder
    but that didn't work....

    So any ideas if what I installed using apt-get is going to harm my system and how do I get
    rid of it and if somebody can help me with mplayer plugin in firefox ?

    Thanks

    #2
    Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

    Originally posted by armann
    I thought it would only install the developer files needed for Firefox but it installed alot of stuff for
    Ubuntu and Gnome, since I'm running Kubuntu I'm worried, and I don't like installing something I don't need.
    easy, mate, this is not windoze.
    no harm in installing stuff that you might not need.
    at worst, it's just a bit of disk space wasted.
    and once you get to know your linux and the apt thing a bit better,
    you'll be able to clean and keep your system spic and span....

    Originally posted by armann
    I tried doing apt-get remove to uninstall the package but it didn't work.
    you could remove everything that has to do with your firefox and your mplayer.
    something like:
    Code:
    apt-get autoremove <list of packages goes here> --purge
    take a look at the apt-get manual page to see what this command does.
    you'll have it already installed on your system or you can look it up here.
    if you're unsure as to what to remove, pls, post the result of the following commands:
    Code:
    dpkg-query -l '*firefox*'
    dpkg-query -l '*mplayer*'
    and we should be able to tell you.

    now to solve your problems...
    for a newbie, i'd suggest the use of a tool called automatix.
    this is a tool, that works on the same principles of adept/synaptic/...
    it's of course based on apt, but it's application centric, rather than package centric.
    and it's very useful to get all the non linux specific stuff installed on your system.
    installation instructions for automatix are here.
    install it, fire it up, and...well it'll be easy enough...you'll see it for yourself.

    Originally posted by armann
    I found the mplayerplug-in.so on my system and made a symbolic link to my firefox plugins folder
    but that didn't work....
    now, this is something you really shouldn't do.
    unless, of course, you know exactly what you're doing.
    i'd say you should remove that symbolic link.

    cheers
    gnu/linux is not windoze

    Comment


      #3
      Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

      Thanks I have heard some bad things about automatix so I don't know If I want to use it.
      Maybe it's dumb but I don't think I'll learn Linux well if I use Adept Installer or something else
      for everything I want to install, again maybe that's wrong.

      Comment


        #4
        Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

        Oh I forgot to mention, I installed vlc and I saw that it had a plugin for firefox so I made a link for that
        into my plugins folder in Firefox and now I can play alot of streaming videos but I have problems with
        some videos but I guess I'll figure it out.

        Been a Win IT person for about 8 years now so it's fun to try Linux, it's my main operating system now,
        except for games of course...

        Comment


          #5
          Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

          no problems.
          good luck
          gnu/linux is not windoze

          Comment


            #6
            Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

            Originally posted by armann
            Thanks I have heard some bad things about automatix ...
            There are two factions on that: those that insist automatix is the way to go, and those that won't touch it (or they did, got burned, and won't use it ever again). There are posts here in the forum on Adept and Automatix and how automatix can break you system. You would be well advised to search them out and become as informed as you can. Until then, I would (as would others) recommend that you stick with using Adept.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

              Originally posted by Snowhog

              There are two factions on that: those that insist automatix is the way to go, and those that won't touch it
              OK, I'll attempt to form a third faction ...

              When I didn't know anything about Linux, and was desperate to see Google Earth spinning on my new Linux box, Automatix was a reasonable method to make it happen quickly. Later, when I realized Automatix had screwed up my sources list, and that there were more direct ways to get the Nvidia driver, Google Earth, and audio-video codecs, I learned to use those direct methods and left Automatix to others.

              How's that for a "fair and balanced" assessment?

              Comment


                #8
                Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

                Originally posted by dibl
                How's that for a "fair and balanced" assessment?
                Good enough.

                I'm not using Automatix. Never considered it. Adept is what I have, and I'm learning how to use my system with the tools that were provided. I personally think that is the best approach for new users. But then, that is my opinion only. I've seen a number of posts that basically state Automatix broke my system. I know you've seen them too.

                So, bottom line would be: User beware! Know what you are getting into before just jumping in to the deep end of the pool.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

                  Yes I agree, I use adept sometimes and I like it and I haven't had a problem.

                  I just compiled Mplayer, had little font problem with gmplayer but it's solved now.
                  Works great

                  I thinks it's more fun to do it yourself then use some automated installer but that's just me

                  Comment


                    #10
                    Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

                    I'm compiling the mplayer plugin 3.40

                    This is the command I'm using to configure.

                    ./configure --enable-gtk1 --with-mozilla-home=/usr/lib/firefox --with-gecko-sdk=/home/armann/Programs/firefox/

                    This is my config error:

                    checking for GTHREAD... no
                    configure: error: Missing gthread package

                    What package do I need to install ?
                    I googled this error but I couldn't find any real help about it.

                    Thanks !

                    8)

                    Comment


                      #11
                      Re: Installed the wrong package using apt-get and Mplayer in Firefox ?

                      Now when I try to run make for the plugin this happens, I understand if nobody wants to read
                      this but I'm really stuck....

                      I can run the configure without a problem if do this:

                      ./configure --enable-gtk2 --with-mozilla-home=/home/armann/Programs/firefox/ --with-gecko-sdk=gecko-sdk/

                      Configure output:

                      checking for g++... g++
                      checking for C++ compiler default output file name... a.out
                      checking whether the C++ compiler works... yes
                      checking whether we are cross compiling... no
                      checking for suffix of executables...
                      checking for suffix of object files... o
                      checking whether we are using the GNU C++ compiler... yes
                      checking whether g++ accepts -g... yes
                      checking for gcc... gcc
                      checking whether we are using the GNU C compiler... yes
                      checking whether gcc accepts -g... yes
                      checking for gcc option to accept ANSI C... none needed
                      checking for a BSD-compatible install... /usr/bin/install -c
                      checking for gawk... no
                      checking for mawk... mawk
                      checking whether make sets $(MAKE)... yes
                      checking for pkg-config... /usr/bin/pkg-config
                      checking pkg-config is at least version 0.9.0... yes
                      Using new (v1.7+) gecko-sdk
                      checking for GTK... no
                      configure: WARNING: *** Running in X mode - Limited Features ***
                      checking for GTK24... no
                      configure: WARNING: Some GUI Features are disabled
                      checking for GTHREAD... yes
                      checking how to run the C preprocessor... gcc -E
                      checking for X... yes
                      checking for XT... yes
                      checking for egrep... grep -E
                      checking for ANSI C header files... yes
                      checking for sys/types.h... yes
                      checking for sys/stat.h... yes
                      checking for stdlib.h... yes
                      checking for string.h... yes
                      checking for memory.h... yes
                      checking for strings.h... yes
                      checking for inttypes.h... yes
                      checking for stdint.h... yes
                      checking for unistd.h... yes
                      checking for XPM... no
                      checking X11/xpm.h usability... no
                      checking X11/xpm.h presence... no
                      checking for X11/xpm.h... no
                      checking for ANSI C header files... (cached) yes
                      checking stddef.h usability... yes
                      checking stddef.h presence... yes
                      checking for stddef.h... yes
                      checking for stdlib.h... (cached) yes
                      checking for unistd.h... (cached) yes
                      checking for sys/stat.h... (cached) yes
                      checking fcntl.h usability... yes
                      checking fcntl.h presence... yes
                      checking for fcntl.h... yes
                      checking for an ANSI C-conforming const... yes
                      checking whether time.h and sys/time.h may both be included... yes
                      checking for pid_t... yes
                      checking for size_t... yes
                      checking for stdlib.h... (cached) yes
                      checking for GNU libc compatible malloc... yes
                      checking for unistd.h... (cached) yes
                      checking vfork.h usability... no
                      checking vfork.h presence... no
                      checking for vfork.h... no
                      checking for fork... yes
                      checking for vfork... yes
                      checking for working fork... yes
                      checking for working vfork... (cached) yes
                      checking for memset... yes
                      checking for strcasecmp... yes
                      checking for strchr... yes
                      checking for strdup... yes
                      checking for strncasecmp... yes
                      checking for strstr... yes
                      checking for strrchr... yes
                      checking for snprintf... yes
                      checking for mkfifo... yes
                      checking for dup2... yes
                      checking for gettimeofday... yes
                      checking for strerror... yes
                      checking for strtol... yes
                      checking for mkdir... yes
                      checking for setlocale... yes
                      checking for memmem... yes
                      checking libintl.h usability... yes
                      checking libintl.h presence... yes
                      checking for libintl.h... yes
                      checking sys/time.h usability... yes
                      checking sys/time.h presence... yes
                      checking for sys/time.h... yes
                      checking sys/param.h usability... yes
                      checking sys/param.h presence... yes
                      checking for sys/param.h... yes
                      checking locale.h usability... yes
                      checking locale.h presence... yes
                      checking for locale.h... yes
                      checking for stdbool.h that conforms to C99... yes
                      checking for _Bool... yes
                      checking for sys/wait.h that is POSIX.1 compatible... yes
                      checking return type of signal handlers... void
                      checking for DPMSQueryExtension in -lXdpms... no
                      checking for X11/extensions/dpms.h... no
                      configure: creating ./config.status
                      config.status: creating Makefile
                      config.status: creating po/Makefile
                      config.status: creating install.sh
                      config.status: creating uninstall.sh
                      config.status: creating config.h
                      config.status: config.h is unchanged


                      Here is the make:

                      g++ -c -o plugin-ui.o -Wall -DXP_UNIX -DMOZ_X11 -Igecko-sdk/ -Igecko-sdk//include -g -O2 -g -O2 -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DX_ENABLED Source/plugin-ui.cpp
                      Source/plugin-ui.cpp:6:21: error: X11/xpm.h: No such file or directory
                      include/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual functions but non-virtual destructor
                      gecko-sdk//include/nsISupportsBase.h:80: warning: ‘class nsISupports’ has virtual functions but non-virtual destructor
                      gecko-sdk//include/nsIProgrammingLanguage.h:32: warning: ‘class nsIProgrammingLanguage’ has virtual functions but non-virtual destructor
                      gecko-sdk//include/nsIClassInfo.h:33: warning: ‘class nsIClassInfo’ has virtual functions but non-virtual destructor
                      Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class nsIScriptableWMPPlugin’ has virtual functions but non-virtual destructor
                      Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class nsIScriptableMplayerPlugin’ has virtual functions but non-virtual destructor
                      Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has virtual functions but non-virtual destructor
                      Source/plugin-ui.cpp: In function ‘void Initialize(Display*, Drawable, nsPluginInstance*, _XGC*)’:
                      Source/plugin-ui.cpp:69: error: ‘XpmCreatePixmapFromData’ was not declared in this scope
                      make: *** [plugin-ui.o] Error 1

                      Any help at all would be great, have a nice weekend !

                      Comment

                      Working...
                      X