From: Philippe H. <phi...@ya...> - 2005-11-24 07:29:21
|
Hello, Could you install the latest patch (111685-22) for CC 5.3 ? Running "make" works OK for us with this configuration. Regards, PH --- "Robinson, David N." <Dav...@FM...> a écrit : > Philippe- > > 1. I read the instruction more carefully, and I saw > how to use --prefix to set the installation > directory. > > 2. More precisely, when "make check" failed, it > failed with... > % 5 cat1:2005-11-23 15:30:40,737 (1132777840 / 5) > [ERROR] ndc1 message % (0) > > message< > >message < > FAIL: testPattern > > I still need to know the significance of this and > whether I need to take any action. > > Thanks, > David > > > > -----Original Message----- > From: Robinson, David N. > Sent: Wednesday, November 23, 2005 2:49 PM > To: 'phi...@mi...' > Subject: RE: [Log4cpp-devel] Log4cpp compilation > failure on Unix/Solaris. > > > Philippe- > > > 1. I originally tried and fail to run "make" (with > the error indicated) on a box with Sun WorkShop 6 > update 2 C++ 5.3 2001/05/15. I tried again on > another box with Sun C++ 5.7 2005/01/07 and this > successfully completed "make". > > > 2. After succeeding with "make", I ran "make check", > and I got this output... > > ************************************************************************************* > ==================== > 1 of 10 tests failed > ==================== > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory > `/local2/prod/log4cpp-0.3.5rc3/tests' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/local2/prod/log4cpp-0.3.5rc3/tests' > make: *** [check-recursive] Error 1 > ************************************************************************************* > > How can I find out exactly what failed and what this > means? Is there any action that I need to take to > correct this? > > > 3. When I run "make install", it tries to install > the libraries to a directory for which I do not have > write access. How can I reconfigure the code to > install the libraries into a directory which I > specify? > > > Thanks, > David > > > -----Original Message----- > From: Philippe Haution > [mailto:phi...@ya...] > Sent: Wednesday, November 23, 2005 9:47 AM > To: Robinson, David N.; > phi...@mi... > Subject: RE: [Log4cpp-devel] Log4cpp compilation > failure on Unix/Solaris. > > > I was talking about your compiler's version. > > PH > --- "Robinson, David N." <Dav...@FM...> > a > écrit : > > > Philippe- > > > > The tar file that I used is log4cpp-0.3.5rc3.tar. > > > > Thanks, > > David > > > > -----Original Message----- > > From: Philippe Haution > > [mailto:phi...@ya...] > > Sent: Wednesday, November 23, 2005 7:06 AM > > To: Robinson, David N.; > > log...@li... > > Subject: RE: [Log4cpp-devel] Log4cpp compilation > > failure on Unix/Solaris. > > > > > > Hello, > > > > Could you be more precise about the release and > > patch > > number your are using ? > > > > My first guess is that Sun CC shouldn't produce an > > error message since it is legal C++ to have a > > virtual > > method in a derived class be more restrictive than > > the > > base method in its exception specification. > > > > However, it would perhaps be a good idea to > reassess > > the opportunity to use exception specifications in > > log4cpp now that the C++ community knows they > should > > be avoided. > > > > Regards, > > > > PH > > > > --- "Robinson, David N." > <Dav...@FM...> > > a > > écrit : > > > > > Log4cpp support: > > > > > > When I try to install log4cpp on Unix/Solaris, I > > get > > > the following error > > > after I run the make command: > > > > > > source='FixedContextCategory.cpp' > > > object='FixedContextCategory.lo' > > > libtool=yes \ > > > DEPDIR=.deps depmode=none /bin/bash > > > ../config/depcomp \ > > > /bin/bash ../libtool --tag=CXX --mode=compile CC > > > -DHAVE_CONFIG_H -I. -I. > > > -I../include -I../include -g -c -o > > > FixedContextCategory.lo > > > FixedContextCategory.cpp > > > CC -DHAVE_CONFIG_H -I. -I. -I../include > > > -I../include -g -c > > > FixedContextCategory.cpp -KPIC -DPIC -o > > > .libs/FixedContextCategory.o > > > "../include/log4cpp/FixedContextCategory.hh", > line > > > 80: Error: Function > > > > > > log4cpp::FixedContextCategory::addAppender(log4cpp::Appender*) > > > can throw > > > only the exceptions thrown by the function > > > > log4cpp::Category::addAppender(log4cpp::Appender*) > > > it overrides. > > > "../include/log4cpp/FixedContextCategory.hh", > line > > > 171: Warning: > > > log4cpp::FixedContextCategory::ownsAppender > hides > > > the virtual function > > > > > > log4cpp::Category::ownsAppender(log4cpp::Appender*, > > > __rwstd::__rb_tree<log4cpp::Appender*, > > > std::pair<log4cpp::Appender*const, bool>, > > > > > > __rwstd::__select1st<std::pair<log4cpp::Appender*const, > > > bool>, > > > log4cpp::Appender*>, > > std::less<log4cpp::Appender*>, > > > > std::allocator<std::pair<log4cpp::Appender*const, > > > bool>>>::iterator&). > > > 1 Error(s) and 1 Warning(s) detected. > > > make[1]: *** [FixedContextCategory.lo] Error 1 > > > make[1]: Leaving directory > > > `/local2/prod/log4cpp-0.3.5rc3/src' > > > make: *** [all-recursive] Error 1 > > > > > > Note that I set > > > CC=CC CXX=CC LD="CC -KPIC" ./configure > > > --disable-static > > > per the INSTALL instructions. > > > > > > Please advise. > > > > > > Thanks, > === message truncated === ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |