Opened 13 years ago

Closed 13 years ago

#30850 closed defect (duplicate)

emacs-app @23.3 doesn't build on Snow Leopard

Reported by: plasmaball@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: manuel.deljesuspe@…, humem (humem)
Port: emacs-app

Description

I installed the latest macports and followed https://trac.macports.org/wiki/Migration by uninstalling all ports first, but emacs failed to build. Please help.

The build log will be uploaded as an attachment.

Attachments (1)

main.log (1.4 MB) - added by plasmaball@… 13 years ago.
emacs-app build log

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by plasmaball@…

Attachment: main.log added

emacs-app build log

comment:1 Changed 13 years ago by plasmaball@…

The system information is as below:

  • OS: Mac OS X 10.6.8
  • Xcode: Xcode 4.2 Developer Preview 5

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to css@…

Please remember to cc the maintainer.

comment:3 Changed 13 years ago by manuel.deljesuspe@…

Cc: manuel.deljesuspe@… added

Cc Me!

comment:4 Changed 13 years ago by humem (humem)

Cc: hum@… added

Cc Me!

comment:5 Changed 13 years ago by cssdev

I only have Snow Leopard and XCode 3.2, so I'm unable to verify what might be needed to resolve this.

comment:6 Changed 13 years ago by humem (humem)

It seems that clang compiler could not build emacs-app properly and gcc should be used instead of clang. I recommend that you use Xcode 3.2.* rather than 4.2 on Snow Leopard or upgrade to Lion.

comment:7 Changed 13 years ago by humem (humem)

I have found a treatment of clang compiler in aspell port:

# BUILD FIX TODO: clang C++
# clang fails to build this project due to buggy C++ as of 2011.06.28 0.60.6
if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2 
}

I am not sure, but emacs-app might build as well if you add the above to the Portfile and try to compile.

comment:8 in reply to:  7 Changed 13 years ago by boris.dusek@…

Replying to hum@…:

I have found a treatment of clang compiler in aspell port:

That fixed it for me. For the record, I am using Xcode 4.2 DP<something> (build 4C5163c)

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Superseded by #31508, which fixed emacs-app so that it can compile with clang.

Note: See TracTickets for help on using tickets.