Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 10-29-2012, 04:25 PM   #1
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Rep: Reputation: 5
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)
Old 10-29-2012, 07:50 PM   #2
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Original Poster
Rep: Reputation: 5
Solved. Had a rather obsolete version of libarchive taken from


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do we need pacman-key if pacman checks md5? Mr. Alex Arch 5 03-09-2012 05:05 PM
Anyone else 'pacman -Sy' instead of simply 'pacman -S'-ing packages? Kenny_Strawn Arch 15 03-23-2011 01:09 PM
Error compiling Pacman on LFS 6.1.1 Vampirite Linux From Scratch 13 04-11-2007 10:20 AM
Pacman carlosinfl Linux - Games 4 02-13-2006 02:46 PM
pacman alaios Linux - Games 1 08-20-2005 03:34 AM

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration