Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I am trying to get flash working with ice weasel but after 2 hours of searching i haven't quite got it figured out. Since there is no x86_64 version of ...
  1. #1
    Just Joined! abierstedt's Avatar
    Join Date
    Aug 2006
    Location
    South Dakota
    Posts
    53

    Etch, flash, and nspluginwrapper

    I am trying to get flash working with ice weasel but after 2 hours of searching i haven't quite got it figured out.

    Since there is no x86_64 version of flash player, I am trying to configure nspluginwrapper to work the plugin. From everything I have read it seems like the easiest way to get flash working.

    my problem is that the GTK environment isn't good enough to configure the installer for nspluginwrapper. I need to make sure that I have the necessary GTK+-2.0 development libraries and headers but I have know clue how to get those. I googled for the solution but didn't find anything, and since im not really sure how to work with them, I though it would be best to ask for guidance.

    so if you can help me please reply


    thanks

  2. #2
    Just Joined!
    Join Date
    Aug 2004
    Location
    New England
    Posts
    59
    libgtk2-dev will pull most of the needed deps. If you're compiling this you should see in the error message the deps that you need installed. Install apt-file so you can work out which packages contain the needed libs for compiling.

    For example: apt-file --package-only search <missing library>

    I installed nspluginwrapper yesterday because I just went to sid (unstable) and flash works fine in Opera, but not at all in iceweasel. Yes, I am running amd64 and I have the 32 bit version of Opera installed.....no chroot necessary, at least for this.

    After I installed nspluginwrapper I ran the following:

    nspluginwrapper -v -a -u

  3. #3
    Just Joined! abierstedt's Avatar
    Join Date
    Aug 2006
    Location
    South Dakota
    Posts
    53
    hey thanks, but I dont know what is needed from the error. I have apt-file installed, I just don't know what to search for. here is the output of the make install.


    Code:
    debian:/home/anthony/nspluginwrapper# make install
    mkdir -p /usr/lib/nspluginwrapper/noarch
    mkdir -p /usr/lib/nspluginwrapper/x86_64
    mkdir -p /usr/lib/nspluginwrapper/x86_64/linux
    mkdir -p /usr/lib/nspluginwrapper/i386
    mkdir -p /usr/lib/nspluginwrapper/i386/linux
    install -m 755 -s npwrapper.so /usr/lib/nspluginwrapper/x86_64/linux/npwrapper.so
    gcc -std=c99 -m32 -o npviewer.bin npviewer-npw-viewer.o npviewer-npw-rpc.o npviewer-rpc.o npviewer-debug.o npviewer-utils.o npviewer-npruntime.o npviewer-cxxabi-compat.o -m32 -Llsb-build-i386 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt -ldl -lpthread -Wl,--export-dynamic -Wl,--version-script,/home/anthony/nspluginwrapper/src/npw-viewer.map -lsupc++
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../crt1.o' is incompatible with i386 output
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../crti.o' is incompatible with i386 output
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../crtn.o' is incompatible with i386 output
    install -m 755 -s npviewer.bin /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
    p=/usr/lib/nspluginwrapper/i386/linux/npviewer; \
            echo "#!/bin/sh" > $p;                                                 \        echo "TARGET_OS=linux" >> $p;                                          \        echo "TARGET_ARCH=i386" >> $p;                                  \
            echo ". /usr/lib/nspluginwrapper/noarch/npviewer" >> $p;               \        chmod 755 $p
    gcc -std=c99 -m32 -shared -o libxpcom.so libxpcom-libxpcom.o libxpcom-debug.o  -Wl,--soname,libxpcom.so
    /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    /usr/bin/ld: cannot find -lc
    collect2: ld returned 1 exit status
    make: *** [libxpcom.so] Error 1

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you should install it with apt-get only. i am running Feisty 64Bit. i installed all necessary libs and nspluginwrapper. Flash player working fine in FireFox.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! abierstedt's Avatar
    Join Date
    Aug 2006
    Location
    South Dakota
    Posts
    53
    I am not able to apt-get for nspluginwrapper. Is there a particular source i need in order to use this?

    Reading package lists... Done
    Building dependency tree... Done
    Package nspluginwrapper is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package nspluginwrapper has no installation candidate
    anthony@debian:~$

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    nspluginwrapper is available in Contrib source. add/enable contrib source in /etc/apt/sources.list file.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined! abierstedt's Avatar
    Join Date
    Aug 2006
    Location
    South Dakota
    Posts
    53
    I think I messed up my sources list. Could you please help me arrange it properly so with the correct source so I can install the wrapper? I am a little confused as to what should and should not be present in the list and what I should comment out.


    Code:
    deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15]/ etch contrib main
    
    deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15]/ etch contrib main
    
    deb http://ftp.us.debian.org/debian/ etch main non-free contrib
    deb-src http://ftp.us.debian.org/debian/ etch main non-free contrib
    
    deb http://ftp.debian.org/debian/ etch main
    deb-src http://ftp.debian.org/debian/ etch main
    
    deb http://security.debian.org/ etch/updates main contrib
    deb-src http://security.debian.org/ etch/updates main contrib
    
    deb http://debian.beryl-project.org/ etch main
    deb-src http://debian.beryl-project.org/ etch main

    what confuses me is the difference between main contrib and just plain contrib (if there is one)

    Please suggest other sources that would be useful. I should have poseted before I messed with it because now I get errors upon apt-get update dealing with the DVD sources.

    I should also mention that the reason the reason I am bringing up the sources is due to this

    Code:
    Package nspluginwrapper is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/contrib Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-1%2020070407-12:15_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/main Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-1%2020070407-12:15_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch/contrib Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-2%2020070407-12:15_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch/main Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-2%2020070407-12:15_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/contrib Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-1%2020070407-12:15_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/main Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-1%2020070407-12:15_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch/contrib Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-2%2020070407-12:15_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch/main Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20amd64%20DVD%20Binary-2%2020070407-12:15_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Package nspluginwrapper has no installation candidate
    anthony@debian:~$
    Thankyou

    - Anthony

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15]/ etch contrib main

    deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15]/ etch contrib main
    put # sign before those lines.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined! abierstedt's Avatar
    Join Date
    Aug 2006
    Location
    South Dakota
    Posts
    53
    fixed the errors but no cigar still won't download.

    Code:
    Package nspluginwrapper is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package nspluginwrapper has no installation candidate
    anthony@debian:~$

  10. #10
    Just Joined!
    Join Date
    Aug 2004
    Location
    New England
    Posts
    59
    We all understand that this program is not in Etch, right? It is in Sid, or unstable.

    Here are my repos:

    #debian
    deb Index of /debian unstable main contrib non-free
    deb-src Index of /debian unstable main contrib non-free
    deb Debian -- Security Information testing/updates main contrib
    deb-src Debian -- Security Information testing/updates main contrib
    #codecs
    deb Index of /debian-multimedia sid main
    deb-src Index of /debian-multimedia sid main

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •