Success! (Was Re: pkg_add fail on FreeBSD V8.0)

2010-12-01 Thread Dave
Thanks Guys.

(Jason H, Chuck S and Polytropon.)

OK.  I managed to get Hiawatha compiled, installed, configured and 
running!  It even works, though I've not yet finished reading up on all 
it's features etc, so it'll be a while before I let it loose on the 
public, but so far, it appears to work well.

I also managed to duplicate it all on the V8.1 machine I have to play 
with at work, so I can fiddle during a lunch break, also having SSH 
access to the V8.0 box here at home too now, from my desk at work.  ;-)

I'm liking F'BSD more and more, and with multiple SSH terminals open on 
another PC, it's getting easier to understand.   Guess in time I'll look 
to running X on the thing, and do it that way, but for now, headless via 
SSH over the LAN works just fine.

I've got a lot of other stuff to do now, so the BSD box's will have to 
look after themselves for a little while, till I catch up on things.

I'm sure I'll be back when something else puzzles me.

Many thanks again people.

Best Regards.

Dave B.

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


pkg_add fail on FreeBSD V8.0

2010-11-30 Thread Dave
OK, another show stopper for me, but probably a simple fix for the
wise on list.

FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!)

FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 
22:55:09 BST 2010
r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386

Looking to install the Hiawatha webserver, but got this when I tried... 

pkg_add -r hiawatha 

Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz: File unavailable (e.g., file not found,
no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz' by URL

It worked ok on a V8.1 box I threw together for testing things during the 
works lunch hour. So, can I (and how) get this version to use I guess the 
8.1 repository, or how do I cleanly update this to 8.1, though to 
maintain my needed PPS support I guess I'll need to recompile the kernel 
again? Is the change from V8.0 to V8.1 realy that a big step?

Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
holding to do that!)

Advice please, before I mess things up.

Regards.

Dave B.


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


Re: pkg_add fail on FreeBSD V8.0

2010-11-30 Thread Chuck Swiger
On Nov 30, 2010, at 12:39 PM, Dave wrote:
 Or compile Hiawatha from sources?  (I *Will* need guidance and hand-holding 
 to do that!)

Well.  Start with:

  cd /usr/ports/www/hiawatha
  make install

Regards,
-- 
-Chuck

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


Re: pkg_add fail on FreeBSD V8.0

2010-11-30 Thread Jason Helfman

On Tue, Nov 30, 2010 at 08:39:24PM -, Dave thus spake:

OK, another show stopper for me, but probably a simple fix for the
wise on list.

FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!)

FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14
22:55:09 BST 2010
r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386

Looking to install the Hiawatha webserver, but got this when I tried...

pkg_add -r hiawatha

Error: Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz: File unavailable (e.g., file not found,
no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz' by URL

It worked ok on a V8.1 box I threw together for testing things during the
works lunch hour. So, can I (and how) get this version to use I guess the
8.1 repository, or how do I cleanly update this to 8.1, though to
maintain my needed PPS support I guess I'll need to recompile the kernel
again? Is the change from V8.0 to V8.1 realy that a big step?

Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
holding to do that!)

Advice please, before I mess things up.

Regards.

Dave B.


Are you using sudo by chance when installing?




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



--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg_add fail on FreeBSD V8.0

2010-11-30 Thread Polytropon
On Tue, 30 Nov 2010 20:39:24 -, Dave d...@g8kbv.demon.co.uk wrote:
 So, can I (and how) get this version to use I guess the 
 8.1 repository, or how do I cleanly update this to 8.1, though to 
 maintain my needed PPS support I guess I'll need to recompile the kernel 
 again? Is the change from V8.0 to V8.1 realy that a big step?

There is no such thing like a version-centered repository
like on many Linusi. If you install a port via pkg_add -r,
it will always be a current port.

As time marches on, the ports tree on the servers changes.
From time to time, packages are built from this ports tree
using each port's default settings. Those binary packages
are then installed via the pkg_add -r program.

See man pkg_add, especially where PACKAGEROOT and
PACKAGESITE are mentioned.

You can, however, install precompiled binary packages for
-RELEASE if you want. Instead of Latest/, a different
subtree of packages will be addressed on the server.



 Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
 holding to do that!)

No big deal.

# cd /usr/ports/www/hiawatha/
# make install

See man ports for details on how the ports system holds
your hand when dealing with source. :-)

You can also use a port management tool to do that. In my
opinion, the most important one is portmaster. I've been
using portinstall / portupgrade for many years now. It
also allows you to select if you want to compile from
source, e. g.

# portinstall www/hiawatha/

or if you intendedly want to use a precompiled package
if available, e. g.

# portinstall -PP www/hiawatha/

See man portupgrade and man pkgdb for details.

Allthough some consider it bad behaviour, you can mix
using ports and packages. As long as you keep an eye on
not duplicating stuff (pkgdb -aF helps here), it will
work well.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org