<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-IE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi RR,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Replies inline below<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>RR<br><b>Sent:</b> 04 December 2010 01:17<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] Zaptel / Asterisk on Solaris<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Wed, Dec 1, 2010 at 3:58 PM, RR &lt;<a href="mailto:ranjtech@gmail.com">ranjtech@gmail.com</a>&gt; wrote:<o:p></o:p></p><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Zaptel package isn't installing though ...crashes midway complaining that:</span><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><em><span style='font-family:"Tahoma","sans-serif"'>&quot;Operating environment requirement not met.</span></em><i><span style='font-family:"Tahoma","sans-serif"'><br><em><span style='font-family:"Tahoma","sans-serif"'>This package requires Solaris 7 or better.</span></em><br><em><span style='font-family:"Tahoma","sans-serif"'>checkinstall script suspends&quot;</span></em></span></i><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>huh? I'm running 5.11, which according to some rigorous mathematical calculations, I concluded IS better than v5.7. Unfortunately, I've been away from the development world so long that I can't remember where to go about hacking a &quot;package&quot; and extract the scripts etc to change the logic or fix whatever is causing it to believe that my OS isn't meeting the min. req. </span><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Lastly, w.r.t to running it within a VM, yes, I do understand the timing problems etc, but this exercise is just to document how to compile Asterisk/Zaptel under Solaris 10/11 so when I do get a real Solaris machine, I have already sorted out all the issues with installing/compiling etc </span><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Thanks</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>\R</span><o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>As of this writing, I have recreated my Solaris VM with the latest Solaris 10 U9 version and have managed to install and load the zaptel driver. This is from the SolarisVoIP but it must be a really old (haven't checked the version yet). Now, trying to go crazy here and compile the stock Asterisk 1.6.2.14 with it. <o:p></o:p></p></div><div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I suspected it would have been changes/differences between OpenSolaris and Solaris. The packages at SolarisVoIP were built on the standard Solaris OS, as you found out </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Try to compile version 1.6.2.15-rc1 as I had issues with a &#8220;timersub&#8221; routine on 1.6.2.14 that appears to have been fixed in 1.6.2.15-rc1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal>Question for the Digium dev team (if they bother reading emails from lowlifes like me): Are their special optimizations/options/conditions/checks ALREADY&nbsp;in place within the makefile/configure files that detect Solaris and if we want to go really crazy then detect 64-bit Solaris? Do I just fix my library paths with the LDFLAGS and just run configure or should I be doing something more, modifying makefile, makefile.rules, makefile.opts or the configure script itself??<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The makefile already has some options specific to Solaris, however, I usually edit the makefile to include /usr/sfw which is where the standard ssl etc libraries are located on Solaris. The default makefile looks for them in /usr/local. If you also want to keep your application in the /opt tree then you will need to modify the installation path as well. I seem to recall an issue with ncurses or tr or something along those lines which made me include /usr/xpg4/bin in the beginning of my PATH so that it found the proper tool in one of the scripts. Other than that it should build cleanly on Solaris. With regards the 64-bit build, I&#8217;ve not tried it yet, but bear in mind that the 64-bit libraries for the likes of ogg/vorbis are not there by default in Solaris, most of the other standard asterisk library requirements are, you should, in theory only have to export &lt;libdir&gt;/64 to link in the 64 bit libraries. I&#8217;ve not tried to build a 664-bit version yet so I&#8217;m shooting in the dark here.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal>Wonder why no one responds to emails related to Solaris on Asterisk...even a search throughout the forum on the Digium website, hardly anything comes up regarding Solaris :(<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think historically the dev&#8217;s have not had access to a standard Solaris box for dev/testing, it has mainly been on OpenSolaris, which as you have found out, is, in some cases, different, in the details, to the standard Solaris operating system. However, in saying that, they do have access to Solaris build environments now, and are making plans to include it in the development cycle of the application. Give it time man, and try to help the other guys/gals from your own experience, and we should eventually get there in the end </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal>Can the developers PLEASE help?<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>Thanks so much in advance,<o:p></o:p></p></div><div><p class=MsoNormal>\RR<o:p></o:p></p></div></div></div></body></html>