[Home]

Summary:ASTERISK-11562: More Solaris 10 building issues
Reporter:dmartin (dmartin)Labels:
Date Opened:2008-03-03 10:24:25.000-0600Date Closed:2008-03-12 17:48:01
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:There are several easily fixable issues building on a Solaris 10 environment.

The first has a patch that has not been applied in current SVN tree (see bug ASTERISK-11340). Another is that "main/editline/Makefile" is generated to use "grep" (In Solaris, GNU grep used to be called "ggrep", it's automatically detected by the configure script), and it's better to replace by the correct macro (${GREP} or so) instead of using the generic name. And the same applies to "awk" and "sed" (that have their correspondent GNU "gawk" and "gsed"). Awk and sed didn't affect the building for me but it could for others.

Another issue is that while "gmake install" proccess it fails in every directory that has components to install (channels, res, apps,...) complaining that "there is no install-sh file". No idea on how to fix this. To save the day I linked install-sh from the root directory to every directory complaining.



****** ADDITIONAL INFORMATION ******

Using Solaris 10 (sparc64) w/ blastwave (CSW) repositories. Build went OK for all but the mentioned above.

Example of the "install-sh" issue:

Installing modules from channels...
Installing modules from pbx...
Installing modules from apps...
/bin/bash: ./install-sh: No such file or directory
/bin/bash: ./install-sh: No such file or directory
/bin/bash: ./install-sh: No such file or directory
/bin/bash: ./install-sh: No such file or directory
/bin/bash: ./install-sh: No such file or directory

(If I do ln -s install-sh apps/, it works fine.... but I think it's not the solution)


Comments:By: Jason Parker (jparker) 2008-03-03 10:29:05.000-0600

I don't know that install.sh has ever been tested.  Try installing the ginstall package from csw and re-running configure.

By: dmartin (dmartin) 2008-03-03 11:07:05.000-0600

I alredy had the install binary from Solaris, but I just installed the package containing ginstall (in csw the package is named fileutils). I'm tryng to build from scratch again.

By: dmartin (dmartin) 2008-03-03 11:47:31.000-0600

Seems that ginstall solved the 3rd issue, thanks

By: Jason Parker (jparker) 2008-03-03 11:59:25.000-0600

For the first issue, I think this can be closed without that being fixed, since there is already another issue open for that (as you mentioned).

As for the second issue, is it only main/editline/Makefile that appears to be giving you problems?

By: dmartin (dmartin) 2008-03-03 12:19:17.000-0600

Yes, it was in fact the only file I had to touch to make it build properly, so I assume no other Makefile or script is failing because this problem.

The immediate consequence of this bug is that the "gmake menuselect" print lots of errors about "grep syntax" the first time is runned (and the first time after a "make clean"). The process ends apparently without problem, but then there is no one menu options on the menuselect screen, no elements, no lists, nothing.

If I change main/editline/Makefile to use ggrep, it shows everything as usual, fine.

By: Digium Subversion (svnbot) 2008-03-07 16:10:56.000-0600

Repository: asterisk
Revision: 106842

U   branches/1.4/main/editline/Makefile.in

------------------------------------------------------------------------
r106842 | qwell | 2008-03-07 16:10:55 -0600 (Fri, 07 Mar 2008) | 5 lines

Fix hardcoded grep in editline, were GNU grep is required.

(closes issue ASTERISK-11562)
Reported by: dmartin

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

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

By: Digium Subversion (svnbot) 2008-03-07 16:11:33.000-0600

Repository: asterisk
Revision: 106843

_U  trunk/
U   trunk/main/editline/Makefile.in

------------------------------------------------------------------------
r106843 | qwell | 2008-03-07 16:11:32 -0600 (Fri, 07 Mar 2008) | 13 lines

Merged revisions 106842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106842 | qwell | 2008-03-07 16:14:45 -0600 (Fri, 07 Mar 2008) | 5 lines

Fix hardcoded grep in editline, were GNU grep is required.

(closes issue ASTERISK-11562)
Reported by: dmartin

........

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

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

By: Digium Subversion (svnbot) 2008-03-12 17:48:01

Repository: asterisk
Revision: 108352

_U  branches/1.6.0/
U   branches/1.6.0/main/editline/Makefile.in

------------------------------------------------------------------------
r108352 | russell | 2008-03-12 17:48:00 -0500 (Wed, 12 Mar 2008) | 21 lines

Merged revisions 106843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106843 | qwell | 2008-03-07 16:15:20 -0600 (Fri, 07 Mar 2008) | 13 lines

Merged revisions 106842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106842 | qwell | 2008-03-07 16:14:45 -0600 (Fri, 07 Mar 2008) | 5 lines

Fix hardcoded grep in editline, were GNU grep is required.

(closes issue ASTERISK-11562)
Reported by: dmartin

........

................

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

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