ports are gone! CRIKEY! java MUST GO UP SOON

some time ago.. i was trying to do the same thing:

http://www.experts-exchange.com/Operating_Systems/FreeBSD/Q_21503990.html

that seemed fine.. i was noticing and remembering this little bit:

     kayvetop# pwd
   /mnt-for-6.x/usr/ports/java

cripes.. here is a current excerpt

kayve# cvsup -L 2 -h cvsup.FreeBSD.org
/usr/share/examples/cvsup/ports-supfile
cvsup: Command not found.

now i'm "kayve" and not "kayvetop"  arg.   there was no such directory as /usr/ports  but i didn't look in /mnt-for-6.x  CRIKEY
maybe i booted in the wrong place.

thanks to my flaw of kindness i no longer have a mouse at home thus i can no longer boot on freeBSD here at home because
i can't remember how to get the membrane mouse to werk freeBSD.  

now i am remembering i need to chose which freeBSD to boot to? sheesh. wait now.  how did that werk again ?   OMG OMG OMG

i picked out cafe latte from this link

http://www.freebsdfoundation.org/downloads/java.shtml

for i386  i didn't want to deal with all the newfangled rpm nonsense arg arg arg.    the instalation structions there like
make clean  WHAT??  WHAT?? make clean and yer done???  WHAT???

then then send u to sun.java and its like solaris or linux  WHAT??


anyhoo.. i extracted the dingies in /usr/local  lets see..

i thoughtthis was promising

http://www.freebsd.org/java/
 
as if..

FreeBSD
kayve# uname -v
FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
kayve#

the expanded tarballs made files.. but there are no makefiles

-rw-r--r--  1 root  wheel  15964 Sep  6 11:15 dmesg.log
kayve# cd diablo-jdk1.5.0_07/
kayve# ./configure
./configure: Command not found.
kayve# ls
COPYRIGHT                       include
LICENSE                         jre
README.html                     lib
THIRDPARTYLICENSEREADME.txt     man
bin                             sample
demo                            src.zip
kayve# javac df
javac: Command not found.
kayve#


readmes reak of uncle bill WHAT to DO?? what to DO???




kayveyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

srgilaniCommented:
to install this java package try, make and then make config and make install.

for cvsup check which cvsup, if no answer then add_pkg cvsup and then download a new port collection with the help of cvsup.
kayveyAuthor Commented:
okay.. "try?"  i can't boot on freeBSD now thanks to this O@#& i used to call a friend who lost my mouse.. i have done tries inside a
java program, but i am sensing this "try" is something like running Makefile.pl or something for installing cpan modules for perl..
is there a link to how to werk this command line installation "try?"

as for cvsup, you mean pkg_add -r cvsup, right?  or add_pkg is synonym but you still need -r right?  i think i have cvsup but i
have a stomach ache about the supfiles.

i'm sorry. i know.  i'm real lame.  i need serious syntax.  if i was booted on freeBSD now, i would try to do a better job and i will
be investigating a little but i wanted to make sure to respond to possible concerns as soon as possible.

here's a page for debian (prolly not the right syntax)

http://www.crazysquirrel.com/computing/debian/java.jspx

lots of stuff i understand going directly on the command line or in script/config files there.. but i don't think it is relevant to freeBSD..
let me se what else i googled..

here's another page with the same three damnable options: 1) winders 2) linux 3) solaris

http://www.java.com/en/download/help/5000010100.xml

ARG!

do i do the solaris or the linux?  arg!!
kayveyAuthor Commented:
on cvsup, btw, my $PATH is way *@#&ed up.. but i can't werry about that.. i have stoopid tcsh i don't know what happened to my freeking
prompt but oh well.. i just have to go full path for now the important thing is to get java werking.  i have gotten java werking here
before so i am confident, unlike with my other subtle questions that ppl who don't have my standards complain about me
"one upping" about stuff that follows from my question in my estimation in the first place.

just a freeking werd of warning.  arg.  whatev.
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

nociSoftware EngineerCommented:
to reboot from a prompt use: "shutdown -r now"
frankcheongCommented:
So can you conclude your problem ?
1. no cvsup (fixed ?)
2. the supfile is missing ?
3. Can't install java ?

For cvsup, I guess you fixed.

If you reinstall your cvsup, the supfile should be there, right ? If it is corrupted, try remove the supfile and then reinstall the cvsup again.

