[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4502) use 'gstrip' instead of 'strip' on mashines with gcc



OpenLDAP uses shtool to install executables.  It relies
on strip(1).  This is generally fine (regardless of whether
the system has gcc or not, gstrip or not).

Anyways, if you think libtool should use gstrip, I suggest
you take it up with the shtool developers.  I see no reason
to hack our version of shtool to do so.

Otherwise, I suggest you simply fix your environment/system
so that the proper strip(1) is used by shtool.

Kurt

At 02:01 AM 4/25/2006, andreas.bohne-lang@zmf.ma.uni-heidelberg.de wrote:
>Full_Name: Andreas Bohne
>Version: 2.3.20
>OS: SunOS sisis-x 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V240
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (134.155.44.4)
>
>
>While installing the openldap the strip comand is not found. While using gcc you
>should test on 'gstrip' and 'gar' (instead of ar). 
>
>make[2]: Entering directory
>`/sisis/LDAP/fromScratch/openldap/openldap-2.3.20/clients/tools'
>../../build/shtool mkdir -p /tmp/openldap/bin
>../../build/shtool install -c -m 755 -s ldapsearch /tmp/openldap/bin/ldapsearch
>../../build/shtool: strip: nicht gefunden
>../../build/shtool install -c -m 755 -s ldapmodify /tmp/openldap/bin/ldapmodify
>../../build/shtool: strip: nicht gefunden
>../../build/shtool install -c -m 755 -s ldapdelete /tmp/openldap/bin/ldapdelete
>../../build/shtool: strip: nicht gefunden
>../../build/shtool install -c -m 755 -s ldapmodrdn /tmp/openldap/bin/ldapmodrdn
>../../build/shtool: strip: nicht gefunden
>../../build/shtool install -c -m 755 -s ldappasswd /tmp/openldap/bin/ldappasswd
>../../build/shtool: strip: nicht gefunden
>../../build/shtool install -c -m 755 -s ldapwhoami /tmp/openldap/bin/ldapwhoami
>../../build/shtool: strip: nicht gefunden
>../../build/shtool install -c -m 755 -s ldapcompare
>/tmp/openldap/bin/ldapcompare
>../../build/shtool: strip: nicht gefunden
>make[2]: *** [install-local] Error 1
>make[2]: Leaving directory
>`/sisis/LDAP/fromScratch/openldap/openldap-2.3.20/clients/tools'
>make[1]: *** [install-common] Error 1
>make[1]: Leaving directory
>`/sisis/LDAP/fromScratch/openldap/openldap-2.3.20/clients'
>make: *** [install-common] Error 1
>sisis@sisis-x:/sisis/LDAP/fromScratch/openldap $ strip
>-bash: strip: command not found