Re: make headers_install

2012-08-29 Thread klaatu
Hi Tomas! this was confusing here as well until I read in http://aufs.sourceforge.net/ '+ run "make install_headers" (instead of headers_install) to install the modified aufs header file' the README was mistyped; I was copying aufs_type.h manually before discovering this ps. Congrats on rev

Re: make headers_install

2012-08-20 Thread Guan Xin
Tomas, Sorry to repeate myself -- i) aufs has nice README files, just try to believe them ii) I've been asking the same question in this mailing list so google may help you. Actually Okajima-san redirected me to the README file and my problem was immediately solved. BTW, GNU make has dry-r

Re: make headers_install

2012-08-20 Thread sfjro
Tomas M: > Thank you very much for your interest. Actually I spent a lot of time > restoring the deleted header files so I won't test that again, I am > sorry :) I decided to go with the default 'make headers_install' > command and then I copy the aufs_type.h header to appropriate > location. This

Re: make headers_install

2012-08-20 Thread Tomas M
>> I thought that this installs the header files in /usr/include and >> nothing more. But I was wrong. It seems it has bad side effects. For >> me, it removes essential files from the destination directory, like >> /usr/include/stdio.h and others... > > I cannot reproduce such problem. > Will you s

Re: make headers_install

2012-08-20 Thread sfjro
Tomas M: > Actually I used the first method (aufs in kernel, not a module). But I > believe that I will need aufs_type.h in my /usr/include/linux in order > to compile aufs-utils, regardless of which method I choose, so I need > make headers_install with INSTALL_HDR_PATH=/usr in both cases. Am I >

Re: make headers_install

2012-08-20 Thread Tomas M
Hello everyone, beware, I found a problem with the approach I was trying to do. In general I thought that in order to get the aufs_type.h installed in my system, I could simply do make headers_install with INSTALL_HDR_PATH=/usr I thought that this installs the header files in /usr/include and not

Re: make headers_install

2012-08-19 Thread Guan Xin
See the README "Otherwise you need to do something like this sample." and so on. I've been asking the same question on this mailing list. Guan On Mon, Aug 20, 2012 at 1:44 AM, Tomas M wrote: > ... > I believe that I will need aufs_type.h in my /usr/include/linux in order > to compile aufs-utils

Re: make headers_install

2012-08-19 Thread Tomas M
> But let me make sure again. > Did you choose the first method or second? > DESTDIR is for the second method only. Actually I used the first method (aufs in kernel, not a module). But I believe that I will need aufs_type.h in my /usr/include/linux in order to compile aufs-utils, regardless of whi

Re: make headers_install

2012-08-19 Thread sfjro
Tomas M: > I was using DESTDIR because it is described in aufs > documentation at http://aufs.sourceforge.net/ > which I followed closely - Section 3. paragraph 2: > + run "make headers_install" to install the aufs header file (you can > specify DESTDIR), or copty ./usr/include/linux/aufs_ty

Re: make headers_install

2012-08-18 Thread Tomas M
> So try set INSTALL_HDR_PATH instead of DESTDIR. Thank you very much. I was using DESTDIR because it is described in aufs documentation at http://aufs.sourceforge.net/ which I followed closely - Section 3. paragraph 2: + run "make headers_install" to install the aufs header file (you can s

Re: make headers_install

2012-08-18 Thread sfjro
Tomas M: > I noticed now that the default path you say for the install directory > is $PWD/usr, and I can confirm that this directory exists and contains > aufs_type.h ! So it seems it's installing the header file properly, Glad to hear that! > Could you please tell me how to use DESTDIR as you

Re: make headers_install

2012-08-18 Thread Tomas M
> Does your include/linux/Kbuild contain the line > "header-y += aufs_type.h"? Yes it's there I noticed now that the default path you say for the install directory is $PWD/usr, and I can confirm that this directory exists and contains aufs_type.h ! So it seems it's installing the header file prop

Re: make headers_install

2012-08-18 Thread sfjro
Tomas M: > I tried > make V=1 headers_install > and the output is attached. Thanks. There is nothing wrong in your output. There are two install methods described in the aufs doc. In the first method, aufs3-kbuild.patch adds a line into include/linux/Kbuild and "make headers_install" should inst

Re: make headers_install

2012-08-18 Thread Tomas M
I'm using Slackware 14rc2 64bit and vanila Linux kernel 3.2.27 from kernel.org I tried make V=1 headers_install and the output is attached. However I do not understand clearly what it means :) I can, of course, copy the header file manually or in a script, but I'm wondering, why 'make headers_in

Re: make headers_install

2012-08-18 Thread sfjro
Hi Tomas, Tomas M: > However later I use make headers_install, as requested in the > documentation, and it does nothing. > Output is > make[1]: Nothing to be done for `relocs'. > I've searched entire system for aufs_type.h but it's nowhere, so it > didn't install it at all. That is strange. Woul

Re: make headers_install

2012-08-17 Thread Guan Xin
Hi Tomas, I am using aufs with stock slackware smp config (with the aufs CONFIGs added, of course). "make headers_install" installed "aufs_type.h" to "linux-3.2.27/usr/include/linux/". Guan On Fri, Aug 17, 2012 at 10:40 PM, Tomas M wrote: > Hello, > > I'm compiling aufs for linux 3.2. > I follo