Difference between revisions of "Log4cxx"
From CBLFS
Jump to navigationJump to search (New page: {| style="text-align: left; background-color: AliceBlue;" |-valign="top" !Download Source: | http://archive.apache.org/dist/logging/log4cxx/log4cxx-0.9.7.tar.gz |} == Dependencies == == ...) |
|||
(16 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
− | | http:// | + | |http://apache.cs.utah.edu/logging/log4cxx/{{Log4cxx-Version}}/apache-log4cxx-{{Log4cxx-Version}}.tar.gz |
|} | |} | ||
+ | |||
+ | {{Package-Introduction|Apache log4cxx is a logging framework for C++ patterned after Apache log4j . Apache log4cxx uses Apache Portable Runtime for most platform-specific code and should be usable on any platform supported by APR.|http://logging.apache.org/log4cxx/}} | ||
== Dependencies == | == Dependencies == | ||
+ | |||
+ | === Required === | ||
+ | |||
+ | * [[CppUnit]] | ||
+ | * [[APR]] | ||
+ | * [[APR-util]] | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 11: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | ./ | + | sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && |
− | ./configure --prefix=/usr | + | sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && |
+ | sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && | ||
+ | sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && | ||
+ | ./configure --prefix=/usr && | ||
make | make | ||
Line 25: | Line 36: | ||
Compile the package: | Compile the package: | ||
− | ./ | + | sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && |
− | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr | + | sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && |
+ | sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && | ||
+ | sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && | ||
+ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
+ | USE_ARCH=32 ./configure --prefix=/usr && | ||
make | make | ||
Line 37: | Line 52: | ||
Compile the package: | Compile the package: | ||
− | ./ | + | sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && |
− | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH= | + | sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && |
+ | sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && | ||
+ | sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && | ||
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
+ | USE_ARCH=n32 ./configure --prefix=/usr && | ||
make | make | ||
Line 44: | Line 63: | ||
make install | make install | ||
+ | |||
=== 64Bit === | === 64Bit === | ||
Compile the package: | Compile the package: | ||
− | ./ | + | sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && |
− | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 | + | sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && |
+ | sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && | ||
+ | sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && | ||
+ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
+ | USE_ARCH=64 ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib64 && | ||
make | make | ||
Line 55: | Line 80: | ||
make install | make install | ||
+ | |||
+ | == Contents == | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | !Installed Directories: | ||
+ | |/usr/include/log4cxx, /usr/share/log4cxx | ||
+ | |-valign="top" | ||
+ | !Installed Programs: | ||
+ | |None | ||
+ | |-valign="top" | ||
+ | !Installed Libraries: | ||
+ | |liblog4cxx.{a,la,so} | ||
+ | |} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 07:55, 15 May 2010
Download Source: | http://apache.cs.utah.edu/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz |
---|
Contents
Introduction to Log4cxx
Apache log4cxx is a logging framework for C++ patterned after Apache log4j . Apache log4cxx uses Apache Portable Runtime for most platform-specific code and should be usable on any platform supported by APR.
Project Homepage: http://logging.apache.org/log4cxx/
Dependencies
Required
Non-Multilib
Compile the package:
sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && ./configure --prefix=/usr && make
Install the package:
make install
Multilib
32Bit
Compile the package:
sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ USE_ARCH=32 ./configure --prefix=/usr && make
Install the package:
make install
N32
Compile the package:
sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ USE_ARCH=n32 ./configure --prefix=/usr && make
Install the package:
make install
64Bit
Compile the package:
sed -i '18i#include <string.h>' src/main/cpp/inputstreamreader.cpp && sed -i '18i#include <string.h>' src/main/cpp/socketoutputstream.cpp && sed -i '19i#include <string.h>' src/examples/cpp/console.cpp && sed -i '20i#include <ncurses.h>' src/examples/cpp/console.cpp && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ USE_ARCH=64 ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package:
make install
Contents
Installed Directories: | /usr/include/log4cxx, /usr/share/log4cxx |
---|---|
Installed Programs: | None |
Installed Libraries: | liblog4cxx.{a,la,so} |