Ceph build system broken with automake 1.96

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
   Build system was broken for automake 1.96. When I need to switch automake from 1.14 to automake 1.96 for some features , I  got below errors errors for Ceph compilation with automake 1.96.  Automake(aclocal ) 1.96 does not support --install option any more.
  
Synchronizing submodule url for 'ceph-erasure-code-corpus'
Synchronizing submodule url for 'ceph-object-corpus'
Synchronizing submodule url for 'src/civetweb'
Synchronizing submodule url for 'src/erasure-code/jerasure/gf-complete'
Synchronizing submodule url for 'src/erasure-code/jerasure/jerasure'
Synchronizing submodule url for 'src/gmock'
Synchronizing submodule url for 'src/libs3'
Synchronizing submodule url for 'src/rocksdb'
+ git submodule update --force --init --recursive
Submodule path 'ceph-erasure-code-corpus': checked out 'f1f95a1de9dea91b0f8830a01e8b8673e3f241e1'
Submodule path 'ceph-object-corpus': checked out 'da43eb119558fb46d86e62f3b82d5ca63546f69e'
Submodule path 'src/civetweb': checked out 'af76623303242ba3157fef19134f27efd38977e0'
Submodule path 'src/erasure-code/jerasure/gf-complete': checked out 'd384952c68a64d93ac7af6341d5519ea5d2958b9'
Submodule path 'src/erasure-code/jerasure/jerasure': checked out '02731df4c1eae1819c4453c9d3ab6d408cadd085'
Submodule path 'src/gmock': checked out 'd701f9d547a03677d612d7af3f212871a427f058'
Submodule path 'src/gmock/gtest': checked out '02cfbd72c57c43eb98cfd18779cffec23d03b8c8'
Submodule path 'src/libs3': checked out 'dcf98ff04bc5dacd5d45854a32870d86dd7b26c7'
Submodule path 'src/rocksdb': checked out '6ca7befb55767784a447a5daddd09e387ec92bd3'
+ rm -f config.cache
+ aclocal -I m4 --install
aclocal: unrecognized option -- `--install'
Try `aclocal --help' for more information.

root@ssd-OptiPlex-7010:/home/ssd/Workspace/ceph_9.0# autom
autom4te       automake       automake-1.14  automake-1.9   

root@ssd-OptiPlex-7010:/home/ssd/Workspace/ceph_9.0# automake --version
Useless use of /d modifier in transliteration operator at /usr/share/automake-1.9/Automake/Wrap.pm line 60.
automake (GNU automake) 1.9.6
Written by Tom Tromey <tromey@xxxxxxxxxx>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.






-----Original Message-----
From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Jason Dillaman
Sent: Friday, May 08, 2015 6:37 AM
To: Gregory Farnum
Cc: Tom Deneau; ceph-devel
Subject: Re: No rule to make target `../src/gmock/lib/libgmock_main.la'

The fix is available on the master branch under commit 933332be.  You can workaround the issue by running "make check" to ensure gtest/gmock is compiled or run "configure --with-debug".

-- 

Jason Dillaman
Red Hat
dillaman@xxxxxxxxxx
http://www.redhat.com 


----- Original Message -----
From: "Gregory Farnum" <greg@xxxxxxxxxxx>
To: "Tom Deneau" <tom.deneau@xxxxxxx>
Cc: "ceph-devel" <ceph-devel@xxxxxxxxxxxxxxx>
Sent: Friday, May 8, 2015 12:57:57 AM
Subject: Re: No rule to make target `../src/gmock/lib/libgmock_main.la'

Yeah; I see this too. It took me a while to recall but this was a temporary bug and is resolved now. You should be able to find the fix by going through the makefile commits, and things will work if you set it up to build the unit tests as well.
-Greg

On Thu, May 7, 2015 at 8:24 PM, Deneau, Tom <tom.deneau@xxxxxxx> wrote:
> I wanted to build v9.0.0 using
> I did
>         git clone http://github.com/ceph/ceph
>         git checkout v9.0.0
>         git submodule update --force --init --recursive
>         autogen; configure; make
>
> When I do so I get the following error
>
> make[3]: *** No rule to make target `../src/gmock/lib/libgmock_main.la', needed by `unittest_librbd'.  Stop.
>
> I did not have this problem when I had checked out 0.94.1 Is there 
> some submodule step I am missing?
>
> By the way, an rpmbuild of v9.0.0 from the tar.bz2 worked fine.
>
> -- Tom Deneau, AMD
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" 
> in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo 
> info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html
��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux