PFsense…
-
You need to specify the complete URL because it has changed like I outlined above.
Alternatively you can change the variable that pfSense uses to know where to look. I can't remember off hand what that is though. Hold on….
OK. First run:
setenv PACKAGESITE "ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/"
Then you can load packages as normal: pkg_add -r python
Steve
-
still can't add the packages :s.. im tryng to fetch them manual ,,,and i downloaded the packages but also the rpm command not found :s how to install the rpm packages also …...
-
Use the same pkg_add to install downloaded packages, just point to filesystem
pkg_add /path-to-package
-
thank you all i made same as u said and its work ,, im trying now to install the url grabber and the video cache , once i put the command python setup.py bdist_rpm in the urlgrabber
python setup.py bdist_rpm
Traceback (most recent call last):
File "setup.py", line 3, in <module>import urlgrabber as _urlgrabber
File "/root/urlgrabber-3.9.1/urlgrabber/init.py", line 54, in <module>from grabber import urlgrab, urlopen, urlread
ImportError: No module named grabber</module></module> -
any help to install the urlgrabber ..??:(
-
What are you trying to accomplish here?
Steve
-
python setup.py bdist_rpm <====this command
-
Yes, but what does that python script do?
Where did you get it?
Steve
-
i do cd urlgrabber-3.9.1
and then
python setup.py bdist_rpmafter that this error appearing
Traceback (most recent call last):
File "setup.py", line 3, in <module>import urlgrabber as _urlgrabber
File "/root/urlgrabber-3.9.1/urlgrabber/init.py", line 54, in <module>from grabber import urlgrab, urlopen, urlread
ImportError: No module named grabber</module></module> -
Hmmm, well I can't comment on python script. Wrong python version perhaps?
Why are you trying to run URLGrabber on your firewall? It seems unwise. ;)Steve
-
Hmmm, well I can't comment on python script. Wrong python version perhaps?
Why are you trying to run URLGrabber on your firewall? It seems unwise. ;)Steve
but what i have to do ?????
-
Where did you get this urlgrabber script from? What python version is it written for?
Steve
-
http://urlgrabber.baseurl.org/download/urlgrabber-3.9.1.tar.gz this version
-
@http://urlgrabber.baseurl.org/:
It's really easy to build an RPM from the tarball. Simply unpack the tarball, cd into it, and do
python setup.py bdist_rpmOk, so you're trying to build an RPM file.
Do you realise that RPMs are not a FreeBSD format and hence not supported by pfSense?Why are you trying to do this. What do you need URLGrabber for? If you tell us why you are doing all this we may be able to suggest an easier option. ::)
Steve
-
indeed i want to use the pfsense for Video cache,, nd plz see this
http://doc.pfsense.org/index.php/Setup_VideoCache_with_Squid
if there's another way to do that i wll be thankfull to show me howim new to use pfsense this's the first time to me :).. so thank you for your help
-
Sorry I may be being thick here but there is a FreeBSD 8.1 package for urlgrabber so why not just install that.
I should also add that it depends on ca_root_nss-3.12.11_2, curl-7.21.3_2, py27-curl-7.19.0_1, python27-2.7.2_3
Just read that link you posted to a pfsense how-to. Please be aware that it is now py27-*
-
Ah! Well now we are getting somewhere. ;)
Have you added all the python packages in that link?
Steve
-
-
Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.
Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.
-
Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.
Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.
[/quotethank you gloom :)..
1 another question plz.. i have 4 hardisk each 500GB ,, how can i make the subpartitions to use them for cache,, how do i edit the fstab and mount the hardrive,,,