I have not so much experience with autoconf, but I'll try later, after I verify that module is built correctly and works.<br><br>There is also some strange thing with top-level Makefile in latest versions of both ptlib and opal. For some reason it re-runs configure on make and seems to do this incorrectly, without actually launching configure with previously set configure args.<br>
Maybe this effect is present only on my system, I don't know.<br><br><div class="gmail_quote">2012/12/11 Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you modify the script, verify that it works for you, then open a jira as a patch and attach your diff file? That would make our lives much easier...<br>
<br>Thanks,<br>MC<div><div class="h5"><br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 10:55 AM, Dmitry Sytchev <span dir="ltr"><<a href="mailto:kbdfck@gmail.com" target="_blank">kbdfck@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There is some error in configure script maybe<br>It creates /lib/ptbuildopts.h (!) instead of ./include/ptbuildopts.h, so defines don't get their values and build fails.<br>
<br>I'm now trying to get these ptlib / opal to work in order to build mod_opal<br>
<br><div class="gmail_quote">2012/11/10 Phil Quesinberry <span dir="ltr"><<a href="mailto:philq@qsystemsengineering.com" target="_blank">philq@qsystemsengineering.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
<p dir="LTR"><span lang="en-us"><font face="Calibri">I</font></span><span lang="en-us"><font face="Calibri">’</font></span><span lang="en-us"><font face="Calibri">m trying to compile mod_opal here but</font></span><span lang="en-us"> <font face="Calibri">I</font></span><span lang="en-us"> <font face="Calibri">can</font></span><span lang="en-us"><font face="Calibri">’</font></span><span lang="en-us"><font face="Calibri">t get it</font></span><span lang="en-us"> <font face="Calibri">to work</font></span><span lang="en-us"><font face="Calibri">. I</font></span><span lang="en-us"><font face="Calibri">’</font></span><span lang="en-us"><font face="Calibri">ve tried the buildopal.sh script, the manual install,</font></span><span lang="en-us"> <font face="Calibri">sacrificial offerings, etc. to no avail.</font></span><span lang="en-us"><font face="Calibri"> I was getting an error about PTLib being too old, so I grabbed</font></span><span lang="en-us"> <font face="Calibri">PTLib 2.10.7</font></span><span lang="en-us"><font face="Calibri"> source</font></span><span lang="en-us"><font face="Calibri"> here:</font></span></p>
<p dir="LTR"><span lang="en-us"></span><a href="http://www.linuxfromscratch.org/blfs/view/svn/general/ptlib.html" target="_blank"><span lang="en-us"><u><font color="#0000FF" face="Calibri">http://www.linuxfromscratch.org/blfs/view/svn/general/ptlib.html</font></u></span><span lang="en-us"></span></a><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Trying to compile</font></span><span lang="en-us"><font face="Calibri"> it,</font></span><span lang="en-us"> <font face="Calibri">I get</font></span><span lang="en-us"> <font face="Calibri">a</font></span><span lang="en-us"> <font face="Calibri">“</font></span><span lang="en-us"><font face="Calibri">No operating system selected</font></span><span lang="en-us"><font face="Calibri">”</font></span><span lang="en-us"><font face="Calibri"></font></span><span lang="en-us"> <font face="Calibri">error</font></span><span lang="en-us"><font face="Calibri">. I</font></span><span lang="en-us"><font face="Calibri">’</font></span><span lang="en-us"><font face="Calibri">ve pasted in the make attempt below</font></span><span lang="en-us"><font face="Calibri">,</font></span><span lang="en-us"><font face="Calibri"></font></span><span lang="en-us"> <font face="Calibri">Distro is CentOS 5.8.</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">It looks like a lot</font></span><span lang="en-us"><font face="Calibri"> of other folks</font></span><span lang="en-us"> <font face="Calibri">have had/</font></span><span lang="en-us"><font face="Calibri">are having problems with mod_opal and ptlib, but I</font></span><span lang="en-us"><font face="Calibri">’</font></span><span lang="en-us"><font face="Calibri">m not seeing much in the way of solutions.</font></span><span lang="en-us"> <font face="Calibri"></font></span><span lang="en-us"> <font face="Calibri">Has anyone else gotten past this problem</font></span><span lang="en-us"><font face="Calibri">? Any pointers? (no pun intended)</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">[root@Tyrion ptlib]# make</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Setting default PTLIBDIR to /root/ptlib</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[1]: Entering directory `/root/ptlib'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[2]: Entering directory `/root/ptlib'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[3]: Entering directory `/root/ptlib'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[3]: Leaving directory `/root/ptlib'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[2]: Leaving directory `/root/ptlib'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">set -e; if test -d /root/ptlib/src ; then make -C /root/ptlib/src optshared; fi; if test -d /root/ptlib/plugins ; then make -C/root/ptlib/plugins optshared; fi;</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[2]: Entering directory `/root/ptlib/src'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[3]: Entering directory `/root/ptlib/src'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">[CC] ptclib/psasl.cxx</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">In file included from /root/ptlib/include/ptlib/object.h:44,</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> from /root/ptlib/include/ptlib.h:47,</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> from ptclib/psasl.cxx:35:</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/unix/ptlib/platform.h:555:2: error: #error No operating system selected.</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/mutex.h:109: error: âPThreadIdentifierâ does not name a type</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/thread.h:292: error: âPThreadIdentifierâ does not name a type</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/thread.h:293: error: âPThreadIdentifierâ does not name a type</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/thread.h:403: error: âPThreadIdentifierâ does not name a type</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/syncthrd.h:326: error: âPThreadIdentifierâ was not declared in this scope</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/syncthrd.h:326: error: template argument 1 is invalid</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/syncthrd.h:326: error: template argument 3 is invalid</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptlib/syncthrd.h:326: error: template argument 4 is invalid</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">/root/ptlib/include/ptclib/cypher.h:382: error: âPUInt32lâ does not name a type</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[3]: *** [/root/ptlib/lib_linux_x86_64/obj/psasl.o] Error 1</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[3]: Leaving directory `/root/ptlib/src'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[2]: *** [optshared] Error 2</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[2]: Leaving directory `/root/ptlib/src'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[1]: *** [optshared] Error 2</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make[1]: Leaving directory `/root/ptlib'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">make: *** [default] Error 2</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Many t</font></span><span lang="en-us"><font face="Calibri">hanks,</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><i></i></span><span lang="en-us"><i></i></span><i><span lang="en-us"></span></i><i><span lang="en-us"><font face="Times New Roman">Phil Quesinberry</font></span></i><span lang="en-us"></span><span lang="en-us"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">Q Systems Engineering, Inc.</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">Electronic Controls and Embedded Systems Development</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial"><a href="tel:%28410%29%20969-8002" value="+14109698002" target="_blank">(410) 969-8002</a></font></span></p>
<p dir="LTR"><span lang="en-us"></span><a href="http://www.qsystemsengineering.com" target="_blank"><span lang="en-us"></span><span lang="en-us"><u></u></span><u><span lang="en-us"></span></u><u><span lang="en-us"><font color="#0000FF" face="Arial">http://www.qsystemsengineering.com</font></span></u><span lang="en-us"></span></a><span lang="en-us"></span><span lang="en-us"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>