Results 1 to 4 of 4
Downloaded tripwire 22.214.171.124. As I am under attack. Slackware 12.0. Everything is as tight as I can get it but s/he may be clever. Instructions say to set "prefix" with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-01-2008 #1
- Join Date
- Mar 2008
Instructions say to set "prefix" with a "./configure --prefix=/path/to/install" but not sure if this means /aaa/bbb/ddd/install or /aaa/bbb/ddd/.
Then it calls for a make but like I suspected it can't cuz there ain't no make files to be seen. Then is says run make install, sure...!? install is install-sh a nifty shell script.
Does anyone know the correct order?? BTW this is the open source version.
- 07-01-2008 #2
The --prefix parameter will specify where to install the files for the progam. Because programs can have several files spread over a couple of directories (ex. lib/, bin/) you specify for example --prefix=/usr to install the binaries into /usr/bin/ and libraries into /usr/lib.
Common prefix direcorories are /usr and /usr/local.
# ./configure --prefix=/usr/local
The command "make install" will run a part of the Makefile that is named install. The makefile is divided into sections and if you read the file using an editor you will see that there are sections such as install, clean and all. The default section of the makefile to run is the all-section, this is what happens when you run "make" without any parameters.
- 07-02-2008 #3
- Join Date
- Mar 2008
Thanks 4 ur HELP!
I understood about what the prefix does.
I didn't know ./configure would create a makefile --big help there!
BTW tripwire has its own bin for binaries under tripwire-126.96.36.199-x86-bin.
What is bothering me is the way they worded their instructions. There is an "install" directory under tripwire-188.8.131.52-x86-bin and an install.sh shell program is located there.
Just to make my life miserable they also created an install-sh script in the main tripwire diretory. Both scripts are executable.
So where I am confused is are they saying use:
./configure --prefix=/opt/secr/idx/tripwire-184.108.40.206-x86-bin ?
Since there are 2 install scripts it makes it difficult to determine what the path should be.
I uncompressed the tar ball in /opt/secr/idx/.
Are neither of these where it goes?
Wish they'd be more specific or say put it where you want.
- 07-02-2008 #4