dang. you are awesome.
Well.. I got the latest version installed from ports- took forever.. and then error-ed out with "[Errno 49] Can't assign requested address"
Quick search is unrevealing of a quick solution...
and I aborted to an Ubuntu install.
I want PS3 media server anyway! (thumbnails!)
I did, however, take notes-- so for anyone who needs it: here is how to build anything you want from ports in the jail on FreeNas 8.2:
OK.. this is edited from my raw notes, forgive any typos.
It assumes you have a jail setup up.
My system is a 386 system on an 8GB CF card, running ZFS drives for storage. 2GB of RAM (i know.)
To build the ports tree you need a couple GB.. so your jail should be large. 4GB minimum, I think.
here it is! Ill try and put each command at the top of a codebox, followed by output.
-----------------------
Welcome to the HOP FrogServer
>>ok. Im logged in as root.. but I need to get into the
JAIL.. so>>
Code:
[root@frogserver] ~# jls
JID IP Address Hostname Path
1 - proto
/mnt/uzb/jails/proto
>>great. I see the jail ID number. Lets jet into it!>>
Code:
[root@frogserver] ~# jexec 1 /bin/tcsh
proto#
>>awesome.. You can see I am in my jail, named 'proto'. The
next few steps are from the manual, here:
http://
www.freebsd.org/doc/en_US.ISO8859-
1/books/handbook/ports-using.html
Code:
proto# portsnap fetch
Fetching public key from portsnap.FreeBSD.org... done.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sat Oct 13 00:23:20 UTC
2012:
8fc78fcde9c72d1e22d7c80122c1341154431556d6df33100% of 68
MB 267 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Sat Oct 13 00:23:20 UTC 2012 to Sat Oct 13
06:41:03 UTC 2012.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 13 patches.....10. done.
Applying patches... done.
Fetching 0 new ports or files... done.
Code:
proto# portsnap extract
[tons of output here.. go get coffee.]
...../usr/ports/x11/xxkb/
/usr/ports/x11/xzoom/
/usr/ports/x11/yad/
/usr/ports/x11/yakuake-kde4/
/usr/ports/x11/yakuake/
/usr/ports/x11/yalias/
/usr/ports/x11/yeahconsole/
/usr/ports/x11/yelp/
/usr/ports/x11/zenity/
Building new INDEX files... done.
>> ok. build my package (you can combine the next three steps with #make install clean):
First.. cd to the right dir. (note i dont SEE the dir change... spooky.)
Code:
proto# cd /usr/ports/new/sabnzbdplus
proto#
then
>>>this takes me to an options screen. I chose all the
things.
Code:
===> Extracting for sabnzbdplus-0.7.3
=> SHA256 Checksum OK for SABnzbd-0.7.3-src.tar.gz.
===> Patching for sabnzbdplus-0.7.3
===> Applying FreeBSD patches for sabnzbdplus-0.7.3
===> sabnzbdplus-0.7.3 depends on file:
/usr/local/bin/python2.7 - found
===> sabnzbdplus-0.7.3 depends on shared library: intl -
found
===> Configuring for sabnzbdplus-0.7.3
proto#
>> now install my newly built package:
Code:
proto# make install
[lots of evil caps-text here]
[some config screen for perl.. i leave it default]
[some error about old on newer version.. i let it ride]
>>uh oh. "perl-5.14.2_2 conflicts with installed package
(s):
perl-5.12.4_3
"
proto# pkg_delete perl-5.12.4_3
pkg_delete: package 'perl-5.12.4_3' is required by these
other packages
and may not be deinstalled:
iconv-2.0_3 [converters/iconv]
glib-2.28.8_2 [???/glib]
gamin-0.1.10_4 [devel/gamin]
gio-fam-backend-2.28.8 [devel/gio-fam-backend]
dbus-glib-0.94 [devel/dbus-glib]
proto#
>>ok . lets delete the packages. then reinstall by ports if
needed.
>>done. (i used pkg_delete for each.)
>>back to make-install sab
Code:
proto# make install
[lots of text]
[LOTS]
[ph some configs for random shiz.. I'll leave those at default]
[more output]
.......and more]
[aaand]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
news/sabnzbdplus includes an RC script:
/usr/local/etc/rc.d/sabnzbd
TO START SABNZBD ON BOOT:
echo 'sabnzbd_enable="YES"' >> /etc/rc.conf
START MANUALLY:
/usr/local/etc/rc.d/sabnzbd start
Once started, visit the following to configure:
http://localhost:8080/sabnzbd/
Note that your URL may differ slightly if you have an old sabnzbd.ini
that specifies a different address to bind to.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>DONE.
Code:
proto# make clean
===> Cleaning for py27-cheetah-2.4.4
===> Cleaning for py27-utils-0.4.0
===> Cleaning for par2cmdline-tbb-20100203_6
===> Cleaning for py27-markdown-2.2.0
===> Cleaning for unzip-6.0_1
===> Cleaning for automake-1.12.4
===> Cleaning for autoconf-2.69
===> Cleaning for perl-5.14.2_2
===> Cleaning for sabnzbdplus-0.7.3
>and just to keep things neat:
Code:
proto# cd /usr/ports/devel/glib20
Code:
proto# make install clean
[oh good.. it is using the new prl]
===> pkgconf-0.8.9 conflicts with installed package(s):
pkg-config-0.25_1
They install files into the same place.
Please remove them first with pkg_delete(1).
>>shit.
>>lets do it.
>>hmm. too many dependencies. I dont wanna.
>>I'll do the other one.
Code:
proto# cd /usr/ports/converters/iconv
Code:
proto# make install clean
[blah blah]
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for iconv-2.0_3
===> Cleaning for iconv-2.0_3
>>good.
How about this:
>>hmm. Good enough?
OK.. everything is ready.. lets try it
Add the following lines to your /etc/rc.conf file to make
sure it starts during system startup:
# SABnzbd settings
sabnzbd_enable="YES"
manually run?
Code:
proto# /usr/local/etc/rc.d/sabnzbd start
Starting sabnzbd.
proto#
>>looks good.
Make sure /usr/local/sabnzbd exists and is writable...
it is also where /ini file is... so I upload my old one..
>>bbuuuutt.. it errors out.
Cherry/py cannot assign the requested address.
So.. its installed.. but I have a hosts configuration problem.
These instructions can be used to install almost anything.
You can do it too!
Hope this helps someone.