2014年3月31日星期一

install acrobat reader using makepkg

install acrobat reader using makepkg

$wget https://aur.archlinux.org/packages/ac/acroread/acroread.tar.gz
$tar -xvzf acroread.tar.gz
$cd acroread
$makepkg -s
$sudo pacman -U *.pkg.tar.xz

if dependence not found - lib32-gtk2..etc...
enable the multilab section in /etc/pacman.cong
------------------------------------------------------------------------------------------------------

To use the multilib repository, uncomment the [multilib] section in /etc/pacman.conf:
[multilib]
Include = /etc/pacman.d/mirrorlist
You will then need to update the package list by running pacman with the -Sy switch.

Note:
  • If the system has the base-devel package group installed, users must replace the [extra] versions with the [mutlilib] versions as shown below.
  • gcc-multilib is capable of building 32-bit and 64-bit code. You can safely install multilib-devel to replace the packages shown below, but you still need base-devel for the other packages it includes. See https://bbs.archlinux.org/viewtopic.php?id=102828 for more information.
# pacman -S gcc-multilib
resolving dependencies...
warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
looking for inter-conflicts...
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] y
:: binutils-multilib and binutils are in conflict. Remove binutils? [y/N] y
:: gcc-multilib and gcc are in conflict. Remove gcc? [y/N] y
:: libtool-multilib and libtool are in conflict. Remove libtool? [y/N] y

Remove (4): gcc-libs-4.6.1-1  binutils-2.21.1-1  gcc-4.6.1-1  libtool-2.4-4

Total Removed Size:   87.65 MB

Targets (7): lib32-glibc-2.14-4  lib32-gcc-libs-4.6.1-1  gcc-libs-multilib-4.6.1-1  binutils-multilib-2.21.1-1
             gcc-multilib-4.6.1-1  lib32-libtool-2.4-2  libtool-multilib-2.4-2

Total Download Size:    25.04 MB
Total Installed Size:   108.27 MB

Proceed with installation? [Y/n]
Reference: https://wiki.archlinux.org/index.php/makepkg

Important:
Even I do the above operation,
I still miss the lib32-pangox-compat dependency,
I manually build above library (extract, config, make, make install) and then delete the  pangox-compat dependency in the PKGBUILD flag,
and it can normally run now... :(


沒有留言:

發佈留言