Difference between revisions of "Pwlib"
From CBLFS
Jump to navigationJump to search(12 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.ekiga.org/admin/downloads/latest/sources/sources/pwlib- | + | | http://www.ekiga.org/admin/downloads/latest/sources/sources/pwlib-{{Pwlib-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Blank-Package-Introduction}} | ||
== Dependencies == | == Dependencies == | ||
− | + | === Optional === | |
− | + | * [[OpenLDAP]] (you must use this if you wish to build [[ekiga]]) | |
+ | * [[CyrusSASL]] | ||
+ | * [[OpenSSL]] | ||
+ | * [[Expat]] | ||
+ | * [[SDL]] | ||
+ | * [[ALSA]] | ||
+ | * [[libraw1394]] | ||
+ | * [[libdc1394]] | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 17: | Line 26: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr | + | ./configure --prefix=/usr && |
+ | make | ||
+ | |||
+ | Install: | ||
+ | |||
+ | make install && | ||
+ | chmod -v 755 /usr/lib/libpt_linux*so* | ||
+ | |||
+ | == Multilib == | ||
+ | |||
+ | === 32Bit === | ||
+ | |||
+ | Compile the package: | ||
+ | |||
+ | sed -i "s:/share/pwlib:/lib/pwlib:g" Makefile.in && | ||
+ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
+ | ./configure --prefix=/usr --build=${CLFS_TARGET32} && | ||
+ | make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install && | ||
+ | chmod -v 755 /usr/lib/libpt_linux*so* && | ||
+ | mv -v /usr/bin/ptlib-config{,-32} && | ||
+ | mv -v /usr/include/ptbuildopts{,-32}.h | ||
+ | |||
+ | === N32 === | ||
+ | |||
+ | Compile the package: | ||
+ | |||
+ | sed -i "s:/share/pwlib:/lib32/pwlib:g" Makefile.in && | ||
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
+ | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
+ | make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install && | ||
+ | chmod -v 755 /usr/lib32/libpt_linux*so* && | ||
+ | mv -v /usr/bin/ptlib-config{,-n32} && | ||
+ | mv -v /usr/include/ptbuildopts{,-n32}.h | ||
+ | |||
+ | === 64Bit === | ||
+ | |||
+ | Compile the package: | ||
+ | |||
+ | sed -i "s:/share/pwlib:/lib64/pwlib:g" Makefile.in && | ||
+ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
+ | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
+ | make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install && | ||
+ | chmod -v 755 /usr/lib64/libpt_linux*so* && | ||
+ | mv -v /usr/bin/ptlib-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/ptlib-config && | ||
+ | mv -v /usr/include/ptbuildopts{,-64}.h | ||
+ | |||
+ | {{Stub-Header|ptbuildopts}} | ||
+ | |||
+ | [[Category:Media Libraries]] |
Latest revision as of 15:32, 19 March 2009
Download Source: | http://www.ekiga.org/admin/downloads/latest/sources/sources/pwlib-1.10.10.tar.gz |
---|
Contents
Introduction to Pwlib
Project Homepage: Unknown
Dependencies
Optional
- OpenLDAP (you must use this if you wish to build ekiga)
- CyrusSASL
- OpenSSL
- Expat
- SDL
- ALSA
- libraw1394
- libdc1394
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install:
make install && chmod -v 755 /usr/lib/libpt_linux*so*
Multilib
32Bit
Compile the package:
sed -i "s:/share/pwlib:/lib/pwlib:g" Makefile.in && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ ./configure --prefix=/usr --build=${CLFS_TARGET32} && make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}"
Install the package:
make install && chmod -v 755 /usr/lib/libpt_linux*so* && mv -v /usr/bin/ptlib-config{,-32} && mv -v /usr/include/ptbuildopts{,-32}.h
N32
Compile the package:
sed -i "s:/share/pwlib:/lib32/pwlib:g" Makefile.in && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/usr/lib64 && make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}"
Install the package:
make install && chmod -v 755 /usr/lib32/libpt_linux*so* && mv -v /usr/bin/ptlib-config{,-n32} && mv -v /usr/include/ptbuildopts{,-n32}.h
64Bit
Compile the package:
sed -i "s:/share/pwlib:/lib64/pwlib:g" Makefile.in && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 && make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}"
Install the package:
make install && chmod -v 755 /usr/lib64/libpt_linux*so* && mv -v /usr/bin/ptlib-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/ptlib-config && mv -v /usr/include/ptbuildopts{,-64}.h
Creating a Stub Header (Multilib Only)
Creating a Generic Stub Header
cat > /usr/include/ptbuildopts.h << "EOF" /* ptbuildopts.h - Stub Header */ #ifndef __STUB__PTBUILDOPTS_H__ #define __STUB__PTBUILDOPTS_H__ #if defined(__x86_64__) || \ defined(__sparc64__) || \ defined(__arch64__) || \ defined(__powerpc64__) || \ defined (__s390x__) # include "ptbuildopts-64.h" #else # include "ptbuildopts-32.h" #endif #endif /* __STUB__PTBUILDOPTS_H__ */ EOF
Creating a Stub Header For Mips
cat > /usr/include/ptbuildopts.h << "EOF" /* ptbuildopts.h - Stub Header */ #ifndef __STUB__PTBUILDOPTS_H__ #define __STUB__PTBUILDOPTS_H__ #include <sgidefs.h> #if (_MIPS_SIM == _ABIO32) # include "ptbuildopts-32.h" #elif (_MIPS_SIM == _ABIN32) # include "ptbuildopts-n32.h" #elif (_MIPS_SIM == _ABI64) # include "ptbuildopts-64.h" #endif #endif /* __STUB__PTBUILDOPTS_H__ */ EOF