Installing findutils-4.1, ch. 6, make options
Ok, the book says:
Quote:
make libexecdir=/usr/bin --localestatedir=/var/lib/misc make libexecdir=/usr/bin install --localestatedir=/var/lib/misc Is that correct? I guess I just want to make sure it's 2 dashes, --, and make sure the stuff after the equal sign doesn't need to be in parenthesis. Thanks... |
I believe they mean for you to do this:
Code:
make libexecdir=/usr/bin localestatedir=/var/lib/misc |
I see what you are saying.
Quote:
Quote:
I'm glad i asked, and I assume that that worked for you. Thanks... |
To be honest, I can't remember if I made the system 100% FHS compliant. It wouldn't hurt to run the command with the '--' prepended to the localestatdir option, because I'm pretty sure you'll just get an error. And in that case, you just run it again without the dashes...:D
|
Well, now I'm confused, or in other words, it's a normal day. ;)
I found this link: http://archive.linuxfromscratch.org/...findutils.html Which shows the localestatedir assignment in front of the libexec part. And in this link: http://www.de.linuxfromscratch.org/v...findutils.html it doesn't say where to put the assignment in the command, but it does say to use the '--'. |
Quote:
If you use findutils-4.1 you pass "localstatedir=/var/lib/misc" to make like so: make localstatedir=/var/lib/misc <other stuff here> Don't use --localstatedir. In this case it isn't a command line option to the make program, but an override to a definition in the Makefile file. You're passing a variable name and value on the make command line, not a program option. If you use findutils-4.1.x you pass the option to the configure script as a command line option ala ./configure --blah --localstatedir=/var/lib/misc and the configure script will write the Makefile files with that variable and value so you don't need to override it anymore. Earier findutils versions (like 4.1) don't support the configure script option. So, which one do you use? Depends on your findutils version. If you're following the CVS version of the book, you're using (or supposed to anyways) version 4.1.7 (use configure script option). If you use a stable release, you're using 4.1 (use make option). I hope it's clear now? |
Hey, thanks a lot!
I'll use this part: Quote:
I'm trying not to deviate from the book too much since this is my first attempt. FBBG! Thanks for the help. :study: Edit: my typo in posts above: localestatedir - should be localstatedir |
[slaps palm to forehead]
Ok, going back and looking at it again I see the directory assignment 'pattern': make (localstatedir=/var/lib/misc) (libexecdir=/usr/bin) and make (localstatedir=/var/lib/misc) (libexecdir=/usr/bin) install [/slaps palm to forehead] :rolleyes: |
All times are GMT -5. The time now is 02:22 PM. |