sebastiw / edts

Erlang Development Tool Suite
GNU Lesser General Public License v3.0
355 stars 82 forks source link

edts compile failed on R19 #222

Closed slepher closed 3 years ago

slepher commented 8 years ago
src/edts_eunit_listener.erl:none: error in parse transform 'lager_transform': {function_clause,
                                             [{lager_transform,
                                               '-walk_ast/2-fun-0-',
                                               [{typed_record_field,
                                                 {record_field,49,
                                                  {atom,49,parent}},
                                                 {type,49,pid,[]}}],

see basho/lager/issues/357

please use lager version 2.2.3 instead of 2.0.3

plund commented 7 years ago

Also I had problems with OTP 19. Found same error as above but also this one below. webmachine_request, line 645 Boundary = mochihex:to_hex(crypto:strong_rand_bytes(8)), %%rand_bytes

I had to replace rand_bytes with strong_rand_bytes to get it to compile...

sebastiw commented 7 years ago

PR exists now #227

SebCav commented 3 years ago

Hi, the PR seems closed but make on OTP19 is still not working. I don't think this error is related to previous ones though:

12:08:00|seba@archanoid:~/src/edts (master)$ make
===> Verifying dependencies...
===> Fetching mochiweb v2.20.1
===> Analyzing applications...
===> Compiling mochiweb
===> Analyzing applications...
===> Compiling edts
===> Compiling lib/edts/src/edts_cmd.erl failed
lib/edts/src/edts_cmd.erl:35: can't find include lib "kernel/include/logger.hrl"; Make sure kernel is in your app file's 'applications' list
lib/edts/src/edts_cmd.erl:72: undefined macro 'LOG_DEBUG/2'

lib/edts/src/edts_cmd.erl:59: function do_execute/2 undefined

make: *** [Makefile:23: compile] Error 1
sebastiw commented 3 years ago

It's not, please open a new issue. I accidentally removed support for older OTP-versions in a previous release.