Re: Having Some Trouble with Java on FreeBSD

2005-10-28 Thread N Deepak
On Thu, Oct 20, 2005 at 02:06:16PM -0600, Franklin E. Powers, Jr. wrote:
 
 So I tinkered with that a bit and I discovered that the almost 
 complete native build for FreeBSD could run.  So I decided to try to 
 finish the build process, by getting it to build itself.  But it 
 suffered a slightly different error.
 
 So...  Then I went through the documentation for FreeBSD some more 
 and decided to start over by reinstalling the Linux Java using:
   cd /usr/ports/java/linux-sun-jdk15
   make install clean
 
 But now I get the following error: linux-sun-jdk-1.5.0.01,2 does not 
 run (core dumps: Bad System Call).  Note that previously I manually 
 installed it by simply downloading the Linux version on another 
 computer, transfering it over to the computer, and executing the file.
 
Try with /usr/ports/java/jdk14 (native JDK 1.4 for FreeBSD).  It worked
for me.  I am running FreeBSD 5.4 STABLE.

Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


remove distributions before installworld?

2005-10-26 Thread N Deepak
Hi,

  I have installed FreeBSD 5.3-RELEASE through CD-ROM.

  I used cvsup to sync my /usr/src directory to the latest STABLE tree.

  The problem is that I had installed some distributions that I no
  longer want to keep.  Also, I don't need lpr (this can be disabled
  through make.conf).  So, is there a way to remove these files, before
  I do 'make installworld'?

  I did not find any information on this in the handbook.

Thanks,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libdl.so.2 not found for java plugin

2005-10-21 Thread N Deepak
On Thu, Oct 20, 2005 at 09:55:45AM -0400, Lowell Gilbert wrote:
When I symlink libjavaplugin_oji.so from
/usr/X11R6/lib/browser_plugins/ to the plugin path in jdk directory, I
get this error message on starting Mozilla:
  
LoadPlugin: failed to initialize shared library

  /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
[Shared object libdl.so.2 not found, required by
libjavaplugin_oji.so]
 
 On my system, that was installed from linux_base:
 ~ /usr/local/sbin/pkg_which /usr/compat/linux/lib/libdl.so.2
 linux_base-8-8.0_6 linux_base-8-8.0_7
 ~
 
It's there on my system too.  But LoadPlugin doesn't seem to see it!  Am
I supposed to use libmap.conf?  The man page didn't help me much.

[EMAIL PROTECTED]:/compat/linux/lib$ ls libdl*
libdl-2.3.2.so libdl.so.2
[EMAIL PROTECTED]:/compat/linux/lib$

Thanks,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libdl.so.2 not found for java plugin

