[pacman-dev] Unable to compile pacman in ubuntu-11.10
Talespin Kit
talespin_kit at yahoo.com
Wed Mar 28 03:02:06 EDT 2012
>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.
I would like to modify the sources and understand the pacman code. so
compiling the sources is a necessary.
>You probably need the gettext development package installed.
I have installed the gettext package version 0.8.1.1-3ubuntu1 and it
compiles the files in the **pacman/lib/libalpm/po** directory.
Thank you for the info.
But the make file reports error in **pacman/src/util** directory.
$ make
make all-recursive
make[1]: Entering directory `/home/user/tmp/pacman'
Making all in lib/libalpm
make[2]: Entering directory `/home/user/tmp/pacman/lib/libalpm'
Making all in po
make[3]: Entering directory `/home/user/tmp/pacman/lib/libalpm/po'
make[3]: Leaving directory `/home/user/tmp/pacman/lib/libalpm/po'
make[3]: Entering directory `/home/user/tmp/pacman/lib/libalpm'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/user/tmp/pacman/lib/libalpm'
make[2]: Leaving directory `/home/user/tmp/pacman/lib/libalpm'
Making all in src/util
make[2]: Entering directory `/home/user/tmp/pacman/src/util'
CCLD testpkg
../../lib/libalpm/.libs/libalpm.so: undefined reference to `MD5_Init'
../../lib/libalpm/.libs/libalpm.so: undefined reference to `MD5_Final'
../../lib/libalpm/.libs/libalpm.so: undefined reference to `SHA256_Init'
../../lib/libalpm/.libs/libalpm.so: undefined reference to `SHA256_Update'
../../lib/libalpm/.libs/libalpm.so: undefined reference to `MD5_Update'
../../lib/libalpm/.libs/libalpm.so: undefined reference to `SHA256_Final'
Seems like MD5 related library has to be installed. I do not know which
one to install. I was expecting ./configure scritpt to report about these
required libraries.
Br,
Talespin
More information about the pacman-dev
mailing list