[asterisk-bugs] [Asterisk 0012199]: configure script flaw on Solaris 10 (and maybe others)

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Mar 17 14:32:20 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12199 
====================================================================== 
Reported By:                dmartin
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12199
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 105677 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-12-2008 16:09 CDT
Last Modified:              03-17-2008 14:32 CDT
====================================================================== 
Summary:                    configure script flaw on Solaris 10 (and maybe
others)
Description: 
Solaris 10's "id" program doesn't understand GNU parameters as used in
several Makefiles. "gid" (GNU id) from CSW  does, so it would be better to
use it instead of system's "id". A result of this is that "core show
version" doesn't report that information:

sun01*CLI> core show version 
Asterisk SVN-trunk-r105677M built by  @ sun01 on a sun4u running SunOS on
2008-03-03 17:16:09 UTC



====================================================================== 

---------------------------------------------------------------------- 
 dmartin - 03-17-08 14:32  
---------------------------------------------------------------------- 
Yes, gid is in my path, and just tried with a fresh svn checkout

.....
Updated to revision 109224.
sun01:~/asterisk-trunk$ which gid
/opt/csw/bin/gid
sun01:~/asterisk-trunk$ ./configure 
......
sun01:~/asterisk-trunk$ gmake
/usr/bin/id: illegal option -- u
Usage: id [-ap] [user]
....
sun01:~/asterisk-trunk$ cat makeopts
....
ID=/usr/bin/id
....

seems that the configure script doesn't care so much about "id" when
creating makeopts. build_tools/make_build_h does, as you said, but ${ID}
defined in makeopts is wrong. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-17-08 14:32  dmartin        Note Added: 0084087                          
======================================================================




More information about the asterisk-bugs mailing list