2005-10-19 Thread N Deepak
Hi,

  I am trying to get Java plug-in for Mozilla working.  I have read the
  handbook and compiled/installed ports/java/linux-sun-jdk14/

  I can execute /usr/local/linux-sun-jdk1.4.2/bin/java.

  When I symlink libjavaplugin_oji.so from
  /usr/X11R6/lib/browser_plugins/ to the plugin path in jdk directory, I
  get this error message on starting Mozilla:

  LoadPlugin: failed to initialize shared library
  /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
  [Shared object libdl.so.2 not found, required by
  libjavaplugin_oji.so]

  Help, please!

  Other options I have tried:
  jdk1.3- java binary crashes ('OUCH: nested memory code, to 1
  levels')
  native jdk1.5 - compile stops after a series of errors ('Java
  HotSpot(TM) Client VM warning: Can't detect initial thread stack
  location')
  
  (I am using FreeBSD 5.3, linprocfs is mounted)
  
Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh X forwarding problem

2005-10-18 Thread N Deepak
On Tue, Oct 18, 2005 at 09:11:32AM +0200, John Oxley wrote:
 I have two machines, cortizone and morphine.  On cortizone if I ssh into
 the box I can run X programs just fine (like eximon).  On morphine, I
 cannot get X forwarding going.
 
What exactly is the error message you see?

Try ssh -Y hostname (instead of -x) and see if it helps.

Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh X forwarding problem

2005-10-18 Thread N Deepak
On Tue, Oct 18, 2005 at 01:31:35AM -0700, N Deepak wrote:
 On Tue, Oct 18, 2005 at 09:11:32AM +0200, John Oxley wrote:
  I have two machines, cortizone and morphine.  On cortizone if I ssh into
  the box I can run X programs just fine (like eximon).  On morphine, I
  cannot get X forwarding going.
  
 What exactly is the error message you see?
 
 Try ssh -Y hostname (instead of -x) and see if it helps.
 
Sorry, that is -X, not -x.

Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


evolution very slow

2005-10-17 Thread N Deepak
Hi,

  I am running FreeBSD-5.3-RELEASE.  I used cvsup and portupgrade to
  install evolution.  The version is: 2.2.3.

  The problem is that evolution is too slow.  It takes a few minutes
  after I give the password to show my inbox with hardly 30 e-mails.
  Moving from one e-mail to another is also very slow, and opening
  folders with a large number of e-mails is well nigh impossible.

  My account type is Microsoft Exchange.

  Any hints or pointers?

Thanks,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: evolution very slow

2005-10-17 Thread N Deepak
On Mon, Oct 17, 2005 at 10:24:32PM -0700, N Deepak wrote:
 Hi,
 
   I am running FreeBSD-5.3-RELEASE.  I used cvsup and portupgrade to
   install evolution.  The version is: 2.2.3.
 
   The problem is that evolution is too slow.  It takes a few minutes
   after I give the password to show my inbox with hardly 30 e-mails.
   Moving from one e-mail to another is also very slow, and opening
   folders with a large number of e-mails is well nigh impossible.
 
   My account type is Microsoft Exchange.
 
   Any hints or pointers?
 
Got it, the software was using 'internet' instead of 'intranet'.

When I replaced OWA URL from:
mail.example.com/exchange

to:
10.102.1.9/exchange

the sluggishness disappeared.

Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


localepurge for FreeBSD?

2005-10-16 Thread N Deepak
Hi,

Debian GNU/Linux has a utility called `localepurge'.  This software asks
the user about his locale, and purges remaining locales.  The recovered
disk space, when executed the first time, can run into many megabytes.

Is there an equivalent for FreeBSD?

Thanks,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: localepurge for FreeBSD?

2005-10-16 Thread N Deepak
On Sun, Oct 16, 2005 at 03:25:34PM -0400, Parv wrote:
  Debian GNU/Linux has a utility called `localepurge'.  This
  software asks the user about his locale, and purges remaining
  locales.
 
 I assume the user in this context is root?
 
Yes.

  The recovered disk space, when executed the first time, can run
  into many megabytes.
 
 One question: in a remote chance if one wants to convert/translate
 text from one locale to another, will that conversion work (via
 iconv  its ilk) devoid of the locale definitions?
 
Likely not, but that's why it first shows a menu, where the user can
keep locales he is interested in.  OTOH, I just don't need most of those
locales -- chinese, korean, japanese, ...  I can use the same disk space
for something better.

Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


D-Link wireless LAN card not working in 5.3-R

2005-10-14 Thread N Deepak
Hi,

  I am running FreeBSD 5.3 RELEASE on IBM ThinkPad R40e.  I have
  compiled a custom kernel.

  I have a D-Link wireless LAN card:  DWL-G650+

  When I insert the card into PCMCIA slot, I see this in
  /var/log/messages:

Oct 14 12:16:15 deepak-bsd53 kernel: cardbus0: Expecting link target,
got 0x2a
Oct 14 12:16:15 deepak-bsd53 kernel: cardbus0: Resource not specified in
CIS: id=10, size=2000
Oct 14 12:16:15 deepak-bsd53 kernel: cardbus0: Resource not specified in
CIS: id=14, size=2
Oct 14 12:16:15 deepak-bsd53 kernel: cardbus0: network at device 0.0
(no driver attached)
Oct 14 12:16:15 deepak-bsd53 kernel: cbb0: CardBus card activation
failed

  I have enabled PCMCIA devices in the kernel config:

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus

  Relevant text from dmesg:

cbb0: TI1510 PCI-CardBus Bridge mem 0xb000-0xbfff irq 11 at
device 12.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0

  Any pointers to get the card working?

Thanks!
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: D-Link wireless LAN card not working in 5.3-R

2005-10-14 Thread N Deepak
On Fri, Oct 14, 2005 at 02:41:59PM -0500, Andrew L. Gould wrote:
 
 Don't forget about:
 
 device ath_hal
 
 in the kernel configuration file.
 
Thanks.  I already found one ath_hal.ko in /boot/kernel, and I could
kldload it successfully.  But when I inserted my DWL-G650+, I got the
same messages:

Oct 15 08:56:30 deepak-bsd53 kernel: cardbus0: Expecting link target,
got 0x2a
Oct 15 08:56:30 deepak-bsd53 kernel: cardbus0: Resource not specified in
CIS: id=10, size=2000
Oct 15 08:56:30 deepak-bsd53 kernel: cardbus0: Resource not specified in
CIS: id=14, size=2
Oct 15 08:56:30 deepak-bsd53 kernel: cardbus0: network at device 0.0
(no driver attached)
Oct 15 08:56:30 deepak-bsd53 kernel: cbb0: CardBus card activation
failed

(I am in FreeBSD 5.3 RELEASE.)

Regards,
Deepak

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]