Issue 4502 - use 'gstrip' instead of 'strip' on mashines with gcc
Summary: use 'gstrip' instead of 'strip' on mashines with gcc
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 09:01 UTC by andreas.bohne-lang@zmf.ma.uni-heidelberg.de
Modified: 2020-04-18 20:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description andreas.bohne-lang@zmf.ma.uni-heidelberg.de 2006-04-25 09:01:03 UTC
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

Comment 1 Kurt Zeilenga 2006-04-25 14:42:39 UTC
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

Comment 2 Kurt Zeilenga 2006-04-25 15:13:45 UTC
changed notes
changed state Open to Closed
Comment 3 Hallvard Furuseth 2006-04-25 15:53:33 UTC
Kurt@OpenLDAP.org writes:
> Otherwise, I suggest you simply fix your environment/system
> so that the proper strip(1) is used by shtool.

With environment variables, I believe that is
  env ac_cv_prog_STRIP=gstrip ac_cv_prog_AR=gar ./configure

-- 
Hallvard

Comment 4 Kurt Zeilenga 2006-04-25 16:13:48 UTC
At 08:53 AM 4/25/2006, h.b.furuseth@usit.uio.no wrote:
>Kurt@OpenLDAP.org writes:
>> Otherwise, I suggest you simply fix your environment/system
>> so that the proper strip(1) is used by shtool.
>
>With environment variables, I believe that is
>  env ac_cv_prog_STRIP=gstrip ac_cv_prog_AR=gar ./configure


since we use shtool's install, ac_cv_prog_STRIP has no impact.

Kurt 

Comment 5 Howard Chu 2009-02-17 06:41:49 UTC
moved from Incoming to Archive.Incoming
Comment 6 OpenLDAP project 2014-08-01 21:05:59 UTC
not a bug in OpenLDAP