On Fri, May 04, 2007 at 08:11:41AM +0200, Benoit Chesneau wrote:
> >the PLIST isn't right.  this will probably be in www/, so the
> >BASE_PKGPATH will be www/nspluginwrapper.
> >
> >also, on amd64, MACHINE_ARCH is amd64 not x86_64.
> >
> >--
> >[EMAIL PROTECTED]
> >SDF Public Access UNIX System - http://sdf.lonestar.org
> >
> Thanks for your test. I change the configure patch to allow amd64 as
> MACHINE_ARCH.

configure already knew about amd64.  it is using x86_64 internally.
the problem is with the PLIST.

> About BASE_PKGPATH I don't understand. You mean install
> nspluginwrapper in /usr/local/lib/www/nspluginwrapper ? Why couldn't
> it be /usr/local/lib/nspluginwrapper the default path ?

no.  see bsd.port.mk(5), then look at your PLIST.

> Anyway here is new port source with amd64 enabled :
> http://babilu.metavers.net/openbsd/nspluginwrapper/obsd-nspluginwrapper-0.9.91.4_2.tar.gz

I cleaned up your previous version (please model port Makefiles after
/usr/ports/infrastructure/templates/Makefile.template and read the
notes in there) and got it to install on amd64.  I was going to
install the mozilla-flashplugin, but it depends on linux libs ...
so I installed both ports on an i386 and ran the nspluginwrapper
command.  it seemed to work, but it doesn't seem to be able to
handle any streaming media.  when I start firefox in an xterm and
try to listen to music from www.archive.org, or play videos at
myspace.com, I get:

LoadPlugin: failed to initialize shared library 
/usr/local/lib/mozilla-plugins/libflashplayer.so [Cannot load specified object]
*** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed
...

seems kind of pointless without streaming media support, IMO.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to