real pathetic luser with a dual boot freeBSD5.4/6.0 box needs wisdom alms

okay i know how to read error messages but how do i avoid spending all night futilely
googling for java programming

figure:: Too many arguments.
Path: /home/kayve/src/mico--devel--2.3--patch-98
(root@www) 141> make
"MakeVars", line 142: Missing dependency operator
"MakeVars", line 150: Need an operator
"MakeVars", line 153: Need an operator
"MakeVars", line 155: Missing dependency operator
"MakeVars", line 158: Need an operator
"M

./configure seems to have failed i need java.. i am unable to properly ask questions to
propeller heads i am werthless and weak.
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.

kayveyAuthor Commented:
actually.. i think my mico might be werking now
David PiniellaCommented:
your makefile syntax looks like it's causing problems.

Java on FreeBSD: http://freebsdwiki.net/index.php/Java (disclosure: I write for that wiki, and I wrote that article.)
kayveyAuthor Commented:
i have to download all those files? i think i got my mico to werk tho now..

maybe not.. arrg!
(kayve@kayvetop) 102>
Path: /home/kayve                                                               (kayve@kayvetop) 102> javac
javac: Command not found.
Path: /home/kayve                                                               (kayve@kayvetop) 103>
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

David PiniellaCommented:
you need them if you want to run a JRE/JVM/JDK on your FreeBSD machine, yes.
kayveyAuthor Commented:
===> avalon-logkit
===>  Installing for avalon-logkit-1.2_1
===>   avalon-logkit-1.2_1 depends on file: /usr/local/jdk1.4.2/bin/java - not found
===>    Verifying install for /usr/local/jdk1.4.2/bin/java in /usr/ports/java/jdk14
===>  jdk-1.4.2p7_1 :
 The source distribution exists on your system, but due to
 licensing restrictions you still need to download the
 patchset, bsd-jdk14-patches-7.tar.gz, from
 http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
 Please place the patchset in /usr/ports/distfiles.
.*** Error code 1

Stop in /usr/ports/java/jdk14.
*** Error code 1

Stop in /usr/ports/java/avalon-logkit.
*** Error code 1

Stop in /usr/ports/java.
Path: /usr/ports/java                                                           (root@www) 102>

i saved the file it doesn't explain clearly in the BUILD thingy.. do i follow the NetBSD instructrions?
/usr/ports/distfiles/make doesn't werk

i really hate patches
  what is a *.bin file?