3. Installing java is complicated, but first of all, which version you are trying to install ?
srgilaniCommented:
ok step are these

first mount your cdrom
mount /cdrom
cd cdrom
go in the directory where cvsup package present

type pkg_add <your cvsup package file name>

rehash
which cvsup
/usr/bin
if thats the answer now your cvsup is added or repaired and you have update supfile
now download ports using cvsup and then you can install update port of java from /usr/ports/lang/
kayveyAuthor Commented:
i don't especially care about cvsup or ports or whatever right now.. let's just
give somebody a big score for java because i have an assignment due soon
that i need java for.  

noci:  umm.. okay.. what are YOU smoking?  i know that, but thanks. if i
didn't know that.. er.. shutdown -h now is what i need..

oh wait.. okay.. let me see..

kayve# javac sdf
javac: Command not found.
kayve#

nope.. sorry..  u r smoking something.  can i have some?   i have accomplish unzipping
some tars but there are no makefiles.  here is what is going on:


kayve# ls
COPYRIGHT                       include
LICENSE                         jre
README.html                     lib
THIRDPARTYLICENSEREADME.txt     man
bin                             sample
demo                            src.zip
kayve# pwd
/usr/local/diablo-jdk1.5.0
kayve# ls ..
+COMMENT
+CONTENTS
+DEINSTALL
+DESC
+INSTALL
+MTREE_DIRS
OpenOffice.org1.1.4
bin
diablo-caffe-freebsd6-i386-1.5.0_07-b00.tar.bz2
diablo-jdk-freebsd5.i386.1.5.0.07.00.tbz
diablo-jdk-freebsd6.i386.1.5.0.07.00.tbz
diablo-jdk1.5.0
diablo-jdk1.5.0_07
diablo-jre-freebsd6.i386.1.5.0.07.00.tbz
diablo-jre1.5.0
diablo-jre1.5.0_07
diablo-latte-freebsd6-i386-1.5.0_07-b00.tar.bz2
etc
include
info
jdk-1_5_0-bin-scsl.zip
lib
libdata
libexec
man
portsnap
sbin
share
www

srgilani:  what r u talking about cdrom?  i don't mess with that freeking thing no mroe
and besides

kayve# uname -v
FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
kayve#

i need to burn a new one.  hopefully that won't be necessary i have to
figger out socket programming and its freeking due on wednesday.
OMG.  OMG.  i have a stomach ache.  okay.. ferget it.  u've programmed
b4  OMG.  

oh on the topic.. my dingy is cdrom/dvd oh wait never mind.  does freeBSD 6.1
handle dvd?  can i burn dvd instead? oh well never mind that we need to
have java here. that is all that matters that is all that is urgent.

on supfiles:  i know what they are but it is a damned *@#& ball of wax.  
gives me a stomach ache.  i know there are those default ones but
i feel like i need to take a course on it or something.  rudy told me
i should upgrade the OS with cdrom .. oh is that why u brought it up
srgilani? well.. if we don't need to do it i don't want to.  i'll have to
figger out how to burn the iso agin rudy burnt me all my freeBSD
installation disks.  i don't have time to struggle with that i need
to struggle with java.  i know we will get there (unlike that ACPI
nightmare that is one of my older dingies on here.  i notice now there
is this big "ACPI project" on freeBSD somewhere.  is that what
they call bleeding edge?  i don't even know wtf ACPI is anyway.
shine that nonsense.  
kayveyAuthor Commented:
okay.   maybe i wasn't clear.  i had to retake the writing section of the CBEST.

i am not planning to reinstall my OS.  i need to make java werk.

okay.  now i am just being unecessarily redundant.  sorry.
srgilaniCommented:
the steps i have given will reinstall cvsup not the os.

frankcheongCommented:
Detailed Instruction for JAVA installation on FreeBSD
http://forum.i2p.net/viewtopic.php?t=54

Detailed Instruction for JAVA installation on FreeBSD (Screenshot and download links included)
http://www.engr.colostate.edu/~reinholz/freebsd/jdk14.html

General Instruction for JAVA installation on FreeBSD (skipped a lot of steps)
http://www.freebsd.org/java/install.html

Links for JDK download
http://www.freebsdfoundation.org/downloads/java.shtml

kayveyAuthor Commented:
okay.. dood. that last link??  u weren't paying attention to what i did i showed
u my listing i was already to that link.
kayveyAuthor Commented:
okay doods.  for some reason i have /usr/ports/java but there's no makefile

kayve# ls /usr
X11R6   compat  include libdata local   ports   share
bin     games   lib     libexec obj     sbin    src
kayve# ls /usr/ports
java
kayve# cd /usr/ports/java
kayve# ls
jdk14
kayve# cd jdk14
kayve# make install
make: don't know how to make install. Stop
kayve# ls
kayve#
kayveyAuthor Commented:
www
kayve# pkg_add diablo-caffe-freebsd6-i386-1.5.0_07-b00.tar.bz2
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?
kayve#
kayveyAuthor Commented:
kayve# mv /home/kayve/src/diablo-jre-freebsd5.i386.1.5.0.07.00.tbz .
kayve# pkg_add diablo-jre-freebsd5.i386.1.5.0.07.00.tbz
pkg_add: could not find package javavmwrapper-2.0_6 !
kayve#
kayveyAuthor Commented:
/usr/ports/distfiles  directory does not exist, as can be gleaned from the
superuser activity (prompt = kayve#) below

d, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/javavmwrapper-2.0_6.tbz' by URL
kayve# pwd
/usr/local
kayve# mv /home/kayve/src/bsd-jdk15-patches-3.tar.bz2 .
kayve# pkg_add bsd-jdk15-patches-3.tar.bz2
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?
kayve# mv bsd-jdk15-patches-3.tar.bz2 /usr/ports/distfiles
kayve# ls /usr/ports/distfiles
/usr/ports/distfiles
kayve# ls /usr/ports/distfiles/*
ls: No match.
kayve# ll /usr/ports/distfiles/*
ls: No match.
kayve# ll /usr/ports/distfiles
-rw-r--r--  1 kayve  kayve  650413 Sep  9 12:54 /usr/ports/distfiles
kayve# mv /usr/ports/distfiles bsd-jdk15-patches-3.tar.bz2
kayve#
kayveyAuthor Commented:
i know THAT.  why don't u think i KNOW THAT?  
kayveyAuthor Commented:
kayve# ll /usr/ports/distfiles
-rw-r--r--  1 kayve  kayve  650413 Sep  9 12:54 /usr/ports/distfiles
kayve# mv /usr/ports/distfiles bsd-jdk15-patches-3.tar.bz2
kayve# kldstat
Id Refs Address    Size     Name
 1    7 0xc0400000 5dd89c   kernel
 2   14 0xc09de000 561a0    acpi.ko
 3    1 0xc1e7c000 17000    linux.ko
kayve#
kayveyAuthor Commented:
i guess my problem is lack of linprocfs.ko

i gotta freeking go right now.  try to fix this later

http://www.engr.colostate.edu/~reinholz/freebsd/jdk14.html

(note to self)
kayveyAuthor Commented:
Date: Sat, 9 Sep 2006 20:01:49 -0700
From: Greg Lewis <glewis@eyesbeyond.com>
To: KAYVEN RIESE <kayve@sfsu.edu>
Subject: Re: need java

On Sat, Sep 09, 2006 at 12:11:48PM -0700, KAYVEN RIESE wrote:
> kayve# pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.00.tbz
> pkg_add: could not find package javavmwrapper-2.0_6 !

> googling proper format for pkg_add, but
[snip]
> makes me feel that should have been right

You can either

pkg_add
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.5-RELEASE/packages/java/ja
vavmwrapper-2.0_6.tbz


kayve# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.5-RELEASE/packages/java/javavmwrapper-2.0_6.tbz
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.5-RELEASE/packages/java/javavmwrapper-2.0_6.tbz... Done.
kayve#

...byte 2738FREEBSD FOUNDATION

Diablo Latte Version 1.5.0-0 ("Software")

END USER LICENSE AGREEMENT

You may install this Software only if you are currently a licensee
of FreeBSD (including substantially similar versions of FreeBSD) for
your own internal use only with your copy(ies) of FreeBSD (including
substantially similar versions of FreeBSD).  If you are an OEM - a person
who will bundle the Software with other software before distributing the
bundled product to end users - you must read and "accept" the provisions
of the OEM License Agreement.  You must read the License Agreement and
enter "YES" below to continue your install.  By doing so, you agree to
be bound by all of the terms of this License Agreement.

IMPORTANT - READ CAREFULLY: This End User License Agreement ("Agreement")
is a legal agreement between you (in your capacity as an individual
and as an agent for your company, institution, or other entity) and the
FreeBSD Foundation ("Foundation").  Accessing, downloading, installing,
using or copying of the Software (as hereafter defined) by you or a third
party on your behalf indicates your agreement to be bound by the terms
and conditions of this Agreement.  If you do not agree to these terms and
conditions, do not access, download, install, use or copy the Software.
In the absence of this Agreement, you have no rights in the Software.
1.      LICENSE GRANT.

        (a)     Subject to all third party intellectual property claims
        and without warranty of any nature, Foundation hereby grants to
        you, and you hereby accept, a non-exclusive license for use in
        (x) general purpose servers and (y) general purpose desktop and
        laptop personal computers ("License") to:  (i) download, install
        and use the Software in binary executable form on one or more
        computers for use by a total number of end users not to exceed
        the number of your end users who are authorized to use FreeBSD;
        provided that you agree to implement reasonable controls to ensure
        that your use of the Software does not exceed such maximum number
        of end users; and (ii) download and/or use one or more copies of
        any related materials provided by Foundation ("Related Materials")
        in electronic format and/or one copies of the Related Materials
        in hard copy format subject to the following terms and conditions:

                (i)     other than as set forth in paragraph 1(a) above,
                you may not make or distribute copies of the Software,
                or electronically transfer the Software from one computer
                to another or over a network;

                (ii)     you may not decompile, reverse engineer,
                disassemble or otherwise reduce the Software to a
                human-perceivable form;

                (iii)   you may not rent, lease or sublease the Soft

i think we have a winnah.  and he ain't heah

kayveyAuthor Commented:
understanding of the parties, and superceded all previous communications,
written or oral, relating to the subject of this Agreement.


Do you agree to the above license terms? [yes or no]
 yes
pkg_add: warning: package 'diablo-jre-freebsd6.i386.1.5.0.07.00' requires 'xorg-libraries-6.9.0', but 'xorg-libraries-6.8.2' is installed
kayve#

or not
kayveyAuthor Commented:
oops.  fergotjdk

p://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/xorg.tbz... Done.
pkg_add: package 'xorg-6.8.2' or its older version already installed
kayve# pkg_add diablo-jre-freebsd6.i386.1.5.0.07.00.tbz
pkg_add: package 'diablo-jre-freebsd6.i386.1.5.0.07.00' or its older version already installed
kayve# pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.00.tbz
kayveyAuthor Commented:


Do you agree to the above license terms? [yes or no]
yes
You appear to already have a Java browser plugin installed.
Would you like to replace it with the Diablo 1.5.0 plugin? [yes or no]
yes
pkg_add: warning: package 'diablo-jdk-freebsd6.i386.1.5.0.07.00' requires 'xorg-libraries-6.9.0', bu
t 'xorg-libraries-6.8.2' is installed
kayve#
kayveyAuthor Commented:
darn

Would you like to replace it with the Diablo 1.5.0 plugin? [yes or no]
yes
pkg_add: warning: package 'diablo-jdk-freebsd6.i386.1.5.0.07.00' requires 'xorg-libraries-6.9.0', bu
t 'xorg-libraries-6.8.2' is installed
kayve# pkg_add diablo-jre-freebsd5.i386.1.5.0.07.00.tbz
pkg_add: package 'diablo-jre-freebsd5.i386.1.5.0.07.00' or its older version already installed
kayve#
kayveyAuthor Commented:
shoot. java plugin?  did i mention i need a compiler?
kayveyAuthor Commented:
darn

kayve# kldload linprocfs
kayve# kldstat
Id Refs Address    Size     Name
 1   10 0xc0400000 5dd89c   kernel
 2   14 0xc09de000 561a0    acpi.ko
 3    2 0xc1eca000 17000    linux.ko
 4    1 0xc2312000 6000     linprocfs.ko
kayve# mount -t linprocfs /compat/linux/proc
usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special node
       mount [-adfpruvw] [ -F fstab] [-o options] [-t ufs | external_type]
       mount [-dfpruvw] special | node
kayve#



kayveyAuthor Commented:
kayve# pkg_info | grep diablo
diablo-jdk-freebsd6.i386.1.5.0.07.00 Java Development Kit 1.5.0_07.00
diablo-jre-freebsd6.i386.1.5.0.07.00 Java Runtime Environment 1.5.0_07.00
kayve#
kayveyAuthor Commented:
> javac
/libexec/ld-elf.so.1: Shared object "libz.so.3" not found, required by "javac"


kayveyAuthor Commented:
these ppl r a bunch of losers.  how do i cancel my points?
srgilaniCommented:
to install package in ports collection you have to do these steps.

/usr/ports/java/jdk14
then
you have to first create make and config by typking make
make
then run installation like this
make install

kayveyAuthor Commented:
yer wrong.

too late.  u failed.

i had to pkg_add diablo-blah-blah.tgz

i was missing a doodad as can be seen in my above posts.
i had to pkg_add that and the guy gave me this long url thingy.
i know how to make install i tried that and i told you i tried that and
you didn't listen.  make does not werk with no Makefile  there was
no makefile there was no /usr/ports/java/jdk14 i created the directories
but that is nothing.

i already said this and you didn't listen.,
kayveyAuthor Commented:
please kill this question these ppl are broken record losers
kayveyAuthor Commented:
in order to function, u have to listen to what a puter says.  one guy on here said "give it in english, give an explanatin"


BAH!

this is what MY puter said.  MY puter is not YER puter.  u have to LISTEN to function.

LISTEN ONCE AGAIN if u expect to accomplish squat

ayve# mv /home/kayve/src/diablo-jre-freebsd5.i386.1.5.0.07.00.tbz .
kayve# pkg_add diablo-jre-freebsd5.i386.1.5.0.07.00.tbz
pkg_add: could not find package javavmwrapper-2.0_6 !
kayve#

i was missing this.  it had to be replaced.  i didn't know the URL for javavmwrapper-2.0_6 but some other guy
werked.   i didn't have an java Makefiles u didn't tell me which link i don't know.  maybe u run linux u
r talking out yer butt because this is freeBSD.;

i have accomplished my installation and maybe one guy who said "pkg_add" deserves like 50pts because
that was a small part of the answer for me.  it didn't occur to me that pkg_add  can take a *.tgz file
argument because the only way i have encountered pkg_add is with -r and it automatically goes on the netwerk.  my
friend rudy did pkg_add so fast i didn't see what was happening.

okay that was u srglaalilia   but yer suggestion about ports was bunk.  you didn't listen to what i said.
my system had no ports.  yer solution never werked i tried it the first time u suggested it.
i now have java (i hope) but it was a guy who emailed me from eyesbeyond who fixed it.
he told me i could do the command pkg_add *.tgz i thought i could pkg_add -r java and that
would just go on the netwerk  it werked fro pkg_add -r eboard.  i told u there was something wrong
with cvsup or something and that i didn't have time to debug that mess.  i have freeBSD 5.4 and no
more recent CDs to werk with and no impetus to get into a long rigamarole trying to figger out
how to burn a freeBSD OS when i have never done it when at the same time this freeking
assignment is hanging over my head plus i am a substitite teacher for 4 hours every morning.

make will not werk with no makefile so u needed to tell me how to get the makefile in there but i tried
that yer solution didn't werk.  u can have 50 pts for saying "pkg_add" but i needed more information
than that.

i consider this question deleted.
kayveyAuthor Commented:

> man javac
No manual entry for javac
> su
Password:
kayve# cd /usr/ports/java/jdk14
kayve# ls
kayve#

kayveyAuthor Commented:

Date: Mon, 11 Sep 2006 15:15:50 -0700 (PDT)
From: KAYVEN  RIESE <kayve@sfsu.edu>
To: Greg Lewis <glewis@eyesbeyond.com>
Subject: Re: need java



On Mon, 11 Sep 2006, Greg Lewis wrote:

> On Mon, Sep 11, 2006 at 03:07:21PM -0700, KAYVEN RIESE wrote:
> > oh oh.  i think i am getting werried now
> >
> > bank_server.java: 8 lines, 80 characters.
> > > javac bank_server.java
> > /libexec/ld-elf.so.1: Shared object "libz.so.3" not found, required by
> > "javac"

> What do you see when you type

> ls /usr/lib/libz*

> ?

pkg_add: unable to fetch 'http://www.k1.com.br/libexec.tar.gz' by URL
kayve# ls /usr/lib/libz*
/usr/lib/libz.a         /usr/lib/libz.so
kayve#



kayveyAuthor Commented:
Date: Mon, 11 Sep 2006 15:44:01 -0700
From: Greg Lewis <glewis@eyesbeyond.com>
To: KAYVEN RIESE <kayve@sfsu.edu>
Subject: Re: need java

On Mon, Sep 11, 2006 at 03:29:10PM -0700, KAYVEN RIESE wrote:
> >So, somehow your libz.so.3 symlink has gotten trashed.  That and the
> >fact that you reported /usr/ports mysteriously disappeared earlier makes
> >me think your system is at least partially hosed.  What I would do at
> >that point is probably reinstall unless I was confident that I hadn't
> >buggered up something else important.  If you want to keep going then,
> >as root, you need to do something like this:
> >
> >cd /usr/lib
> >ln -s libz.so libz.so.3
> >
> >and then try again.

> >javac bank_server.java
> /libexec/ld-elf.so.1: Shared object "libpthread.so.2" not found, required
> by "javac"

Which really makes me think your system is partially trashed.  Again, your
options are to reinstall or keep going and recreate the symlinks as needed.

--
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org

kayveyAuthor Commented:
Date: Mon, 11 Sep 2006 15:22:29 -0700
From: Greg Lewis <glewis@eyesbeyond.com>
To: KAYVEN RIESE <kayve@sfsu.edu>
Subject: Re: need java

On Mon, Sep 11, 2006 at 03:15:50PM -0700, KAYVEN RIESE wrote:
> On Mon, 11 Sep 2006, Greg Lewis wrote:
> >On Mon, Sep 11, 2006 at 03:07:21PM -0700, KAYVEN RIESE wrote:
> >>oh oh.  i think i am getting werried now
> >>
> >>bank_server.java: 8 lines, 80 characters.
> >>>javac bank_server.java
> >>/libexec/ld-elf.so.1: Shared object "libz.so.3" not found, required by
> >>"javac"
> >
> >What do you see when you type
> >
> >ls /usr/lib/libz*
> >
> >?

> pkg_add: unable to fetch 'http://www.k1.com.br/libexec.tar.gz' by URL
> kayve# ls /usr/lib/libz*
> /usr/lib/libz.a         /usr/lib/libz.so
> kayve#

So, somehow your libz.so.3 symlink has gotten trashed.  That and the
fact that you reported /usr/ports mysteriously disappeared earlier makes
me think your system is at least partially hosed.  What I would do at
that point is probably reinstall unless I was confident that I hadn't
buggered up something else important.  If you want to keep going then,
as root, you need to do something like this:

cd /usr/lib
ln -s libz.so libz.so.3

and then try again.

srgilaniCommented:
to resolve your issue you have to follow these steps.

first you have to install cvsup (best to do is install from your bsd cd packages)

once your cvsup is install and working , then you have to do a port upgrade after that you will be able to install java from /usr/ports/lang/jdk.

if you dont want to do these then another easiest way is go ftp://www.freebsd.org
then in i386 and then find update port tgz or gz file.
download it and unzip it in /usr  it will decompress ports their and from that you can also do the rest of port install process.

kayveyAuthor Commented:
i think somebody else helped me with this.  i burned 6.1 disks and did upgrade from the sysinstall bootup.
i'll give you the points for goodwill since the problem is already solved.

if u want to give me a little schpiel about supfiles that would be good.  i know about
cvsup and i think i have run it once, but i know the supfiles are in this directory somewhere it is
posted on my other question.  i understand that they have some examples i ferget the exact
command but dont you run cvsup with the supfile argument or something?  those supfiles
look like a bear to me so if u said something that would boil it down and make me more
confident about googling how to edit supfiles then i will give you the points.

how about that?  i don't care if i need to debug yer solution then like i usually do. i'm
not going to actually implement what you say i just want to log it into the carbon based
harddrive in my cranium for possible future use.
srgilaniCommented:
to update ports using cvsup use below command.

cvsup /usr/share/examples/ports-supfile -h  cvsup1.FreeBSD.org

in ports-supfile only un hash line having this syntax "ports-all"

if you intrested to explore bsd more then have a look on www.freebsddiary.org.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kayveyAuthor Commented:
oh they're all hashed out? hmm..

otay
srgilaniCommented:
Thank you for points.

Also you can get new supfiles from freebsd ftp site.

ftp.freebsd.org

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.