Alexander E. Patrakov wrote:
> Bruce Dubbs wrote:
> 
>> Alexander E. Patrakov wrote:
>>
>>> The relevant header files are "unzip.h" and "unzvers.h". Install them
>>> and use the library. But the BLFS policy is that libraries used by none
>>> of BLFS packages should not be installed.
>>
>>
>> Sorry, but I can't parse this.  Please tell me again in different words
>> what BLFS is.
> 
> 
> 1) DJ Lucas, in principle, can install the "unzip.h" and "unzvers.h"
> headers to /usr/include and compile his own programs (if he writes
> anything) or someone else's programs (if he finds them) that use
> libunzip.so.
> 
> 2) BLFS doesn't contain such programs, and none of known-to-me
> beyond-BLFS packages can link to libunzip.so. zziplib from
> http://zziplib.sourceforge.net/ is preferred for the prupose of handling
> zip archives from within programs, and is used, e.g., by PHP.
> 
> Thus, libunzip.so is a useless library for BLFS readers and should not
> be installed in BLFS. That applies to any other useless library.

OK.  I understand, but to clarify, you are saying the instructions
should be:

patch -Np1 -i ../unzip-5.52-fix_Makefile-1.patch &&
patch -Np1 -i ../unzip-5.52-fix_libz-1.patch &&
cp -v unix/Makefile . &&
make prefix=/usr LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux

and as root:
make prefix=/usr install

Is that correct?

  -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to