Mozilla 1.2.1 and java

2003-01-22 Thread Aqua Daemon
Hello,
 
I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working 
(java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all 
plugins except java loaded fine. The results are the same for both of my 4.7-STABLE 
and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same 
results. I saw that other people were able to upgrade with no problems. What did I do 
wrong or what do I need to do?
 
This is the text output of when I loaded the 1.2.1:
 
___
 
www% mozilla
No running window found.
LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]
LoadPlugin: failed to initialize shared library 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so]

 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Dennis Moore
On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote:
 Hello,
  
 I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working 
(java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all 
plugins except java loaded fine. The results are the same for both of my 4.7-STABLE 
and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same 
results. I saw that other people were able to upgrade with no problems. What did I do 
wrong or what do I need to do?
  
 This is the text output of when I loaded the 1.2.1:
  
 ___
  
 www% mozilla
 No running window found.
 LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]
 LoadPlugin: failed to initialize shared library 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so]
 

just a guess..

/xfer/ports/www/mozilla cat pkg-message
###
A symlink has been created for the Java plugin.  However, in order for Java
to function, you must first install the java/jdk13 port.  If you do not
do this, you will see the following error when starting Mozilla:

LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so]

If you do not want Java support, you can safely ignore this message.
###

-- 
Dennis Moore jesus sewed my pants
Pro Bono Devil's Advocate  it's a love affair
archon@EFnet irc mainly jesus
http://forbidden.dough.net/  and my pants

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Dru


On Wed, 22 Jan 2003, Aqua Daemon wrote:

 Hello,

 I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working 
(java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all 
plugins except java loaded fine. The results are the same for both of my 4.7-STABLE 
and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same 
results. I saw that other people were able to upgrade with no problems. What did I do 
wrong or what do I need to do?

 This is the text output of when I loaded the 1.2.1:

 ___

 www% mozilla
 No running window found.
 LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]
 LoadPlugin: failed to initialize shared library 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so]


Well, you're doing better than I am. I can't get past

No running window found.

And that error message is literal, I can no longer get Mozilla to come up
at all :-(  That was from a cvsup this morning on a 4.7-RELEASE.

Dru


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Joe Marcus Clarke
On Wed, 2003-01-22 at 15:39, Dru wrote:
 On Wed, 22 Jan 2003, Aqua Daemon wrote:
 
  Hello,
 
  I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working 
(java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all 
plugins except java loaded fine. The results are the same for both of my 4.7-STABLE 
and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same 
results. I saw that other people were able to upgrade with no problems. What did I do 
wrong or what do I need to do?
 
  This is the text output of when I loaded the 1.2.1:
 
  ___
 
  www% mozilla
  No running window found.
  LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]
  LoadPlugin: failed to initialize shared library 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so]
 
 
 Well, you're doing better than I am. I can't get past
 
 No running window found.
 
 And that error message is literal, I can no longer get Mozilla to come up
 at all :-(  That was from a cvsup this morning on a 4.7-RELEASE.

If you just get that message, then you get the prompt back, try running
fc-cache as root (this assumes you compiled Xft support into Mozilla). 
If you installed Mozilla somewhere other than X11BASE, you need to
modify the run-mozilla.sh script to point to where your fontconfig
directory is (usually ${X11BASE}/etc/fonts).

Joe

 
 Dru
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Aqua Daemon
On Wed, 22 Jan 2003 11:18:25 -0600
Dennis Moore [EMAIL PROTECTED] wrote:

 On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote:
  Hello,
   
  I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working 
(java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all 
plugins except java loaded fine. The results are the same for both of my 4.7-STABLE 
and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same 
results. I saw that other people were able to upgrade with no problems. What did I do 
wrong or what do I need to do?
   
  This is the text output of when I loaded the 1.2.1:
   
  ___
   
  www% mozilla
  No running window found.
  LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]
  LoadPlugin: failed to initialize shared library 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so]
  
 
 just a guess..
 
 /xfer/ports/www/mozilla cat pkg-message
 ###
 A symlink has been created for the Java plugin.  However, in order for Java
 to function, you must first install the java/jdk13 port.  If you do not
 do this, you will see the following error when starting Mozilla:
 
 LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so]
 
 If you do not want Java support, you can safely ignore this message.
 ###
 
 -- 
 Dennis Moore

