[Perlplusplugin-developers] Re: ppl-plug-0.95
Status: Beta
Brought to you by:
fholtry
|
From: Slaven R. <re...@on...> - 2000-08-28 08:23:50
|
> On Aug 25, 11:52am, Dmitry Karasik wrote:
> > Hi!
> >
> > I found your package, ppl-plug-0.95, and I'm trying to adjust it to my
> > own needs...
> > I couldn't say that 'make' was flawless, the INCLUDE string somewhy
> > didn't point
> > to /usr/X11R6, but that's minor things. After 'make install'
> > I got stumbled in the first steps - my Netscape says:
> >
> > --------
> > ERROR: bad magic number in
> > "/home/dk/.netscape/plugins/perlplusplugin.so"
> > Cant load plugin /home/dk/.netscape/plugins/perlplusplugin.so. Ignored.
> > ---------
> >
> > I didn't find anything similar into the documentation, and I didn't find
> > anything on the web.
> > The Netscape is 4.73, running on freebsd-4.1-stable. That is strange,
> > because
> > I even tried things on win32, and everything worked fine. I'm not
> > experienced in writing
> > netscape plugins, so I'm clueless about 'magic number' - whether it's
> > something internal or
> > related to system-dependent executable format.
> >
Just a guess: FreeBSD's netscape is still a.out, while FreeBSD
switched to ELF since 3.0. So it might help if you're adding an -aout
switch (or something like that) to the compiler option. Probably you
also need some a.out development kit from the ports.
Another way would be to use linux-netscape and the linux-devel port to
compile the plugin.
Please let me know if you have success ... it's long time ago
(somewhere in the FreeBSD 2.2.8 times) I tried the perl/Tk plugin for
Netscape.
Regards,
Slaven
--
use Tk;$c=tkinit->Canvas(-he,20)->grid;$x=5;map{s!\n!!g;map{create$c 'line'=>
map{$a=-43+ord;($x+($a>>3)*2=>5+($a&7)*2)}split''}split"!";$x+=12}split/_/=>'K
PI1_+09IPK_K;-OA1_+K!;A__1;Q!7G_1+QK_3CLPI90,_+K!;A_+1!KQ!.N_K+1Q!.F_1+KN.Q__1+
KN._K+1Q!.F_1+KN.Q_+1Q__+1!KQ!.N_1;Q!7G_K3,09Q_+1!K.Q_K+1Q!.F_1+KN.Q_';MainLoop
|