Difference between revisions of "Libical"
From CBLFS
Jump to navigationJump to search (→64Bit) |
|||
Line 75: | Line 75: | ||
patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && | patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && | ||
sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && | sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | + | CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr \ |
--libdir=/usr/lib64 --enable-python-bindings=yes && | --libdir=/usr/lib64 --enable-python-bindings=yes && | ||
make | make |
Revision as of 16:45, 7 October 2006
Dependencies
Optional
Non-Multilib
Compile the package:
patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && ./configure --prefix=/usr --enable-python-bindings=yes && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in && CC="gcc ${BUILD32}" ./configure --prefix=/usr \ --enable-python-bindings=yes && make
Install the package
make install && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in && CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 --enable-python-bindings=yes && make
Install the package
make install && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-python-bindings=yes && make
Install the package
make install && unset USE_ARCH