(root@www) 104> ls
3dm-x86-bsd.tgz                         j2sdk-1_4_2_08-linux-i586.bin
915resolution.tar.gz                    jdk14-bootstrap-src.tar.gz
BIULD                                   jdk14.patches
BSDPAN-5.8.6.tar.bz2                    je-1.7.1.tar.gz
BUILD                                   jpegexiforient.c
ChangeLog                               jpegsrc.v6b.tar.gz
DBD-mysql-2.9007.tar.gz                 junit3.8.1.zip
DBI-1.48.tar.gz                         lame-3.96.1.tar.gz
LPRng-3.8.28.tgz                        lcms-1.14.tar.gz
LPRngTool-1.3.2.tgz                     libXft-2.1.6.tar.bz2
LogKit-1.2-bin.tar.gz                   libart_lgpl-1.tar.bz2
MPlayer-1.0pre7.tar.bz2                 libcroco-0.6.0.tar.bz2
Mesa-6.2.1-20050213.tar.bz2             libdvdcss-1.2.8.tar.bz2
MesaDemos-6.0.1.tar.bz2                 libdvdread-0.9.4.tar.gz
README                                  libexif-0.6.12.tar.gz
THANKS                                  libiconv-1.9.2.tar.gz
XML-Parser-2.34.tar.gz                  libmikmod-3.1.11.tar.gz
a2ps-4.13b.tar.gz                       libmng-1.0.8.tar.gz
aalib-1.4rc5.tar.gz                     libogg-1.1.2.tar.gz
apache2                                 libpng-1.2.8.tar.gz
aterm-0.4.2.tar.gz                      libtool-1.3.5.tar.gz
autoconf-000227.tar.bz2                 libtool-1.5.10.tar.gz
autoconf-2.53.tar.bz2                   libvorbis-1.1.0.tar.gz
autoconf-2.59.tar.bz2                   libwmf-0.2.8.3.tar.gz
automake-1.4-p6.tar.gz                  m4-1.4.3.tar.gz
automake-1.5.tar.gz                     make-3.80.tar.bz2
bash                                    mozilla-1.7.8-source.tar.bz2
bison-1.75.tar.bz2                      mplayer
bsd-jdk14-patches-7.tar                 mysql-4.1.11.tar.gz
cdrtools-2.01.tar.bz2                   nasm-0.98.39.tar.bz2
curl-7.13.1.tar.bz2                     openoffice.org1.1
dbh-1.0.24.tar.gz                       packages
desktop-file-utils-0.10.tar.gz          patch-java-dnd-fix
drm-20050109.tar.bz2                    patch-pthread_attr_get_np.c
dvd+rw-tools-5.21.4.10.8.tar.gz         pciutils-2.1.11.tar.bz2
exifautotran.txt                        perl-5.8.6.tar.bz2
expat-1.95.8.tar.gz                     php-5.0.4.tar.bz2
flashplugin                             popt-1.7.tar.gz
flashpluginwrapper-0.20021113.tar.gz    rpm
fontconfig-2.2.3.tar.gz                 rpm-3.0.6.tar.gz
freetype-2.1.9.tar.bz2                  shared-mime-info-0.16.tar.gz
gdbm-1.8.3.tar.gz                       sudo-1.6.8p8.tar.gz
gettext-0.14.4.tar.gz                   t1lib-5.0.1.tar.gz
gettext-1.03.tar.gz                     tcl8.3.5-src.tar.gz
ghostscript                             tiff-3.7.2.tar.gz
gimp-2.2.6.tar.bz2                      tk8.3.5-src.tar.gz
gimp-print-4.2.7.tar.gz                 unzip552.tar.gz
glib-1.2.10.tar.gz                      vobcopy-0.5.14.tar.bz2
gnome                                   wget-1.8.2.tar.gz
gnome2                                  wget_1.8.2-12.diff.gz
gtk+-1.2.10.tar.gz                      win32
gtk-xfce-engine-2.2.7.tar.gz            xfce4
help2man-1.35.1.tar.gz                  xmms-1.2.10.tar.bz2
hicolor-icon-theme-0.5.tar.gz           xorg
inkscape-0.41.tar.gz                    xterm-202.tgz
j2sdk-1_4_2-bin-scsl.zip                zcrypt29-exportable.zip
j2sdk-1_4_2-src-scsl.zip                zip23.tar.gz
Path: /usr/ports/distfiles                                                      
(root@www) 105>
kayveyAuthor Commented:
above was a listing for /usr/ports/distfiles
David PiniellaCommented:
you have the file there, but it's not gzipped -- it's called bsd-jdk14-patches-7.tar instead of bsd-jdk14-patches-7.tar.gz, which is what it's supposed to be. if you downloaded with windows, it may have just stripped the .gz from the file name. run "file bsd-jdk14-patches-7.tar" in that dir to find out what kind of file it is. if it is a gzipped tar, then just rename it. if it's just a tar (ungzipped,) then either re-download it or gzip it.
kayveyAuthor Commented:

