-   Linux From Scratch (
-   -   Compiling pacman 4.0.3 (

mariostg 10-29-2012 05:25 PM

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


./.. -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

All times are GMT -5. The time now is 11:32 AM.