DJ Lucas wrote:
I can
easily recreate one when I get back in an hour or so. I'd actually like
to see it fixed, but it's beyond what I could figure out last night.
Okay, Randy and Dan...here is a screen session...logged in as root. :-/
'test2.zip', used below, is in my homedir on belgarath.
http://www.linuxfromscratch.org/~dj/test2.zip
I redirected the output to /dev/null for brevity, but you can see a
warning passed when building the linux_shlibz target in the first
compile below.
Hope that helps some...I suspect the compiler warning may actually be of
some use given it's location.
-- DJ Lucas
PASS 1 (linux_shlibz-unsuccessful):
[EMAIL PROTECTED] dj]# tar -xf /home/sources/unzip/unzip552.tar.gz
[EMAIL PROTECTED] dj]# cd unzip-5.52
[EMAIL PROTECTED] unzip-5.52]# ls /home/sources/unzip/unzip*patch
/home/sources/unzip/unzip-5.52-dont_make_noise-1.patch
/home/sources/unzip/unzip-5.52-fix_Makefile-1.patch
/home/sources/unzip/unzip-5.52-fix_libz-1.patch
[EMAIL PROTECTED] unzip-5.52]# for file in /home/sources/unzip/unzip*patch
> do patch -Np1 -i $file
> done
patching file unzipstb.c
patching file unix/Makefile
Hunk #1 succeeded at 827 (offset 9 lines).
patching file api.c
Hunk #1 succeeded at 52 with fuzz 1 (offset 4 lines).
[EMAIL PROTECTED] unzip-5.52]# cp unix/Makefile .
[EMAIL PROTECTED] unzip-5.52]# make prefix=/usr
LOCAL_UNZIP='-D_FILE_OFFSET_BITS=64' linux 2>&1 > /dev/null
[EMAIL PROTECTED] unzip-5.52]# make prefix=/usr
LOCAL_UNZIP='-D_FILE_OFFSET_BITS=64' linux_shlibz 2>&1 > /dev/null
inflate.c: In function 'UZinflate':
inflate.c:463: warning: pointer targets in assignment differ in signedness
[EMAIL PROTECTED] unzip-5.52]# make prefix=/usr install
mkdir -p /usr/bin
cp unzip funzip unzipsfx /usr/bin
cp unix/zipgrep /usr/bin
rm -f /usr/bin/zipinfo
ln /usr/bin/unzip /usr/bin/zipinfo
mkdir -p /usr/man/man1
cp man/funzip.1 /usr/man/man1/funzip.1
cp man/unzip.1 /usr/man/man1/unzip.1
cp man/unzipsfx.1 /usr/man/man1/unzipsfx.1
cp man/zipgrep.1 /usr/man/man1/zipgrep.1
cp man/zipinfo.1 /usr/man/man1/zipinfo.1
chmod 755 /usr/bin/funzip /usr/bin/unzip /usr/bin/unzipsfx
/usr/bin/zipgrep /usr/bin/zipinfo
chmod 644 /usr/man/man1/funzip.1 /usr/man/man1/unzip.1
/usr/man/man1/unzipsfx.1 /usr/man/man1/zipgrep.1 /usr/man/man1/zipinfo.1
[EMAIL PROTECTED] unzip-5.52]# cp libunzip.so* /usr/lib/
[EMAIL PROTECTED] unzip-5.52]# chmod 755 /usr/lib/libunzip.so*
[EMAIL PROTECTED] unzip-5.52]# ldconfig
[EMAIL PROTECTED] unzip-5.52]# which unzip
/usr/bin/unzip
[EMAIL PROTECTED] unzip-5.52]# unzip /media/windows/test2.zip
Archive: /media/windows/test2.zip
skipping: cat.exe need PK compat. v2.1 (can do v2.0)
skipping: chmod.exe need PK compat. v2.1 (can do v2.0)
skipping: chown.exe need PK compat. v2.1 (can do v2.0)
skipping: bzip2.exe need PK compat. v2.1 (can do v2.0)
[EMAIL PROTECTED] unzip-5.52]# cd ..
[EMAIL PROTECTED] dj]# rm -rf unzip-5.52
PASS 2 (linux_shlib-successful):
[EMAIL PROTECTED] dj]# tar -xf /home/sources/unzip/unzip552.tar.gz
[EMAIL PROTECTED] dj]# cd unzip-5.52
[EMAIL PROTECTED] unzip-5.52]# for file in /home/sources/unzip/unzip*patch
> do patch -Np1 -i $file
> done
patching file unzipstb.c
patching file unix/Makefile
Hunk #1 succeeded at 827 (offset 9 lines).
patching file api.c
Hunk #1 succeeded at 52 with fuzz 1 (offset 4 lines).
[EMAIL PROTECTED] unzip-5.52]# cp unix/Makefile .
[EMAIL PROTECTED] unzip-5.52]# make prefix=/usr
LOCAL_UNZIP='-D_FILE_OFFSET_BITS=64' linux 2>&1 > /dev/null
[EMAIL PROTECTED] unzip-5.52]# make prefix=/usr
LOCAL_UNZIP='-D_FILE_OFFSET_BITS=64' linux_shlib 2>&1 > /dev/null
[EMAIL PROTECTED] unzip-5.52]# make prefix=/usr install
mkdir -p /usr/bin
cp unzip funzip unzipsfx /usr/bin
cp unix/zipgrep /usr/bin
rm -f /usr/bin/zipinfo
ln /usr/bin/unzip /usr/bin/zipinfo
mkdir -p /usr/man/man1
cp man/funzip.1 /usr/man/man1/funzip.1
cp man/unzip.1 /usr/man/man1/unzip.1
cp man/unzipsfx.1 /usr/man/man1/unzipsfx.1
cp man/zipgrep.1 /usr/man/man1/zipgrep.1
cp man/zipinfo.1 /usr/man/man1/zipinfo.1
chmod 755 /usr/bin/funzip /usr/bin/unzip /usr/bin/unzipsfx
/usr/bin/zipgrep /usr/bin/zipinfo
chmod 644 /usr/man/man1/funzip.1 /usr/man/man1/unzip.1
/usr/man/man1/unzipsfx.1 /usr/man/man1/zipgrep.1 /usr/man/man1/zipinfo.1
[EMAIL PROTECTED] unzip-5.52]# cp libunzip.so* /usr/lib
[EMAIL PROTECTED] unzip-5.52]# chmod 755 /usr/lib/libunzip.so*
[EMAIL PROTECTED] unzip-5.52]# ldconfig
[EMAIL PROTECTED] unzip-5.52]# which unzip
/usr/bin/unzip
[EMAIL PROTECTED] unzip-5.52]# unzip /media/windows/test2.zip
Archive: /media/windows/test2.zip
inflating: cat.exe
inflating: chmod.exe
inflating: chown.exe
inflating: bzip2.exe
[EMAIL PROTECTED] unzip-5.52]#
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page