Opened 12 years ago

Last modified 12 years ago

#37841 new defect

ecb: ECB can only be used with cedet [1.0pre6, 1.0.9]!

Reported by: bluetux@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: ecb

Description (last modified by ryandesign (Ryan Carsten Schmidt))

when i try to install ecb, i can't install and got this message..

port install ecb
--->  Computing dependencies for ecb
--->  Building ecb
Error: org.macports.build for port ecb returned: command execution failed
Please see the log file for port ecb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_ecb/ecb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ecb failed
sh-3.2#

Attachments (1)

main.log (8.3 KB) - added by bluetux@… 12 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_ecb/ecb/main.log

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by bluetux@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_ecb/ecb/main.log

comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)

This looks like the main error:

	:info:build ECB 2.40 - Error: ECB can only be used with cedet [1.0pre6, 1.0.9]! Please install it and restart Emacs!

What does port installed cedet say for you?

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ecb removed
Port: ecb added
Summary: cat install ecbecb: sed: RE error: illegal byte sequence

I would say the relevant error is "sed: RE error: illegal byte sequence", which is a common error seen on Mountain Lion because of the version of sed it ships with.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: ecb: sed: RE error: illegal byte sequenceecb: ECB can only be used with cedet [1.0pre6, 1.0.9]!

Well I've fixed the sed error in r102308 and "ECB can only be used with cedet [1.0pre6, 1.0.9]" remains. The version of cedet in MacPorts is 1.1.0, which is not between 1.0pre6 and 1.0.9, hence the error. I don't know why ecb is so picky about the version of cedet.

comment:4 Changed 12 years ago by bluetux@…

I found some info about why this error caused.

In Emacs Wiki say.

The latest ECB version (2.40) does not work with the CEDET in Emacs 23.2... from http://www.emacswiki.org/emacs/EmacsCodeBrowser#toc4

And sugest solution using http://alexott.blogspot.kr/2012/06/ecb-fresh-emacscedet.html author's patch that provide from https://github.com/alexott/ecb/

I don't know how to make port package, but I think now ecb package need those patch.

Thanks

Note: See TracTickets for help on using tickets.