'./configure --prefix=/usr' put /etc directory in /usr/etc #57
-
As you can see, /etc should not be in */usr/etc but /etc (/tmp is there for debug purpose, feel free to strip it) |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Please try: Thanks, |
Beta Was this translation helpful? Give feedback.
-
Ok, it works, but this is the first time (for 10 years as dev/sysadmin) I see an application that install /etc files elsewhere than /etc. Seems not standard... |
Beta Was this translation helpful? Give feedback.
-
Please have a look at this discussion: Thanks, |
Beta Was this translation helpful? Give feedback.
-
AFAIK, this seems quite non standard. To be able to have each part where it should, I finally wrote : ./configure --localstatedir=/var --mandir=/usr/share/man --enable-postinst=./post-install.sh --sysconfdir=/etc --prefix=/usr
make |
Beta Was this translation helpful? Give feedback.
-
If still not convinced, please have a look at the relevant section of GNU Coding Standards document:
That's pretty similar to what Thanks a lot for packaging Heyu for Arch Linux !!! |
Beta Was this translation helpful? Give feedback.
-
Correcting myself:
That actually doesn't work that way, sorry. Either use Thanks, |
Beta Was this translation helpful? Give feedback.
Please try:
./configure --prefix=/tmp/usr --sysconfdir=/etc
You can also run
sh ./Configure.sh
instead.More info can be found in
README
file.Thanks,
Janusz