I did install jdk13 port before installing/upgrading/reinstalling mozilla port (at 
/www/mozilla (I included WITH_GTK2=yes), not at /www/mozilla-gtk2 (don't know if the 
script is different, haven't tried that port yet). 

I removed the link to java plugin in mozilla, then the first error disappeared, but 
the second still existed. Then I removed the java plugin in the 
/usr/X11R6/lib/browser_plugins, then all the errors went away but no java plugins were 
loaded. At all times, mozilla loaded up just fine.

After googling and finding minimal information (some websites are assuming that 
gdk_input_add has problems with gtk2), I deinstalled mozilla and reinstalled it 
without the gtk2 prefix, only then does the java plugin work fine. Same results on 
both 5.0 and 4.7 boxes.

Has anyone installed /www/mozilla-gtk2 or /www/mozilla WITH_GTK2 have their java 
plugin loaded up without problems? Any idea how I can install with gtk2 and java 
plugin working?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Joe Marcus Clarke
On Wed, 2003-01-22 at 09:52, Aqua Daemon wrote:
 On Wed, 22 Jan 2003 11:18:25 -0600
 Dennis Moore [EMAIL PROTECTED] wrote:
 
  On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote:
   Hello,

   I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins 
working (java, plugger, and Shockwave). After upgrading via portupgrade 
(WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for 
both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then 
just copying (cp). Same results. I saw that other people were able to upgrade with no 
problems. What did I do wrong or what do I need to do?

   This is the text output of when I loaded the 1.2.1:

   ___

   www% mozilla
   No running window found.
   LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]
   LoadPlugin: failed to initialize shared library 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so]
   
  
  just a guess..
  
  /xfer/ports/www/mozilla cat pkg-message
  ###
  A symlink has been created for the Java plugin.  However, in order for Java
  to function, you must first install the java/jdk13 port.  If you do not
  do this, you will see the following error when starting Mozilla:
  
  LoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so]
  
  If you do not want Java support, you can safely ignore this message.
  ###
  
  -- 
  Dennis Moore
 
 I did install jdk13 port before installing/upgrading/reinstalling mozilla port (at 
/www/mozilla (I included WITH_GTK2=yes), not at /www/mozilla-gtk2 (don't know if the 
script is different, haven't tried that port yet). 
 
 I removed the link to java plugin in mozilla, then the first error disappeared, but 
the second still existed. Then I removed the java plugin in the 
/usr/X11R6/lib/browser_plugins, then all the errors went away but no java plugins 
were loaded. At all times, mozilla loaded up just fine.
 
 After googling and finding minimal information (some websites are assuming that 
gdk_input_add has problems with gtk2), I deinstalled mozilla and reinstalled it 
without the gtk2 prefix, only then does the java plugin work fine. Same results on 
both 5.0 and 4.7 boxes.
 
 Has anyone installed /www/mozilla-gtk2 or /www/mozilla WITH_GTK2 have their java 
plugin loaded up without problems? Any idea how I can install with gtk2 and java 
plugin working?

I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home.  I didn't do
anything special, I just built mozilla-gtk2, then build jdk13.

Joe

 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-gnome in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Dan Nelson
In the last episode (Jan 22), Joe Marcus Clarke said:
 I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home.  I didn't
 do anything special, I just built mozilla-gtk2, then build jdk13.

I had the same problem, and building without WITH_GTK2 fixed java for
me also.

Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1, but
our port is only 1.0.5.  I had WITH_GTK2 in /etc/make.conf and didn't
use the mozilla-devel-gtk2 port.  Removing WITH_GTK2 makes
mozilla-devel build fine.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Joe Marcus Clarke
On Wed, 2003-01-22 at 18:14, Dan Nelson wrote:
 In the last episode (Jan 22), Joe Marcus Clarke said:
  I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home.  I didn't
  do anything special, I just built mozilla-gtk2, then build jdk13.
 
 I had the same problem, and building without WITH_GTK2 fixed java for
 me also.
 
 Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1, but
 our port is only 1.0.5.  I had WITH_GTK2 in /etc/make.conf and didn't
 use the mozilla-devel-gtk2 port.  Removing WITH_GTK2 makes
 mozilla-devel build fine.

If you want mozilla-devel with GTK2 support, you should build
mozilla-devel-gtk2.  If you choose to enable Xft and GTK2, you will need
to be running my GNOME 2.1 pre-release ports.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Dan Nelson
In the last episode (Jan 22), Joe Marcus Clarke said:
 On Wed, 2003-01-22 at 18:14, Dan Nelson wrote:
  In the last episode (Jan 22), Joe Marcus Clarke said:
   I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home.  I
   didn't do anything special, I just built mozilla-gtk2, then build
   jdk13.
  
  I had the same problem, and building without WITH_GTK2 fixed java
  for me also.
  
  Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1,
  but our port is only 1.0.5.  I had WITH_GTK2 in /etc/make.conf and
  didn't use the mozilla-devel-gtk2 port.  Removing WITH_GTK2 makes
  mozilla-devel build fine.
 
 If you want mozilla-devel with GTK2 support, you should build
 mozilla-devel-gtk2.  If you choose to enable Xft and GTK2, you will
 need to be running my GNOME 2.1 pre-release ports.

Right, but from my perspective, I tried to upgrade mozilla-devel from
1.2 to 1.3, and it failed.  I care more about Xft2 than Gnome, and for
a reason I have since forgotten, had WITH_GTK2=YES in /etc/make.conf. 
I had no reason to use the mozilla-devel-gtk2 port, and since it looks
like it disables Xft, I didn't want to.

Maybe the mozilla-devel Makefile should print a warning if it sees that
the user has WITH_GTK2 set (at least until pango gets updated):

.if defined(WITH_GTK2)  !defined(WITHOUT_XFT)
BROKEN= mozilla-devel will not build with both GTK2 and Xft2 enabled. \
Either build without WITH_GTK2 or use the mozilla-devel-gtk2 \
port.
.endif

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla 1.2.1 and java

2003-01-22 Thread Joe Marcus Clarke
On Wed, 2003-01-22 at 18:52, Dan Nelson wrote:
 In the last episode (Jan 22), Joe Marcus Clarke said:
  On Wed, 2003-01-22 at 18:14, Dan Nelson wrote:
   In the last episode (Jan 22), Joe Marcus Clarke said:
I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home.  I
didn't do anything special, I just built mozilla-gtk2, then build
jdk13.
   
   I had the same problem, and building without WITH_GTK2 fixed java
   for me also.
   
   Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1,
   but our port is only 1.0.5.  I had WITH_GTK2 in /etc/make.conf and
   didn't use the mozilla-devel-gtk2 port.  Removing WITH_GTK2 makes
   mozilla-devel build fine.
  
  If you want mozilla-devel with GTK2 support, you should build
  mozilla-devel-gtk2.  If you choose to enable Xft and GTK2, you will
  need to be running my GNOME 2.1 pre-release ports.
 
 Right, but from my perspective, I tried to upgrade mozilla-devel from
 1.2 to 1.3, and it failed.  I care more about Xft2 than Gnome, and for
 a reason I have since forgotten, had WITH_GTK2=YES in /etc/make.conf. 
 I had no reason to use the mozilla-devel-gtk2 port, and since it looks
 like it disables Xft, I didn't want to.
 
 Maybe the mozilla-devel Makefile should print a warning if it sees that
 the user has WITH_GTK2 set (at least until pango gets updated):
 
 .if defined(WITH_GTK2)  !defined(WITHOUT_XFT)
 BROKEN=   mozilla-devel will not build with both GTK2 and Xft2 enabled. \
   Either build without WITH_GTK2 or use the mozilla-devel-gtk2 \
   port.
 .endif

Instead of printing an error, I just moved the WITHOUT_XFT to the
mozilla-devel Makefile.  This should take care of the problem.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message