DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th July 2008
master-richie master-richie is offline
New User
 
Join Date: Jul 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default FreeBSD 7.0, tightvnc and jdk16 - newbie

Am getting back into learning FreeBSD. The last time I used it was learning 5.4 and had a hard time finding all the little nuances needed to make ports work right. Needless to say, I was forced to keep using M$ server products.

I don't have a problem working in the shell, Unix is fairly easy, it's understanding the ins and outs of certain ports quickly enough to be an effective FreeBSD admin. Well two years have passed and I'm in the same boat ... Instead of stubbornly trying to figure it out myself, now I'm looking for help.

I installed FreeBSD 7.0 and because of the physical location of the server, I need to run a VNC package compatible with my workstation which is XP pro. (I use blackbox as my window manager) I tried to install tightvnc but it's dependant on jdk16. When trying to install jdk16 using "make install" in the /usr/ports/java/jdk16/ directory, it wants a couple of files put in the distfiles directory.

I've managed to acquire all but the dreaded "tzupdater-1_3_0-2007h.zip" (I've downloaded the latest updater from sun, 1_3_5 but it doesn't work)

I've updated my ports using "portmanager -u", but the java and diablo-java were the only ones not to update.

Please reply if you have STRONG advice to give on how to get this working. I've been to every forum that shows up on google and no one has yet described the procedure, only that they eventually got it working.

Thanks in advance ... "frustrated ~Rich"
Reply With Quote
  #2   (View Single Post)  
Old 6th July 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Update your ports tree ("portsnap fetch; portsnap update" (or "portsnap extract" if it is the first time you have run it) ). jdk has been updated to the latest tzfile recently.

Java is an optional dependency in tightvns. Run "make showconfig" in /usr/ports/net/tightvnc and turn off the java veiwer, and it will not need java.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #3   (View Single Post)  
Old 6th July 2008
master-richie master-richie is offline
New User
 
Join Date: Jul 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default THANK YOU!!!

I've been beating myself up for two days and within the 15 seconds it took for me to read your reply, I had the answer! Thanks!

On a side note, the jdk16 install is stopping cause some security dependancies are out of date. When I "make deinstall" to "make reinstall" those ports, they show filezilla as a program dependant on them.

Are the stops in the jdk16 install because I installed filezilla? If I hadn't installed it, would the jdk16 have installed without issue?

Thanks for the help - you're a lifesaver! ~Rich
Reply With Quote
  #4   (View Single Post)  
Old 6th July 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

I wouldn't have thought so. filezilla seems to just be another ftp client, although It (directly or indirectly) requires a fair swag of gnu support libraries.

Tell us what "security dependencies" are mentioned as being out-of-date, and we should be able to help. (Oh, the actual error messages, please: It is not to much to attach a full script of the build attempt -
Code:
/usr/ports/java/jdk16$> script ~/javabuild.20080707
/usr/ports/java/jdk16$> make

=== Make runs, and either succeeds or fails ===
/usr/ports/java/jdk16$> ^D (that's <control>-d )
That will create a file (javabuild.20080707) in your home directory that you can attach to a post here, so we no longer have to guess what is going on.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #5   (View Single Post)  
Old 9th July 2008
master-richie master-richie is offline
New User
 
Join Date: Jul 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default

Well I have it installed already ... I was just getting an error that an older version of the port was already installed and the jdk16 install wouldn't go any further till that dependancy was updated.

So I went to the offending directory and did a make deinstall then a make reinstall as instructed, then went back to the jdk16 directory and did a make reinstall. easy. the toughest part of the whole thing was downloading the file for diablo! thank you, thank you, thank you!

still want me to generate that log? would it still work now that I have java installed? ~Rich

btw, know anything about startup scripts? am havin a very very very hard time getting tightvnc to automatically start on boot...
Reply With Quote
  #6   (View Single Post)  
Old 9th July 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Thanked 15 Times in 15 Posts
Default

For the future, install portmaster from ports. This will physically update installed ports. "portsnap update" or "make update" (if you have variables defined in make.conf) in the /usr/ports directory will sync the ports tree. You need to then run portmaster or an equivalent program to update installed ports.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Newbie to PC-BSD having problems with display/or Installing a WM with FreeBSD yanjchan FreeBSD Installation and Upgrading 5 23rd August 2009 05:31 PM
Tightvnc startup script not loading fonts - permission denied master-richie FreeBSD Ports and Packages 2 3rd August 2008 09:29 PM
JDK16 installation on FreeBSD 7 fronty FreeBSD Ports and Packages 6 8th July 2008 03:49 AM
jdk16 plugins on FreeBSD 7 AMD64 ninjatux FreeBSD General 0 26th June 2008 07:55 PM
install jdk16 on freeBSD 7.0 ccc FreeBSD Ports and Packages 4 16th June 2008 10:48 PM


All times are GMT. The time now is 01:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick