Re: ERROR: library `archive' does not exist
z_axis <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
I am not sure why archive has not been installed. Maybe it due to Java. After installing archive manually, the problem is fixed. Regards! At 2013-12-20 19:10:53,"Jan Wielemaker" <[email protected]> wrote: >On 12/20/2013 01:48 AM, z_axis wrote: >> Yeah i built the stable version , including all packages. Now i >> downloaded 6.6.1. >> After installing src: >> >> $cd pl-6.6.1/packages >> $configure --prefix=/home/***/prolog >> $gmake >> $gmake install > >To make life easy, copy build.templ from the top dir to build and >edit to suit your needs. > >> $ls archive/ >> Makefile.in archive.doc archive.pdf archive4pl.c configure >> install-sh >> Makefile.mak archive.html archive.pl config.h.in configure.in >> pltotex.pl > >Obviously, no attempt has been made to build archive. Why is a bit >hard to say. It surely is a default package. The configure run above >might tell you why it was skipped. > > Cheers --- Jan > >> >> After installing, >> $grep 'local' pkgconfig/swipl.pc >> PLCFLAGS=-fno-strict-aliasing -pthread -I/usr/local/include >> PLLDFLAGS=-rdynamic -L/usr/local/lib -pthread >> >> ?- pack_install(lambda). >> Install [email protected] from >> http://www.swi-prolog.org/download/pack/lambda-1.0.0.tgz Y/n? >> >> Create directory for packages >> (1) * /home/***/lib/swipl/pack >> (2) /home/***/prolog/lib/swipl-6.6.1/pack >> (3) Cancel >> >> Your choice? 2 >> ERROR: library `archive' does not exist >> Exception: (10) >> prolog_pack:pack_archive_info('/home/***/prolog/lib/swipl-6.6.1/pack/Downloads/lambda-1.0.0.tgz', >> lambda, _G2730, _G2731) ? a >> ?- >> >> Regards! >> >> 在 Thu, 19 Dec 2013 16:51:38 +0800,Jan Wielemaker <[email protected]> >> 写道: >> >>> On 12/19/2013 08:19 AM, z_axis wrote: >>>> hi,.friends >>>> >>>> ?- pack_install(lambda). >>>> Install [email protected] from >>>> http://www.swi-prolog.org/download/pack/lambda-1.0.0.tgz Y/n? >>>> ERROR: library `archive' does not exist >>>> Exception: (10) >>>> prolog_pack:pack_archive_info('/home/***/prolog/lib/swipl-6.6.0/pack/Downloads/lambda-1.0.0.tgz', >>>> >>>> lambda, _G2368, _G2369) ? a >>>> ... >>>> >>>> $find /usr/local/lib/ -name "libarchiv*" >>>> /usr/local/lib/libarchive.a >>>> /usr/local/lib/libarchive.la >>>> /usr/local/lib/libarchive.so >>>> /usr/local/lib/libarchive.so.14 >>>> /usr/local/lib/compat/libarchive.so.2 >>> >>> I assume you built Prolog yourself on some platform? Did you >>> build the whole lot, including all packages? If so, check the >>> config.log in packages/archive to see why it didn't pick up >>> the library. Possibly the headers are missing? Or /usr/local >>> is not in the search path for includes and libraries? >>> >>> Cheers --- Jan >> >> > -------------- next part -------------- HTML attachment scrubbed and removed _______________________________________________ SWI-Prolog mailing list [email protected] https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog