Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError: undefined method `undent' for #<String:0x00007ffd34adbb30> #34

Open
andreslavariega opened this issue Apr 2, 2019 · 2 comments

Comments

@andreslavariega
Copy link

when I type "brew install asterisk" I have this problem

Error: An exception occurred within a child process:
NoMethodError: undefined method `undent 'for # <String: 0x00007ffd34adbb30>

@sosaucily
Copy link

You can get around this by using brew tap preetsethi/homebrew-asterisk instead.

See this PR: #29

@altanai
Copy link

altanai commented Aug 7, 2020

@sosaucily After untapping leedm and tapping preetsethi for asterisk , I see an error again

clang -o libasteriskssl.o -c libasteriskssl.c -MD -MT libasteriskssl.o -MF .libasteriskssl.o.d -MP -pthread -I/private/tmp/asterisk-20200807-67387-1uevzed/asterisk-15.1.5/include -fno-strict-aliasing   -I/usr/local/Cellar/libxml2/2.9.10_1/include/libxml2 -DBIND_8_COMPAT -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Wno-unknown-warning-option -fblocks -g3  -D__Darwin__ -O3 -fPIC -DAST_MODULE=\"asteriskssl\" -DAST_NOT_MODULE   -Wno-unused-value -Wno-parentheses-equality -Wno-self-assign 
clang  -o libasteriskssl.dylib -pthread   -L/usr/local/lib -Wl,-rpath,/usr/local/Cellar/asterisk/15.1.5/lib -dynamiclib -install_name /usr/local/Cellar/asterisk/15.1.5/lib/libasteriskssl.dylib -Wl,-dylib -Wl,-undefined,dynamic_lookup   libasteriskssl.o  -lssl -lcrypto
make: *** [res] Error 2
make: *** Waiting for unfinished jobs....
clang++  -o asterisk -Wl,-undefined,dynamic_lookup -force_flat_namespace   -L/usr/local/lib -Wl,-rpath,/usr/local/Cellar/asterisk/15.1.5/lib  abstract_jb.o acl.o adsi.o alaw.o alertpipe.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o astobj2_container.o astobj2_hash.o astobj2_rbtree.o audiohook.o autochan.o autoservice.o backtrace.o bridge.o bridge_after.o bridge_basic.o bridge_channel.o bridge_roles.o bucket.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o codec.o codec_builtin.o config.o config_options.o conversions.o core_local.o core_unreal.o crypt.o datastore.o db.o devicestate.o dial.o dns.o dns_core.o dns_naptr.o dns_query_set.o dns_recurring.o dns_srv.o dns_system_resolver.o dns_test.o dns_tlsa.o dnsmgr.o dsp.o endpoints.o enum.o event.o features.o features_config.o file.o fixedjitterbuf.o format.o format_cache.o format_cap.o format_compatibility.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o iostream.o jitterbuf.o json.o libasteriskpj.o loader.o lock.o logger.o manager.o manager_bridges.o manager_channels.o manager_endpoints.o manager_mwi.o manager_system.o max_forwards.o md5.o media_cache.o media_index.o message.o mixmonitor.o named_acl.o named_locks.o netsock.o netsock2.o optional_api.o parking.o pbx.o pbx_app.o pbx_builtins.o pbx_functions.o pbx_hangup_handler.o pbx_ignorepat.o pbx_include.o pbx_sw.o pbx_switch.o pbx_timing.o pbx_variables.o pickup.o plc.o poll.o presencestate.o privacy.o rtp_engine.o say.o sched.o sdp.o sdp_options.o sdp_srtp.o sdp_state.o sdp_translator.o security_events.o sem.o sha1.o sip_api.o slinfactory.o smoother.o sorcery.o sounds_index.o srv.o stasis.o stasis_bridges.o stasis_cache.o stasis_cache_pattern.o stasis_channels.o stasis_endpoints.o stasis_message.o stasis_message_router.o stasis_system.o stdtime/localtime.o strcompat.o stream.o stringfields.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadpool.o threadstorage.o timing.o translate.o udptl.o ulaw.o uri.o utils.o uuid.o version.o xml.o xmldoc.o -L. -lasteriskssl   buildinfo.o -lc  -L/usr/local/Cellar/libxml2/2.9.10_1/lib -lxml2 -lz -lpthread -liconv -lm -lxslt -L/usr/local/Cellar/libxml2/2.9.10_1/lib -lxml2 -lz -lpthread -liconv -lm -lsqlite3  -lssl -lcrypto -ljansson        -ltermcap  -lm -lresolv  -ledit

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/preetsethi/homebrew-asterisk/issues

Any suggestions ???

Im using Catalina v10.15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants