This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libgcj/2746: Bundled zip overvrites higher versioned zip in /usr/local/bin/zip
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libgcj/2746: Bundled zip overvrites higher versioned zip in /usr/local/bin/zip
- From: mtodorov at alu dot hr
- Date: 5 May 2001 13:20:05 -0000
- Reply-To: mtodorov at alu dot hr
>Number: 2746
>Category: libgcj
>Synopsis: Bundled zip overvrites higher versioned zip in /usr/local/bin/zip
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: mistaken
>Submitter-Id: net
>Arrival-Date: Sat May 05 06:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: mtodorov@alu.hr
>Release: 2.95.1
>Organization:
>Environment:
alpha-dec-osf4.0b
GCC 2.95.3
GNU make
/usr/local/bin/zip higher version than bundled zip
>Description:
libgcj comes with bundled zip and builds it using this
zip regardless of zip already existing on system in
/usr/local/bin/zip that is a higher version.
Unfortunatelly, it also overwrote zip 2.3 which was
in /usr/local/bin/zip with bundled zip 2.1 which was
built with libgcj -- and this without asking.
This I would consider a non-elegant solution for
the problem, or a bug.
>How-To-Repeat:
gzip -cd libgcj-2.95.1 | tar xvf -
mkdir libgcj
cd libgcj
../libgcj-2.95.1/configure
gmake
gmake install
>Fix:
Try to check whether there are zip and zlib on the system
in ./configure script.
If there are no zip and/or zlib, or they are older version
than bundled packages, build bundled and install them.
If bundled packages are older versions, do not install them,
and choose whether to build with bundled or with what's
present on system.
If choice was made to use present on system packages,
test them in configure script for correct working, the
same as it is done with gcc complier in ./configure script.
>Release-Note:
>Audit-Trail:
>Unformatted: