LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I am full of fail and can't even install something basic like IPBLOCk for FEDORA 16 (https://www.linuxquestions.org/questions/linux-newbie-8/i-am-full-of-fail-and-cant-even-install-something-basic-like-ipblock-for-fedora-16-a-932671/)

Raven_Angel 03-04-2012 11:13 AM

I am full of fail and can't even install something basic like IPBLOCk for FEDORA 16
 
So, I've spent countless hours trying to figure out what I'm understanding wrong or missing to actually get IPBLOCK up and running for my FEDORA 16 OS, as I feel this an absoulte essential before even touching my first torrent download, etc.

I'm just going to go through the motions I've done so far.. feel free to slap me with the smart-stick as Linux is practically fresh and brand new to me and definitely a whole different ball game compared to knowing what I'm doing in Windows. I'm also keen to learn and taking things step by step would be very helpful for me to fully understand what's going on, why I missed "easy" things and how to avoid that mistake next time as to keep peoples time focused on more important questions to answer, alas...

I hope I can have help with this... here goes nothing.

~

So far I've managed to do this :

I found this site giving somewhat straight forward steps but apparently not straight forward enough from here .. http://pastebin.com/xdVqySm8
Also found the KWrite Install notes saying the same thing, but proceeded forward trying to "Install" what I need so I can get this working..

I entered into the terminal under root, this:
yum install gcc-c++
yum install libnetfilter_queue-devel
yum install zlib-devel
yum install pcre-devel


Perfectly installed, no problems.

Here's where I start running into foreign understandings to try and finish this.
Next step says this :

To build iplist run

$ tar fxz iplist-<version>.tar.gz
$ cd iplist*
$ make


I tried typing into the command line :
tar fxz iplist-0.29.tar.gz
((I typed in 0.29 as it had <version> so I took that as the necessary one to type in))
((as well I had un archived the downloaded IPlist download that has aforementioned KWrite Install note along with several dozen other files .. foreign of course.. but there are numerous files in here like ipblock.patch , nfq.cc, nfq.patch etc ))
((I'm sure native Linux users know what's located in the Iplist download so I won't repost everything... but yeah))

And here is where I have failed.

I've tried finding step by step for complete newbs for getting this done, to no avail... I realize I'm new Linux, but I'm not incapable of understanding code once I know what it does and how to do it.. just the first time around is pretty rough as Linux is a whole variety of new.


Just hope I can have help going through the processes to see this successfully install... your help is greatly appreciated!

Tinkster 03-04-2012 01:53 PM

Hi, welcome to LQ!

The instructions are wrong. Parameters to tar, specifically the 'f', are
positional.

Try instead:
tar xzf iplist-0.29.tar.gz

John VV 03-04-2012 03:46 PM

with fedora you want to use the yum groups for gcc
Code:

su -
yum grouplist
--- then from that list ---
yum groupinstall "Development Tools" "Development Libraries"

that will install the whole gcc development environment
there is a lot more to it that just gcc

with a gui ( Gnome3 for frdora16)
there is no need to type in the terminal to open a tarball "iplist-0.29.tar.gz"
just double click on it or use the r-click menu ( the SAME way you would on Windows)
And open the archive with the archive manager"file-roller"

also there is a handy gnome tool " open terminal here"
MS copied this and turned it into the MS Windows " CMD here" power tool
do a yum search it is in there
Code:

su -
yum search terminal

it is called something like "Nautilus-terminal here " or something like that
it ads a command to the R-click menu


as to iplist-0.29.tar.bz2 from 2010 ( two years old is ANCIENT on fedora )

fedora 16 is using gcc 4.6 and not many programs will build with it YET without hacking the code to bring it into compliance with 4.6

with the terminal YOU MUST be in the same folder that the Makefile is
cd= change directory

have you used the POS junk that MS calls a terminal " cmd" on xp or vista or 7

now on this program ( i do not plan on using it ) so i am not going to put in a lot of time
but with gcc 4.3 and 4.5 i am getting build errors
such that it looks like some of the code might need to be rewrote
-- but i might be wrong so...


All times are GMT -5. The time now is 11:41 AM.