LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Compiling pacman 4.0.3 (http://www.linuxquestions.org/questions/linux-from-scratch-13/compiling-pacman-4-0-3-a-4175434667/)

mariostg 10-29-2012 05:25 PM

Compiling pacman 4.0.3
 
Wondering if anyone has ever had success with this.
autogen.sh and configure runs fine, but make fails complaining about undeclared constants.

Code:

./.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -fstack-protector-all -D_FORTIFY_SOURCE=2 -g -Wall -Werror -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c be_sync.c  -fPIC -DPIC -o .libs/be_sync.o
be_sync.c: In function 'estimate_package_count':
be_sync.c:394:8: error: 'ARCHIVE_COMPRESSION_LZMA' undeclared (first use in this function)
be_sync.c:394:8: note: each undeclared identifier is reported only once for each function it appears in
be_sync.c:395:8: error: 'ARCHIVE_COMPRESSION_XZ' undeclared (first use in this function)


mariostg 10-29-2012 08:50 PM

Solved. Had a rather obsolete version of libarchive taken from http://cblfs.cross-lfs.org/index.php/Libarchive.


All times are GMT -5. The time now is 04:17 PM.