Re: [PATCH] OPW 2013: Build System Gtest Addition
From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Fri, 1 Feb 2013 18:34:07 +0000
On 22/01/13 12:03, Stefan Sperling wrote:
First of all thanks to Ben for rescuing my messy post =)
Also thanks to everyone who gave me hints!
--- At this point I have ./configure --enable-gtest working but the show stops here: [[[ g++ -std=c++98 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -I./subversion/include -I./subversion -I/home/g/trunk/\ apr/include -I/home/g/trunk/apr-util/include -I/home/g/trunk/sqlite-amalgamation gtest/src/gtest-all.cc gtest/src/gtest-all.cc:39:25: fatal error: gtest/gtest.h: No such file or directory (...snip...) gtest/src/gtest-all.cc:39:25: fatal error: gtest/gtest.h: No such file or directory compilation terminated. make: *** [gtest/src/gtest-all.lo] Error 1 ]]] Looking at the file in question I find: [[[ // This line ensures that gtest.h can be compiled on its own, even // when it's fused. #include "gtest/gtest.h" ]]] The file in question is located here: /trunk/gtest/include/gtest/gtest.h also a similar problem exists when using autogen.sh: [[[ Creating build-outputs.mk... WARNING: "gtest/internal/gtest-port.h" header not found, file gtest/src/gtest-internal-inl.h WARNING: "gtest/gtest.h" header not found, file gtest/src/gtest-internal-inl.h WARNING: "gtest/gtest-spi.h" header not found, file gtest/src/gtest-internal-inl.h Creating svn_private_config.h.in... ]]] again, the files exist, but not where gtest thinks they should be. What can I do about that, if anything? thanks, Gabriela Ps.: it turns out that configure is issuing a misleading warning: configure: WARNING: unrecognized options: --enable-gtest but it also does it for --without-gpg-agent and --with-kwalletReceived on 2013-02-01 19:34:42 CET |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.