|
-
Dec 14th, 2002, 10:49 PM
#1
Thread Starter
Addicted Member
Makefiles on freeBSD [RESOLVED: thanks]
Ive looked everywhere for information on Makefiles on FreeBSD, theres loads of it but the problem is I cant get anything to work I just got my freeBSD and I would like to install netcat on it. Ive extracted it into a folder which has some weird files in it, such as a file named "Makefile". What exactly am I ment to do to install it? Ive wasted hours on this so far
Last edited by Evil_Cowgod; Dec 15th, 2002 at 02:44 PM.
-
Dec 15th, 2002, 12:11 AM
#2
Fanatic Member
Try typing 'make' and (as root) 'make install'
Alcohol & calculus don't mix.
Never drink & derive.
-
Dec 15th, 2002, 12:20 AM
#3
Thread Starter
Addicted Member
Thanks, unfourtunatly I couldnt get it to work. I went into the same directory as them, then tried "make" it then said something about usage of 'make' then when I tried 'make install' it said it doesnt know how to make install
-
Dec 15th, 2002, 12:29 AM
#4
Frenzied Member
Read the readme =P. Its quite possible you need to do something else before you can actually mkae what you want to make =).
Z.
-
Dec 15th, 2002, 12:57 AM
#5
Thread Starter
Addicted Member
Il look for it again, maybe I might get lucky this time.
-
Dec 15th, 2002, 04:06 AM
#6
Thread Starter
Addicted Member
nup, no luck whenever I find something on Makefiles I dont understand what exactly Im ment to do, Please be patient with me, Im only 14.
-
Dec 15th, 2002, 09:40 AM
#7
Good Ol' Platypus
Usually to install a program from source on a *nix platform, you need gcc (the gnu c compiler). Once you're sure you have this, usually you do something similar to this:
Code:
./configure
make
su -c 'make install'
That should work. If you're not superuser, you need to su to it to install it to the correct directory (unless you have write access to /usr, where most programs are installed).
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Dec 15th, 2002, 09:52 AM
#8
Good Ol' Platypus
Just looked into this one, and all you had to do was look at the README. It states that to make it, all you have to do is type "make <systype>". Since you are on freeBSD, I looked at the makefile and it has a target for make freebsd. So that's what you should type.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Dec 15th, 2002, 02:43 PM
#9
Thread Starter
Addicted Member
YAY! Thank you! I finnaly got it working ) For some reason whenever I try './CONFIGURE' it would say its not a command, but I read what you said, and I read some stuff in the Makefile and managed to get it working with "make -e freebsd" Thanks, I owe you a favour now lol.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|