May i suggest <a href="http://nsis.sourceforge.net/">http://nsis.sourceforge.net/</a> as a good windows (open source) installer.<br><br>Juggie/Donny<br><br><div class="gmail_quote">On Nov 20, 2007 1:23 PM, Zoa <<a href="mailto:zoachien@securax.org">
zoachien@securax.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Cool, i'll help out a bit with the windows port, i will start right
<br>away with a new project on asteriskguru making nightly executable builds<br>and installers - will post the links in -users when i'm done.<br><br>Well done luigi, this will make it a lot easier for a lot of non linux
<br>guys to make their first steps in the asterisk world<br><br>Crossposted to -users.<br><font color="#888888"><br>Zoa<br></font><div><div></div><div class="Wj3C7c"><br>Luigi Rizzo wrote:<br>> As a result of the commit below, now trunk can be built and run under
<br>> Windows/cygwin, including the building of modules.<br>><br>> Haven't checked yet the functionality - some modules surely cause<br>> ill side effects or deadlocks on exit, so you need to play a bit<br>
> with modules.conf .<br>> If you want to play with a very minimal version the following does something:<br>><br>> ; -- modules.conf<br>> [modules]<br>> autoload=no<br>> load => res_monitor.so
<br>> load => res_features.so<br>> load => chan_sip.so<br>><br>> Unfortunately, loading other modules is a bit critical and depending<br>> on the order or the timing you get crashes etc.<br>
><br>> To build trunk under windows/cygwin you need at least the following pieces:<br>><br>> bash<br>> binutils<br>> curl<br>> gcc<br>> libiconv<br>> minires (resolver library)
<br>> libdb4.3 (probably db4.2 too)<br>><br>> and a bit of patience because the build takes around 15min or more.<br>><br>> cheers<br>> luigi<br>><br>> On Tue, Nov 20, 2007 at 04:12:11PM -0000, SVN commits to the Asterisk project wrote:
<br>><br>>> Author: rizzo<br>>> Date: Tue Nov 20 10:12:10 2007<br>>> New Revision: 89454<br>>><br>>> URL: <a href="http://svn.digium.com/view/asterisk?view=rev&rev=89454" target="_blank">
http://svn.digium.com/view/asterisk?view=rev&rev=89454</a><br>>> Log:<br>>> Fix building of modules under cygwin.<br>>><br>>> After this commit we can actually load modules under windows,<br>>> and we can start debugging more interesting problems related
<br>>> to the load order and functionality of modules.<br>>><br>>><br>>> Modified:<br>>> trunk/Makefile.moddir_rules<br>>> trunk/apps/Makefile<br>>> trunk/channels/Makefile
<br>>> trunk/pbx/Makefile<br>>> trunk/res/Makefile<br>>><br>>> Modified: trunk/Makefile.moddir_rules<br>>> URL: <a href="http://svn.digium.com/view/asterisk/trunk/Makefile.moddir_rules?view=diff&rev=89454&r1=89453&r2=89454" target="_blank">
http://svn.digium.com/view/asterisk/trunk/Makefile.moddir_rules?view=diff&rev=89454&r1=89453&r2=89454</a><br>>> ==============================================================================<br>>> --- trunk/Makefile.moddir_rules (original)
<br>>> +++ trunk/Makefile.moddir_rules Tue Nov 20 10:12:10 2007<br>>> @@ -66,9 +66,8 @@<br>>> ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)<br>>> # linker options and extra libraries for cygwin
<br>>> SOLINK=-Wl,--out-implib=lib$@.a -shared<br>>> - LIBS+=-L../main -lasterisk -L../res<br>>> + LIBS+=-L../main -lasterisk -L../res $($@_LIBS)<br>>> # additional libraries in res/<br>>> - LIBS_RES:= -lres_monitor -lres_adsi -lres_features
<br>>> endif<br>>> endif<br>>><br>>><br>>> Modified: trunk/apps/Makefile<br>>> URL: <a href="http://svn.digium.com/view/asterisk/trunk/apps/Makefile?view=diff&rev=89454&r1=89453&r2=89454" target="_blank">
http://svn.digium.com/view/asterisk/trunk/apps/Makefile?view=diff&rev=89454&r1=89453&r2=89454</a><br>>> ==============================================================================<br>>> --- trunk/apps/Makefile (original)
<br>>> +++ trunk/apps/Makefile Tue Nov 20 10:12:10 2007<br>>> @@ -39,3 +39,9 @@<br>>> all: _all<br>>><br>>> include $(ASTTOPDIR)/Makefile.moddir_rules<br>>> +<br>>> +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
<br>>> + LIBS+= -lres_features.so -lres_ael_share.so -lres_monitor.so -lres_speech.so<br>>> + LIBS+= -lres_smdi.so<br>>> +endif<br>>> +<br>>><br>>> Modified: trunk/channels/Makefile<br>
>> URL: <a href="http://svn.digium.com/view/asterisk/trunk/channels/Makefile?view=diff&rev=89454&r1=89453&r2=89454" target="_blank">http://svn.digium.com/view/asterisk/trunk/channels/Makefile?view=diff&rev=89454&r1=89453&r2=89454
</a><br>>> ==============================================================================<br>>> --- trunk/channels/Makefile (original)<br>>> +++ trunk/channels/Makefile Tue Nov 20 10:12:10 2007<br>>> @@ -64,6 +64,10 @@
<br>>><br>>> include $(ASTTOPDIR)/Makefile.moddir_rules<br>>><br>>> +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)<br>>> + LIBS+= -lres_monitor.so -lres_features.so<br>>> +endif<br>
>> +<br>>> clean::<br>>> rm -f gentone<br>>> $(MAKE) -C misdn clean<br>>><br>>> Modified: trunk/pbx/Makefile<br>>> URL: <a href="http://svn.digium.com/view/asterisk/trunk/pbx/Makefile?view=diff&rev=89454&r1=89453&r2=89454" target="_blank">
http://svn.digium.com/view/asterisk/trunk/pbx/Makefile?view=diff&rev=89454&r1=89453&r2=89454</a><br>>> ==============================================================================<br>>> --- trunk/pbx/Makefile (original)
<br>>> +++ trunk/pbx/Makefile Tue Nov 20 10:12:10 2007<br>>> @@ -25,6 +25,10 @@<br>>><br>>> include $(ASTTOPDIR)/Makefile.moddir_rules<br>>><br>>> +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
<br>>> + LIBS+= -lres_ael_share.so -lres_monitor.so<br>>> +endif<br>>> +<br>>> clean::<br>>> rm -f ael/*.o<br>>><br>>><br>>> Modified: trunk/res/Makefile<br>>> URL:
<a href="http://svn.digium.com/view/asterisk/trunk/res/Makefile?view=diff&rev=89454&r1=89453&r2=89454" target="_blank">http://svn.digium.com/view/asterisk/trunk/res/Makefile?view=diff&rev=89454&r1=89453&r2=89454
</a><br>>> ==============================================================================<br>>> --- trunk/res/Makefile (original)<br>>> +++ trunk/res/Makefile Tue Nov 20 10:12:10 2007<br>>> @@ -25,6 +25,13 @@
<br>>><br>>> include $(ASTTOPDIR)/Makefile.moddir_rules<br>>><br>>> +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)<br>>> + # order-only dependency: build res_monitor before res_features
<br>>> + res_features.so: | res_monitor.so<br>>> + # res_features uses some functions from res_monitor<br>>> + res_features.so_LIBS:= -lres_monitor.so<br>>> +endif<br>>> +<br>>> ael/ael_lex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h
<br>>> ael/ael_lex.o: ASTCFLAGS+=-I. -Iael<br>>><br>>><br>>><br>>> _______________________________________________<br>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">
http://www.api-digital.com--</a><br>>><br>>> asterisk-commits mailing list<br>>> To UNSUBSCRIBE or update options visit:<br>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-commits" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-commits</a><br>>><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">
http://www.api-digital.com--</a><br>><br>> asterisk-dev mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br>><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-dev mailing list
<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></div></div></blockquote></div>
<br>