[Linux-cluster] Problems with compilation.

Jonathan E Brassow jbrassow at redhat.com
Wed Apr 5 18:36:55 UTC 2006


did you setup and do a 'make' in your kernel tree.  Failing to do that 
will give those errors.

  brassow

On Apr 5, 2006, at 11:16 AM, Ilya M. Slepnev wrote:

> Surely, I tried that first... Here is a lot of output of configure and
> "make install"... It seems not better than previous!-)
>
> khext at hess:~/nigma/ext3/gfs/cvs/cluster$ ./configure 
> --kernel_src=/home/khext/nigma/ext3/linux-2.6.16.1
> configure dlm-kernel
>
> Configuring Makefiles for your system...
> Can't open 
> /home/khext/nigma/ext3/linux-2.6.16.1/include/linux/version.h at 
> ./configure line 101.
> configure gnbd-kernel
>
> Configuring Makefiles for your system...
> Can't open 
> /home/khext/nigma/ext3/linux-2.6.16.1/include/linux/version.h at 
> ./configure line 95.
> configure magma
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure ccs
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure cman
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure dlm
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure fence
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure iddev
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure gulm
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure gfs-kernel
>
> Configuring Makefiles for your system...
> Can't open 
> /home/khext/nigma/ext3/linux-2.6.16.1/include/linux/version.h at 
> ./configure line 107.
> configure gfs2-kernel
>
> Configuring Makefiles for your system...
> Can't open 
> /home/khext/nigma/ext3/linux-2.6.16.1/include/linux/version.h at 
> ./configure line 95.
> configure gfs
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure gfs2
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure gnbd
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure magma-plugins
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure rgmanager
>
> Configuring Makefiles for your system...
> Completed Makefile configuration
>
> configure cmirror
>
> Configuring Makefiles for your system...
> Can't open 
> /home/khext/nigma/ext3/linux-2.6.16.1/include/linux/version.h at 
> ./configure line 95.
> khext at hess:~/nigma/ext3/gfs/cvs/cluster$ make install
> cd dlm-kernel && make install
> make[1]: Entering directory 
> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel'
> cd src2 && make install
> make[2]: Entering directory 
> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2'
> make -C  M=/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2 
> modules USING_KBUILD=yes
> make: *** M=/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2: No 
> such file or directory.  Stop.
> make: Entering an unknown directorymake: Leaving an unknown 
> directorymake[2]: *** [all] Error 2
> make[2]: Leaving directory 
> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory 
> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel'
> make: *** [install] Error 2
> khext at hess:~/nigma/ext3/gfs/cvs/cluster$
>
>
>
>
> On Wed, 2006-04-05 at 10:40 -0500, Jonathan E Brassow wrote:
>> might want to skip the 'make' by itself... try:
>>
>> dir/cluster> make clean; make distclean
>> dir/cluster> ./configure --kernel_src=<path>
>> dir/cluster> make install
>>
>>   brassow
>> On Apr 5, 2006, at 10:27 AM, Ilya M. Slepnev wrote:
>>
>>> Hi,
>>>
>>> I'm sorry for inconvenience, did anybody faced such problem with
>>> configuring cluster-suite? It writes, that there is no directory 
>>> named
>>> "/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2", but it is
>>> there... Am I doing something wrong? Is there some FAQ about that?
>>>
>>> Thanks, Ilya...
>>>
>>> khext at hess:~/nigma/ext3/gfs/cvs/cluster$ make
>>> cd dlm-kernel && make
>>> make[1]: Entering directory
>>> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel'
>>> cd src2 && make all
>>> make[2]: Entering directory
>>> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2'
>>> make -C  M=/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2
>>> modules USING_KBUILD=yes
>>> make: *** M=/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2: 
>>> No
>>> such file or directory.  Stop.
>>> make: Entering an unknown directorymake: Leaving an unknown
>>> directorymake[2]: *** [all] Error 2
>>> make[2]: Leaving directory
>>> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel/src2'
>>> make[1]: *** [all] Error 2
>>> make[1]: Leaving directory
>>> `/home/khext/nigma/ext3/gfs/cvs/cluster/dlm-kernel'
>>> make: *** [all] Error 2
>>> khext at hess:~/nigma/ext3/gfs/cvs/cluster$
>>>
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster at redhat.com
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list