Re: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Vizion
On Monday 30 May 2005 20:46,  the author Xu Qiang contributed to the dialogue 
on-
 RE: jdk 1.3.1 in FreeBSD: 

>Vizion wrote:
>> I have the sources - I could email them to you
>
>I have found compat4x-i386-5.3.tbz in FreeBSD 5.3 Disc 1. I "tar jxvf" the
> library files into /lib/compat4x. And make some symbolic links: ln -s
> compat4x/libc.so.4
>ln -s compat4x/libm.so.2 (This one is also required by the package
> diablo-jdk-1.3.1.0.tgz)
>
>After that, I run "java -version" again, but it throwed out a segmentation
> fault and dumped core. :( -
># java -version
>Segmentation fault (core dumped)
>-
>
>And when I use gdb to trace the core file, it can't recognize the file
> format: -
># gdb java java.core
>GNU gdb 6.1.1 [FreeBSD]
>Copyright 2004 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain
> conditions. Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as
> "i386-marcel-freebsd"..."/usr/local/diablo-jdk1.3.1/bin/java": not in
> executable format: File format not recognized
>
>Core was generated by `java'.
>Program terminated with signal 11, Segmentation fault.
>#0  0x280ee35a in ?? ()
>(gdb)
>-
>
>Any help?
did you portupgrade?
did you do clean?
then make ? 
then make install?
(not make install clean!!!) ??

David

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Xu Qiang
Vizion wrote:
> I have the sources - I could email them to you

I have found compat4x-i386-5.3.tbz in FreeBSD 5.3 Disc 1. I "tar jxvf" the 
library files into /lib/compat4x. And make some symbolic links: 
ln -s compat4x/libc.so.4
ln -s compat4x/libm.so.2 (This one is also required by the package 
diablo-jdk-1.3.1.0.tgz)

After that, I run "java -version" again, but it throwed out a segmentation 
fault and dumped core. :(
-
# java -version
Segmentation fault (core dumped)
-

And when I use gdb to trace the core file, it can't recognize the file format:
-
# gdb java java.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as 
"i386-marcel-freebsd"..."/usr/local/diablo-jdk1.3.1/bin/java": not in 
executable format: File format not recognized

Core was generated by `java'.
Program terminated with signal 11, Segmentation fault.
#0  0x280ee35a in ?? ()
(gdb) 
-

Any help?

Regards,
Xu Qiang


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


RE: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Xu Qiang
Vizion wrote:
> I have the sources - I could email them to you

Hi, David: 

I will be grateful if you can send them to me through email. 

thanks,

Regards,
Xu Qiang

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


Re: jdk 1.3.1 in FreeBSD

2005-05-30 Thread Vizion
On Sunday 29 May 2005 23:17,  the author Xu Qiang contributed to the dialogue 
on-
 RE: jdk 1.3.1 in FreeBSD: 

>Vizion wrote:
>> I will try and find out for you if someone else with a better memory
>> than I gets there first
>
>After some research, I found that i need to install ports/misc/compat4x,
> either through ports, or "pkg_add -r". The problem is: my FreeBSD machine
> cannot connect to outside.
>
>In this case, is there a compiled libc.so.4 file in any FreeBSD repository
> that can be visited by web browser?
>
>thanks,
>
>Regards,
>Xu Qiang

I have the sources - I could email then to you

David

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: jdk 1.3.1 in FreeBSD

2005-05-29 Thread Xu Qiang
Vizion wrote:
> I will try and find out for you if someone else with a better memory
> than I gets there first

After some research, I found that i need to install ports/misc/compat4x, either 
through ports, or "pkg_add -r". The problem is: my FreeBSD machine cannot 
connect to outside. 

In this case, is there a compiled libc.so.4 file in any FreeBSD repository that 
can be visited by web browser?

thanks, 

Regards,
Xu Qiang


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


RE: jdk 1.3.1 in FreeBSD

2005-05-29 Thread Xu Qiang
Vizion wrote:
> I think you are right -- I am sure it is a gnu package -- which
> includes some version of libc -- I cannot remember what it is
> 
> I will try and find out for you if someone else with a better memory
> than I gets there first

I just sadly found out such a line in the Makefile in ports collection: 
IGNORE= does not run on FreeBSD >= 5.x

So maybe for my FreeBSD 5.3, it is a mission impossible. 

Anyway, is there a similar jdk binary which can be used directly in FreeBSD 
5.3? I can't find any more link on 
http://www.freebsdfoundation.org/downloads/java.shtml

thanks, 

Regards,
Xu Qiang

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


Re: jdk 1.3.1 in FreeBSD

2005-05-29 Thread Vizion
On Sunday 29 May 2005 19:19,  the author Xu Qiang contributed to the dialogue 
on-
 RE: jdk 1.3.1 in FreeBSD: 

>Vizion wrote:
>> I think you need
>> /usr/ports/gnutls
>
>I found gnutls is a tool for Transport Layer Security, which can hardly
> relate to the java sdk issue, right?
>
I think you are right -- I am sure it is a gnu package -- which includes some 
version of libc -- I cannot remember what it is

I will try and find out for you if someone else with a better memory than I 
gets there first

David

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: jdk 1.3.1 in FreeBSD

2005-05-29 Thread Xu Qiang
Vizion wrote:
> I think you need
> /usr/ports/gnutls

I found gnutls is a tool for Transport Layer Security, which can hardly relate 
to the java sdk issue, right?

Regards,
Xu Qiang


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


Re: jdk 1.3.1 in FreeBSD

2005-05-27 Thread Vizion
On Friday 27 May 2005 01:28,  the author Xu Qiang contributed to the dialogue 
on jdk 1.3.1 in FreeBSD:
>Hi, all: 
>
>I have downloaded diablo-jdk-1.3.1.0.tgz, and extracted it into /usr/local, 
but when i test it by running "/usr/local/diablo-jdk1.3.1/bin/java -version", 
it told me: 
>---
>/usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by 
"java"
>---
>
>Any help?
>
>Regards,
>Xu Qiang
>
I think you need 
/usr/ports/gnutls

but do a portupgrade first ..
David

40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"