LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-29-2012, 04:25 PM   #1
mariostg
Member
 
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.
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)
 
Old 10-29-2012, 07:50 PM   #2
mariostg
Member
 
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 http://cblfs.cross-lfs.org/index.php/Libarchive.
 
  


Reply


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 09:43 AM.

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