You are not logged in.

#1 2007-02-19 00:26:17

tariqf
Member
Registered: 2007-02-05
Posts: 13

"X11 environment not found" nspluginwrapper help

I'm using arch64 0.7 and downloaded nspluginwrapper. When I run ./configure I get

X11 environment not found

Please can someone tell mw what I need to install or specify to satisfy this? I'm really trying to get the flash plugin working. Thanks.

Offline

#2 2007-02-19 00:35:46

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: "X11 environment not found" nspluginwrapper help

try installing pkgconfig

Offline

#3 2007-02-19 08:38:16

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

already have that installed. it sounds like the configure needs a location for the X11 development files or maybe I just need to install them. The thing is I don't know what package name(s) I need to install for this.

Any ideas anyone?

Offline

#4 2007-02-19 09:05:32

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: "X11 environment not found" nspluginwrapper help

for nspluginwrapper there should be a pkg in the community repo.

if you want to compile it yourself check the configure or gcc messages to find out what header file is missing. then check if it is already installed and only not detected or if it is missed at all.

Offline

#5 2007-02-19 09:27:13

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

ok I've double checked and I already have the community repos enabled. When I do

pacman -Ss ndis

There is no package for ndisplugin.

Does anyone know which repo I can add to get this?

Offline

#6 2007-02-20 06:47:38

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: "X11 environment not found" nspluginwrapper help

nspluginwrapper doesn't start with the letters "ndis" ;-)

sry. it's only in AUR.

Offline

#7 2007-02-20 21:03:10

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

ok I've use pakepkg then pacman -A to install the resulting packages for

nspluginwrapper 0.9.91.2-1
nspluginwrapper-flash 9.0.31.0-2

Both installed fine with no errors. Now what am I missing?

I tried firefox but it does not find the plugins for flash.

Offline

#8 2007-02-22 12:35:53

Deciare
Member
From: UTC -8:00
Registered: 2005-05-05
Posts: 79

Re: "X11 environment not found" nspluginwrapper help

Did you run the command line mentioned by the post-install instructions? You have to run

nspluginwrapper -v -a -i

for each user account that wants to use plugins since nspluginwrapper installs the plugins into $HOME/.mozilla/plugins (which must exist before running nspluginwrapper).

Offline

#9 2007-02-22 17:00:47

nullvar
Member
From: USA
Registered: 2003-03-10
Posts: 16

Re: "X11 environment not found" nspluginwrapper help

Ok, jumping in here. I got this far but nspluginwrapper is a symbolic link to something that isn't there.

[clint@cloud mydocs]$ nspluginwrapper -v -a -i
bash: nspluginwrapper: command not found
[clint@cloud mydocs]$ ls -l /usr/bin/nspluginwrapper
lrwxrwxrwx 1 root root 40 2007-02-22 11:33 /usr/bin/nspluginwrapper -> /usr/lib/nspluginwrapper/x86_64/npconfig
[clint@cloud mydocs]$ cd /usr/lib/nspluginwrapper
bash: cd: /usr/lib/nspluginwrapper: No such file or directory

May the Schwartz be with you.

Offline

#10 2007-02-22 17:07:55

nullvar
Member
From: USA
Registered: 2003-03-10
Posts: 16

Re: "X11 environment not found" nspluginwrapper help

All right, I should have waited to finish digging before posting. Those files where just left out of the PKGBUILD. They're included in nspluginwrapper-0.9.91.2-1.x86_64.rpm. Now, to test it out.


May the Schwartz be with you.

Offline

#11 2007-02-22 19:51:23

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

ok I have go thte the point where nspluginwrapper seems to be available as a command but it does not find any flash plugin even though I have installed the nspluginwrapper-flash 9.0.31.0-2 which has put libflashplayer.so into /usr/lib/mozilla/plugins. I have also made the ~/.mozilla/plugins folder and copied libflashplayer.so into that folder and re-run the command but stil lnothing is detected. The command I used was (as the user)

nspluginwrapper -v -a -i

If I try to specify the actual plugin I get this:

nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
nspluginwrapper: /usr/lib/mozilla/plugins/libflashplayer.so is not a valid NPAPI plugin

can't see what I'm missing!

Offline

#12 2007-02-22 20:19:32

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

Also if I install nspluginwrapper-i386-0.9.91.2-1.x86_64.rpm as well as nspluginwrapper-0.9.91.2-1.x86_64.rpm I then get this error;

Auto-install plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
Auto-install plugins from /home/tariq/.mozilla/plugins
Looking for plugins in /home/tariq/.mozilla/plugins
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64

Offline

#13 2007-02-22 23:32:59

Deciare
Member
From: UTC -8:00
Registered: 2005-05-05
Posts: 79

Re: "X11 environment not found" nspluginwrapper help

nullvar wrote:

All right, I should have waited to finish digging before posting. Those files where just left out of the PKGBUILD. They're included in nspluginwrapper-0.9.91.2-1.x86_64.rpm. Now, to test it out.

That's strange. nspluginwrapper-0.9.91.2-1.x86_64.rpm is included as part of AUR's nspluginwrapper package. There's a script called rpmextract.sh that is also included, and is presumably responsible for automatically extracting the contents of the RPM as part of the packaging process.

Are you sure you downloaded the whole package from AUR, and not just the PKGBUILD? If you're still having problems, try removing the bits and pieces of nspluginwrapper you've already installed and starting over with the complete package.

Last edited by Deciare (2007-02-22 23:33:57)

Offline

#14 2007-02-22 23:37:27

Deciare
Member
From: UTC -8:00
Registered: 2005-05-05
Posts: 79

Re: "X11 environment not found" nspluginwrapper help

tariqf wrote:

Also if I install nspluginwrapper-i386-0.9.91.2-1.x86_64.rpm as well as nspluginwrapper-0.9.91.2-1.x86_64.rpm I then get this error;

Auto-install plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
Auto-install plugins from /home/tariq/.mozilla/plugins
Looking for plugins in /home/tariq/.mozilla/plugins
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64

o_O That's too complicated, I think. If you downloaded the complete pckage from AUR, installing nspluginwrapper and nspluginwrapper-flash should automatically do all the copying and symlinking for you as necessary.

What's the output of

pacman -Ql nspluginwrapper

on your computer? On mine, this is what the nspluginwrapper package contains:

pacman -Ql nspluginwrapper wrote:

[deciare@raravis ai_Bursar]$ pacman -Ql nspluginwrapper
nspluginwrapper /opt/
nspluginwrapper /opt/mozilla/
nspluginwrapper /opt/mozilla/lib/
nspluginwrapper /opt/mozilla/lib/plugins/
nspluginwrapper /opt/mozilla/lib/plugins/npwrapper.so
nspluginwrapper /opt/nspluginwrapperlibs/
nspluginwrapper /opt/nspluginwrapperlibs/ld-linux.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libICE.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libSM.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libX11.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXau.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXcursor.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libXdmcp.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXext.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXfixes.so.3
nspluginwrapper /opt/nspluginwrapperlibs/libXft.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libXi.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXinerama.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libXmu.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXrandr.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libXrender.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libXt.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libatk-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libc.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libcairo.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libdl.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libexpat.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libfontconfig.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libfreetype.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libgdk-x11-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgdk_pixbuf-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libglib-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgmodule-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgobject-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgtk-x11-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libm.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libpango-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangocairo-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangoft2-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangox-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangoxft-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpng12.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpthread.so.0
nspluginwrapper /opt/nspluginwrapperlibs/librt.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libz.so.1
nspluginwrapper /usr/
nspluginwrapper /usr/bin/
nspluginwrapper /usr/bin/nspluginwrapper
nspluginwrapper /usr/lib/
nspluginwrapper /usr/lib/nspluginwrapper/
nspluginwrapper /usr/lib/nspluginwrapper/i386/
nspluginwrapper /usr/lib/nspluginwrapper/i386/linux/
nspluginwrapper /usr/lib/nspluginwrapper/i386/linux/libxpcom.so
nspluginwrapper /usr/lib/nspluginwrapper/i386/linux/npviewer
nspluginwrapper /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
nspluginwrapper /usr/lib/nspluginwrapper/noarch/
nspluginwrapper /usr/lib/nspluginwrapper/noarch/mkruntime
nspluginwrapper /usr/lib/nspluginwrapper/noarch/npviewer
nspluginwrapper /usr/lib/nspluginwrapper/x86_64/
nspluginwrapper /usr/lib/nspluginwrapper/x86_64/linux/
nspluginwrapper /usr/lib/nspluginwrapper/x86_64/linux/npconfig
nspluginwrapper /usr/lib/nspluginwrapper/x86_64/linux/npwrapper.so

Offline

#15 2007-02-23 21:18:09

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

Ok I went back and used pacman -A to install the 2 packages. Still firefox does not show any plugins when I try about:plugins. Here is the output of that command..

[tariq@myhost temp]$ pacman -Ql nspluginwrapper
nspluginwrapper /opt/
nspluginwrapper /opt/mozilla/
nspluginwrapper /opt/mozilla/lib/
nspluginwrapper /opt/mozilla/lib/plugins/
nspluginwrapper /opt/nspluginwrapperlibs/
nspluginwrapper /opt/nspluginwrapperlibs/ld-linux.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libICE.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libSM.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libX11.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXau.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXcursor.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libXdmcp.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXext.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXfixes.so.3
nspluginwrapper /opt/nspluginwrapperlibs/libXft.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libXi.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXinerama.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libXmu.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libXrandr.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libXrender.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libXt.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libatk-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libc.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libcairo.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libdl.so.2
nspluginwrapper /opt/nspluginwrapperlibs/libexpat.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libfontconfig.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libfreetype.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libgdk-x11-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgdk_pixbuf-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libglib-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgmodule-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgobject-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libgtk-x11-2.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libm.so.6
nspluginwrapper /opt/nspluginwrapperlibs/libpango-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangocairo-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangoft2-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangox-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpangoxft-1.0.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpng12.so.0
nspluginwrapper /opt/nspluginwrapperlibs/libpthread.so.0
nspluginwrapper /opt/nspluginwrapperlibs/librt.so.1
nspluginwrapper /opt/nspluginwrapperlibs/libz.so.1
nspluginwrapper /usr/
nspluginwrapper /usr/bin/
nspluginwrapper /usr/bin/nspluginwrapper

your help is much appreciated, thanks

Offline

#16 2007-02-23 21:40:56

tariqf
Member
Registered: 2007-02-05
Posts: 13

Re: "X11 environment not found" nspluginwrapper help

ok I solved the problem! just did

sudo pacman -S lib32-gtk2


Works perfect now thanks for all your posts.

Offline

Board footer

Powered by FluxBB