[pacman-dev] Unable to compile pacman in ubuntu-11.10

Dan McGee dpmcgee at gmail.com
Tue Mar 27 14:21:42 EDT 2012


On Tue, Mar 27, 2012 at 12:55 PM, Talespin Kit <talespin_kit at yahoo.com> wrote:
> Hi,
>
> I have tried to do the Offline Installation as described in
> the ArchLinux wiki, but it did not worked out as i have mentioned in the thread http://stackoverflow.com/posts/comments/12588344. Hence i have planned to compile the pacman in a machine which has
> internet connection and then download the packages using the compiled
> pacman binary and then transfer it to offline ArchLinux Machine.
> While i tried to compile the pacman in Ubuntu-11.10 machine i got the following errors
> $ make # after ./autogen.sh && ./configure
> make  all-recursive
> make[1]: Entering directory `/home/talespin/archlinux/pacman'
> Making all in lib/libalpm
> make[2]: Entering directory `/home/talespin/archlinux/pacman/lib/libalpm'
> Making all in po
> make[3]: Entering directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
> test ! -f ./libalpm.pot || \ test -z "ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo fi.gmo fr.gmo hu.gmo it.gmo kk.gmo lt.gmo nb.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sr.gmo sr at latin.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo" || make ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo fi.gmo fr.gmo hu.gmo it.gmo kk.gmo lt.gmo nb.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sr.gmo sr at latin.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo
> make[4]: Entering directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
> : --update  --lang=ca ca.po libalpm.pot
> rm -f ca.gmo && : -c --statistics --verbose -o ca.gmo ca.po
> mv: cannot stat `t-ca.gmo': No such file or directory
> make[4]: *** [ca.gmo] Error 1
> make[4]: Leaving directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
> make[3]: *** [stamp-po] Error 2
> make[3]: Leaving directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/talespin/archlinux/pacman/lib/libalpm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/talespin/archlinux/pacman'
> make: *** [all] Error 2
> I have cloned the source from git://projects.archlinux.org/pacman.git and tried compiling with the commit
> e6f72c61a098b52ea29e54b8eb4739a2ff81e6b0 and its parents(until commit
> ae25167bcd592186749b79ea31b10fb78ed9fb2d) with no success.
> Any ideas.

You probably need the gettext development package installed.

You're going to have much better luck just transferring the pacman XZ
zipped package to the machine and unzipping it directly in '/', then
removing the /.PKGINFO and /.INSTALL file it will leave behind.

-Dan


More information about the pacman-dev mailing list