Difference between revisions of "Log4cxx"

From CBLFS
Jump to navigationJump to search
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| svn checkout http://svn.apache.org/repos/asf/logging/log4cxx/trunk apache-log4cxx
+
|http://apache.cs.utah.edu/logging/log4cxx/{{Log4cxx-Version}}/apache-log4cxx-{{Log4cxx-Version}}.tar.gz
 
|}
 
|}
  
Line 17: Line 17:
 
Compile the package:
 
Compile the package:
  
./autogen.sh &&
 
 
  ./configure --prefix=/usr  &&
 
  ./configure --prefix=/usr  &&
 
  make
 
  make
Line 31: Line 30:
 
Compile the package:
 
Compile the package:
  
./autogen.sh &&
 
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  USE_ARCH=32 ./configure --prefix=/usr &&
 
  USE_ARCH=32 ./configure --prefix=/usr &&
Line 44: Line 42:
 
Compile the package:
 
Compile the package:
  
./autogen.sh &&
 
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  USE_ARCH=n32 ./configure --prefix=/usr &&
 
  USE_ARCH=n32 ./configure --prefix=/usr &&
Line 52: Line 49:
  
 
  make install
 
  make install
 +
 
=== 64Bit ===
 
=== 64Bit ===
  
 
Compile the package:
 
Compile the package:
  
./autogen.sh &&
 
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
  USE_ARCH=64 ./configure --prefix=/usr \

Revision as of 05:02, 17 August 2008

Download Source: http://apache.cs.utah.edu/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr  &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
USE_ARCH=n32 ./configure --prefix=/usr &&
make

Install the package:

make install

64Bit

Compile the package:

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}
Retrieved from "?title=Log4cxx&oldid=14987"