For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.
(LFI#129530/Form ID#011801)

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
ELF binary type "0" not known.
./install.sfx.3771: 1: Syntax error: "(" unexpected
Done.
Path: /usr/ports/distfiles                                                      (root@www) 111>
kayveyAuthor Commented:
i ran gzip on it then i untarred it the tar file is still there isn't that how tar werks?

what do i do then?  i don't understand the BUILD file. do i create all those environment
variables?

i hate patches  {:(
David PiniellaCommented:
I think you'd be better off re-downloading the .tar.gz file directly. You shouldn't need to create the env variables, since the Makefile (and whatever scripts the Java install runs) should do it for you (if needed).
kayveyAuthor Commented:
i have been doing everything directly the file is there
kayveyAuthor Commented:

okay maybe the ownership is messed up  who should own the files

(kayve@www) 104> ll j2*
-rw-r--r--  1 root   wheel  132641077 Jul 12 15:12 j2eesdk-1_4_02_2005Q2-linux.bin
-rwxr-xr-x  1 root   wheel  133843047 Jul 12 15:12 j2eesdk-1_4_02_2005Q2-solaris-i586.bin
-rwxr-xr-x  1 kayve  wheel   14389429 Jul 12 13:51 j2re-1_4_2_08-linux-i586.bin
-rw-r--r--  1 rudy   rudy     2513462 Jul 12 15:12 j2sdk-1_4_2-bin-scsl.zip
-rw-r--r--  1 root   wheel    3427247 Jul 12 15:12 j2sdk-1_4_2-mozilla_headers-unix.zip
-rw-r--r--  1 rudy   rudy    49269919 Jul 12 15:12 j2sdk-1_4_2-src-scsl.zip
-rw-r--r--  1 rudy   rudy    36418360 Jul 12 15:12 j2sdk-1_4_2_08-linux-i586.bin

j2re1.4.2_08:
total 8
drwxr-xr-x   3 root  wheel   512 Jul 12 13:54 .
drwxr-xr-x  16 root  wheel  3584 Jul 12 15:12 ..
drwxr-xr-x   2 root  wheel   512 Jul 12 13:54 .systemPrefs
Path: /usr/ports/distfiles                                                      (kayve@www) 105>
David PiniellaCommented:
yes, but the file is there as a tar file instead of tar.gz, so the scripts look for it and don't find it
David PiniellaCommented:
couldn't hurt to have all the files/tars owned by the same user and with similar rights.

also, are you running the install as root?  your prompt makes me think youre running as a regular user.

post another output of ls -la in the distfiles subdir
kayveyAuthor Commented:

j2re1.4.2_08:
total 2
drwxr-xr-x  2 root  wheel  512 Jul 12 13:54 .systemPrefs
kayvetop# chgrp wheel j2*
kayvetop# ll j2*
-rw-r--r--  1 root  wheel  132641077 Jul 12 15:12 j2eesdk-1_4_02_2005Q2-linux.bin
-rwxr-xr-x  1 root  wheel  133843047 Jul 12 15:12 j2eesdk-1_4_02_2005Q2-solaris-i586.bin
-rwxr-xr-x  1 root  wheel   14389429 Jul 12 13:51 j2re-1_4_2_08-linux-i586.bin
-rw-r--r--  1 root  wheel    2513462 Jul 12 15:12 j2sdk-1_4_2-bin-scsl.zip
-rw-r--r--  1 root  wheel    3427247 Jul 12 15:12 j2sdk-1_4_2-mozilla_headers-unix.zip
-rw-r--r--  1 root  wheel   49269919 Jul 12 15:12 j2sdk-1_4_2-src-scsl.zip
-rw-r--r--  1 root  wheel   36418360 Jul 12 15:12 j2sdk-1_4_2_08-linux-i586.bin

j2re1.4.2_08:
total 2
drwxr-xr-x  2 root  wheel  512 Jul 12 13:54 .systemPrefs
kayvetop#
kayveyAuthor Commented:
   WITH_IPV6   - enable JDK IPv6 support

=> bsd-jdk14-patches-7.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk14-patches-7.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/java/jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk14.
*** Error code 1

Stop in /mnt-for-6.x/usr/ports/java/avalon-logkit.
*** Error code 1

Stop in /mnt-for-6.x/usr/ports/java.
kayvetop#
kayveyAuthor Commented:
why is it looking in the mnt-for-6.x  directory.. that is strange

Stop in /mnt-for-6.x/usr/ports/java.
kayvetop# uname -a
FreeBSD kayvetop.monkeybrains.net 5.4-RC3 FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
kayvetop#

the file's not there

226 Directory send OK.
ftp> get bs
bs-2.7.tar.gz                   bsdproxy-0.03.tar.gz            bsflite-0.80.tar.gz
bsd-airtools-v0.3.tgz           bsdsar-1.10.tar.gz              bsh-1.2b7.jar
bsdbktr_tvtune-0.02.tar.gz      bsdtar-1.01.022.tar.gz          bsmtp-1.02.tar.gz
bsddb3-4.2.4.tar.gz             bsdtris-01092003.tar.gz         bsp-5.1.tar.gz
bsdftpd-ssl-1.0.2.tar.gz        bsf.jar                         bsvc-2.1-src.tar.gz
bsdiff-4.2.tar.gz               bsfilter-1.0.6.tgz
bsdpadkey-0.2.tar.gz            bsfilter-1.0.7.tgz
ftp> get bsd
bsd-airtools-v0.3.tgz           bsdiff-4.2.tar.gz               bsdtar-1.01.022.tar.gz
bsdbktr_tvtune-0.02.tar.gz      bsdpadkey-0.2.tar.gz            bsdtris-01092003.tar.gz
bsddb3-4.2.4.tar.gz             bsdproxy-0.03.tar.gz
bsdftpd-ssl-1.0.2.tar.gz        bsdsar-1.10.tar.gz
ftp> pwd
257 "/pub/FreeBSD/ports/distfiles"
ftp>
kayveyAuthor Commented:
rudy set up some symlinks or something.. trippy man

kayvetop#: Command not found.
kayvetop#  find / -name bsd-jdk14-patches-7.tar.gz
/mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz
kayvetop# pwd
/mnt-for-6.x/usr/ports/java
kayvetop# cd ../distfile
../distfile: No such file or directory.
kayvetop# cd ../distfiles
kayvetop# cp /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz .
cp: ./bsd-jdk14-patches-7.tar.gz and /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz are identical (not copied).
kayvetop#
kayveyAuthor Commented:
kayvetop# pwd
/mnt-for-6.x/usr/ports/java
kayvetop# cd ../distfile
../distfile: No such file or directory.
kayvetop# cd ../distfiles
kayvetop# cp /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz .
cp: ./bsd-jdk14-patches-7.tar.gz and /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz are identical (not copied).
kayvetop# pwd
/mnt-for-6.x/usr/ports/distfiles
kayvetop# cd /usr/ports/distfiles
kayvetop# cp /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz .
cp: ./bsd-jdk14-patches-7.tar.gz and /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz are identical (not copied).
kayvetop# pwd
/mnt-for-6.x/usr/ports/distfiles
kayvetop#
David PiniellaCommented:
run the command with absolute pathnames all around:
cp /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz /usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz


if you run
cp /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz .
in dir "/mnt-for-6.x/usr/ports/java", you're asking the file be copied over itself. since the location of the file and it's name are the same thing, you're not going to get anywhere with that.

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:
i don't think that will werk because there is no such thing as the /usr/ports/distfiles directory.. the directory
itself is a symlink if i am not mistaken

did you notice what happened when i cd'ed?
kayvetop# javac
javac: Command not found.
kayvetop# cp /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz /usr/ports/distfiles/bsd-
jdk14-patches-7.tar.gz
cp: /usr/ports/distfiles/bsd-jdk14-patches-7.tar.gz and /mnt-for-6.x/usr/ports/distfiles/bsd-jdk14
-patches-7.tar.gz are identical (not copied).
kayvetop# cd /usr/ports/distfiles
kayvetop# pwd
/mnt-for-6.x/usr/ports/distfiles
kayvetop#

i can't find what is the symlink anywhere
j2re1.4.2_08:
total 2
drwxr-xr-x  2 root  wheel  512 Jul 12 13:54 .systemPrefs
kayvetop# pwd
/mnt-for-6.x/usr/ports/distfiles
kayvetop# cd ..
kayvetop# ll -d distfiles/
drwxr-xr-x  16 root  wheel  3584 Jul 13 16:09 distfiles/
kayvetop# pwd
/mnt-for-6.x/usr/ports
kayvetop# cd /
kayvetop# ll -d /usr
drwxr-xr-x  17 root  wheel  512 Jun 28 21:26 /usr
kayvetop# ll -d /usr/ports
drwxr-xr-x  64 root  wheel  1536 Jun 28 16:05 /usr/ports
kayvetop# ls
.cshrc          cdrom           home            rescue          usr
.profile        compat          lib             root            var
.snap           dev             libexec         sbin
COPYRIGHT       dist            mnt             stand
bin             entropy         mnt-for-6.x     sys
boot            etc             proc            tmp
kayvetop#


kayveyAuthor Commented:
notice the command pair:  

  1)  "cd /usr/ports/distfiles"

   followed by

  2) "pwd"

  the output is /mnt-for-6.x/usr/ports/disftiles

i ferget why that is but rudy put a symlink or a hardlink somewhere
kayveyAuthor Commented:
oh.. maybe the symlink is _from_ the 6.0 partition _into_ the 5.4 partition?

/mnt-for-6.x/usr/ports/distfiles
kayvetop# cd /mnt-for-6.x/
kayvetop# ll -d
drwxr-xr-x  24 root  wheel  512 Jul 13 14:43 .
kayvetop# ll -d usr
drwxr-xr-x  15 root  wheel  512 Jun 21 07:06 usr
kayvetop# ll -d usr/ports
drwxr-xr-x  65 root  wheel  1536 Jun 20 15:47 usr/ports
kayvetop# ll -d usr/ports/disfile
ls: usr/ports/disfile: No such file or directory
kayvetop# ll -d usr/ports/disfiles
ls: usr/ports/disfiles: No such file or directory
kayvetop# ll -d usr/ports/distfiles
drwxr-xr-x  16 root  wheel  3584 Jul 13 16:09 usr/ports/distfiles
kayvetop# ll -d usr/ports/java
drwxr-xr-x  143 root  wheel  3072 Jul 13 17:12 usr/ports/java
kayvetop#
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.