Hi All, First of all, Thanks David for your hellping, now I could compile and install Asterisk without the errors I got before.
But now I when try to start asterisk on Mac OS X Mavericks, take a look below, I got this error, anyone have a clue of what to do to fix it? Thanks in Advance maruen@Mehanas-Mac~/Local/libpri-1.4.14$ sudo asterisk Password: Mac OS X detected. Use 'launchctl load /Library/LaunchDaemon/org.asterisk.asterisk.plist'. [Feb 28 11:47:29] *NOTICE*[1287]: *cdr.c*:*4100* *cdr_toggle_runtime_options*: CDR simple logging enabled. [Feb 28 11:47:29] *NOTICE*[1287]: *loader.c*:*1323* *load_modules*: 258 modules will be loaded. [Feb 28 11:47:32] *NOTICE*[1287]: *res_smdi.c*:*1437* *load_module*: No SMDI interfaces are available to listen on, not starting SMDI listener. [Feb 28 11:47:32] *ERROR*[1287]: *ari/config.c*:*294* *process_config*: No configured users for ARI [Feb 28 11:47:33] *NOTICE*[1287]: *config.c*:*2405* *ast_config_engine_register*: Registered Config Engine curl [Feb 28 11:47:33] *NOTICE*[1287]: *res_config_ldap.c*:*1710* *parse_config*: No directory user found, anonymous binding as default. [Feb 28 11:47:33] *ERROR*[1287]: *res_config_ldap.c*:*1736* *parse_config*: No directory URL or host found. [Feb 28 11:47:33] *ERROR*[1287]: *res_config_ldap.c*:*1613* *load_module*: Cannot load LDAP RealTime driver. [Feb 28 11:47:33] *NOTICE*[1287]: *config.c*:*2405* *ast_config_engine_register*: Registered Config Engine sqlite3 [Feb 28 11:47:34] *NOTICE*[1287]: *chan_skinny.c*:*8435* *config_load*: Configuring skinny from skinny.conf [Feb 28 11:47:34] *ERROR*[21251]: *chan_iax2.c*:*9260* *timing_read*: Timer failed acknowledge Assertion failed: (mod_evsub.mod.id != -1), function pjsip_evsub_register_pkg, file ../src/pjsip-simple/evsub.c, line 415. -- *Maruen Mehana Mobile: +55 (011) 98438.8499 * *São Paulo - SP / BrasilThe way of the righteous is like the first gleam of dawn,which shines ever brighter until the full light of day. - Proverbs 4:18* On Thu, Feb 27, 2014 at 3:55 PM, David M. Lee <[email protected]> wrote: > Asterisk requires GCC to build properly. The most recent version of Xcode > symlinks gcc to Clang’s compiler. Which is… unfortunate. > > I install GCC myself (gcc-4.8 for 12 and trunk; gcc-4.2 for 11 and > earlier) for compiling Asterisk on OS X. Both are easily installed via > Homebrew (brew install apple-gcc42 gcc48), and work fine for me. > > You select the compiler by setting CC and CXX in the environment when you > invoke configure: > > CC=gcc-4.2 CXX=g++-4.2 ./configure > > If you just want Asterisk installed on OS X, I have a Homebrew tap that > works for me, but it hasn’t gotten a lot of mileage beyond that. That might > work for you. And I’ll happily accept any pull requests that improve the > tap. > > https://github.com/leedm777/homebrew-asterisk > > Good luck! > > -- > David M. Lee > Digium, Inc. | Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA > Check us out at: www.digium.com & www.asterisk.org > > On Feb 27, 2014, at 12:36 PM, Maruen Mehana <[email protected]> wrote: > > Hi all, > Does anyone could get asterisk work in Mac OS X Mavericks? > When I try to install it and compile the source I got the following error: > > * [CC] astcanary.c -> astcanary.o* > > *clang: warning: argument unused during compilation: '-fnested-functions'* > > *error: invalid value '6' in '-O6'* > > *make[1]: *** [astcanary.o] Error 1* > > *make: *** [utils] Error 2* > > *maruen@Mehanas-Mac~/Local/asterisk-11.7.0$ * > > Does anyone can help me to solve this issue? > > Thanks > > > -- > > > > *Maruen Mehana Mobile: +55 (011) 98438.8499 * > > > > > *São Paulo - SP / Brasil The way of the righteous is like the first gleam > of dawn,which shines ever brighter until the full light of day. - Proverbs > 4:18* > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-dev mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-dev mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
