problems building libarchive from git

47 views
Skip to first unread message

da_aud...@yahoo.com

unread,
Aug 5, 2012, 5:25:51 AM8/5/12
to libarchiv...@googlegroups.com
On Arch linux and Just pulled latest git build and attempted to compile but am running into errors:

  ./build/autogen.sh
  ./configure --prefix=/usr --without-xml2
  make

Errors are in this pastebin:  http://pastebin.com/aL0MiZPp

Thanks in advance for any suggestions.

I also tried adding --disable-acl to the configure step which does get further but still dies in errors:

./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_close':
archive_write_disk_posix.c:(.text+0x273a): undefined reference to `archive_write_disk_set_acls'
collect2: error: ld returned 1 exit status
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_close':
archive_write_disk_posix.c:(.text+0x273a): undefined reference to `archive_write_disk_set_acls'
collect2: error: ld returned 1 exit status

Tim Kientzle

unread,
Aug 5, 2012, 2:43:43 PM8/5/12
to libarchiv...@googlegroups.com
On Aug 5, 2012, at 2:25 AM, da_aud...@yahoo.com wrote:

> On Arch linux and Just pulled latest git build and attempted to compile but am running into errors:
>
> ./build/autogen.sh
> ./configure --prefix=/usr --without-xml2
> make
>
> Errors are in this pastebin: http://pastebin.com/aL0MiZPp

The new ACL code needs some more work on Linux.
Any Volunteers? (It shouldn't be hard; the hard parts of
the new ACL code are all platform-independent.)

> Thanks in advance for any suggestions.
>
> I also tried adding --disable-acl to the configure step which does get further but still dies in errors:
>
> ./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
> archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'

Ouch. Looks like the new archive_write_disk_acl.c file
got left out of the autoconf build.

Please try this again and let me know.

Tim

john

unread,
Aug 5, 2012, 3:45:15 PM8/5/12
to libarchiv...@googlegroups.com
On Sunday, August 5, 2012 2:43:43 PM UTC-4, Tim Kientzle wrote:

Ouch.  Looks like the new archive_write_disk_acl.c file
got left out of the autoconf build.

Please try this again and let me know.

OK.  It builds now if I configure disabling acl.  Looking forward to the acl work you alluded to in your post.  I am NO programmer :)

$ ./configure --prefix=/usr --without-xml2 --disable-acl

Reply all
Reply to author
Forward
0 new messages