Difference between revisions of "Log4cxx"

From CBLFS
Jump to navigationJump to search
Line 16: Line 16:
 
Compile the package:
 
Compile the package:
  
  ./autogen.sh
+
  ./autogen.sh &&
  ./configure --prefix=/usr  
+
  ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 30: Line 30:
 
Compile the package:
 
Compile the package:
  
  ./autogen.sh
+
  ./autogen.sh &&
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr  
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
USE_ARCH=32 ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 42: Line 43:
 
Compile the package:
 
Compile the package:
  
  ./autogen.sh
+
  ./autogen.sh &&
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr  
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 +
USE_ARCH=n32 ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 53: Line 55:
 
Compile the package:
 
Compile the package:
  
  ./autogen.sh
+
  ./autogen.sh &&
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
USE_ARCH=64 ./configure --prefix=/usr \
 +
    --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 18:25, 23 January 2008

Download Source: svn checkout http://svn.apache.org/repos/asf/logging/log4cxx/trunk apache-log4cxx

Dependencies

Required

Non-Multilib

Compile the package:

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

Install the package:

make install

Multilib

32Bit

Compile the package:

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

Install the package:

make install

N32

Compile the package:

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

Install the package:

make install

64Bit

Compile the package:

./autogen.sh &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install
Retrieved from "?title=Log4cxx&oldid=12798"