PLIB: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
!Download Source: | !Download Source: | ||
| http://plib.sourceforge.net/dist/plib-1.8.4.tar.gz | | http://plib.sourceforge.net/dist/plib-1.8.4.tar.gz | ||
|- | |||
!Download Patch: | |||
| http://svn.cross-lfs.org/svn/repos/patches/plib/plib-1.8.4-gcc41_fixes-1.patch | |||
|} | |} | ||
Revision as of 19:29, 3 November 2006
| Download Source: | http://plib.sourceforge.net/dist/plib-1.8.4.tar.gz |
|---|---|
| Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/plib/plib-1.8.4-gcc41_fixes-1.patch |
Dependencies
Required
- X Window System (With OpenGL)
Non-Multilib
Compile the package:
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch && ./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
USE_ARCH=32 ./configure --prefix=/usr &&
make
Install the package
make install
N32
Compile the package:
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
USE_ARCH=n32 ./configure --prefix=/usr \
--libdir=/usr/lib32 &&
make
Install the package
make install
64Bit
Compile the package:
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
USE_ARCH=64 ./configure --prefix=/usr \
--libdir=/usr/lib64 &&
make
Install the package
make install