What steps will reproduce the problem?
1. ./configure --with-apache-include=/usr/include/apache2/
--with-apr-include=/usr/include/apr-1.0/
2. make
3.
What is the expected output? What do you see instead?
instead of "all ok"
i got
/tmp/googlesitemapgenerator/googlesitemapgenerator-read-only/src/common/url.h:
In static member function ‘static void Url::EscapeUrlComponent(const char*,
std::string*)’:
/tmp/googlesitemapgenerator/googlesitemapgenerator-read-only/src/common/url.h:46
:
error: ‘strlen’ was not declared in this scope
/tmp/googlesitemapgenerator/googlesitemapgenerator-read-only/src/common/url.h:
In static member function ‘static bool Url::UnescapeUrlComponent(const
char*, std::string*)’:
/tmp/googlesitemapgenerator/googlesitemapgenerator-read-only/src/common/url.h:51
:
error: ‘strlen’ was not declared in this scope
ive added header <cstring> and ive pushed it forward but
fileutil.cc: In static member function ‘static bool
FileUtil::RemoveDir(const char*)’:
fileutil.cc:406: error: ‘strcmp’ was not declared in this scope
fileutil.cc: In static member function ‘static bool FileUtil::ListDir(const
char*, bool, std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >*)’:
fileutil.cc:446: error: ‘strcmp’ was not declared in this scope
and few others but based on the same 'str*' missing so ive added <cstring>
to all of em and went ok but im stuck at this
/tmp/googlesitemapgenerator/googlesitemapgenerator-read-only/src/common/accessco
ntroller.h:50:
error: ‘mode_t’ has not been declared
accesscontroller.cc:296: error: prototype for ‘bool
AccessController::AllowApacheAccessFile(const std::string&, mode_t)’ does
not match any in class ‘AccessController’
/tmp/googlesitemapgenerator/googlesitemapgenerator-read-only/src/common/accessco
ntroller.h:50:
error: candidate is: static bool
AccessController::AllowApacheAccessFile(const std::string&, int)
What version of the product are you using? On what operating system?
cvs 44
Linux 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686
GNU/Linux
apache2: 2.2.11-2ubuntu2.3
g++: 4.3.3-1ubuntu1
Please provide any additional information below.
Original issue reported on code.google.com by och...@gmail.com on 14 Sep 2009 at 12:13
Original issue reported on code.google.com by
och...@gmail.com
on 14 Sep 2009 at 12:13