[Home]

Summary:ASTERISK-05626: "make install" fails on Solaris for 1.2.0
Reporter:slimey (slimey)Labels:
Date Opened:2005-11-17 02:58:08.000-0600Date Closed:2008-01-15 15:57:15.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Makefile.patch
Description:Yet another bashism, I think.

I've not done this from CVS, so can't do the usual "cvs diff".

In asterisk-1.2.0/Makefile, change the first line of the datafiles: (line 537) section to read:

       if [ x`whoami` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi


Also (minor tweak, as it doesn't stop make from working), in asterisk-1.2.0/apps/Makefile, change line 62 to read:

ifneq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ];

(change [[ to [ and ]] to ] )
Comments:By: BJ Weschke (bweschke) 2005-11-17 09:23:02.000-0600

I can confirm that this patch doesn't break a linux distro. If it fixes the problem on Solaris, it looks good. I will upload the patch in unified diff format for you.

By: Russell Bryant (russell) 2005-11-20 21:41:59.000-0600

fixed in cvs head and v1-2, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:57:14.000-0600

Repository: asterisk
Revision: 7164

U   trunk/ChangeLog
U   trunk/Makefile
U   trunk/apps/Makefile

------------------------------------------------------------------------
r7164 | russell | 2008-01-15 15:57:14 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5626

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7164

By: Digium Subversion (svnbot) 2008-01-15 15:57:15.000-0600

Repository: asterisk
Revision: 7165

U   branches/v1-2/ChangeLog
U   branches/v1-2/Makefile
U   branches/v1-2/apps/Makefile

------------------------------------------------------------------------
r7165 | russell | 2008-01-15 15:57:15 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5626

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7165