Opened 12 years ago

Closed 11 years ago

#32599 closed defect (fixed)

blt is missing includes and fails to compile with clang

Reported by: fsalgado@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc: ryandesign (Ryan Carsten Schmidt), yannick.heinrich@…, gustafn, jeremyhu (Jeremy Huddleston Sequoia)
Port: blt

Description

blt doesn’t install due to compilation errors.

Attachments (2)

main.log (101.0 KB) - added by fsalgado@… 12 years ago.
log file resulting from the install action.
Portfile-blt2.5-incomplete (1.6 KB) - added by gustafn 12 years ago.

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by fsalgado@…

Attachment: main.log added

log file resulting from the install action.

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

Keywords: lion clang added; blt Lion 10.7.2 removed
Milestone: MacPorts 2.0.4
Owner: changed from macports-tickets@… to markd@…

I see you're using clang. Does it help if you use a different compiler?

comment:2 in reply to:  1 ; Changed 12 years ago by fsalgado@…

Replying to ryandesign@…:

I see you're using clang. Does it help if you use a different compiler?

it’s the automatic installation from ports. is there a way to “choose” another complier on this automated set-up?

thanks

comment:3 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to fsalgado@…:

it’s the automatic installation from ports.

Right. And in this case, MacPorts' choice may not have been the best one for this port. Once you figure out if one of the other compilers works, we can fix the port to automatically choose that instead.

is there a way to “choose” another complier on this automated set-up?

Instructions are in the problem hotlist.

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

Cc: yannick.heinrich@… added

Has duplicate #32935.

Did using a different compiler help? Let us know so we can fix the port.

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

Cc: neumann@… added
Resolution: fixed
Status: newclosed

Has duplicate #33146 which says apple-gcc-4.2 works, but we want to use llvm-gcc-4.2 instead if that works. This mailing list post says that llvm-gcc-4.2 does work, so I've changed the port in r89711 to use that.

comment:6 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Keywords: lion removed
Resolution: fixed
Status: closedreopened

This is a bug in the project. They are missing includes. Please fix the project rather than working around it by choosing a different compiler.

comment:7 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

Cc Me!

comment:8 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: blt on OSX 10.7 Lion: generates 2 errors during compilationblt is missing includes and fails to compile with clang

comment:9 Changed 12 years ago by markd@…

Does anyone know if BLT actually works for any apps on Tcl 8.5 even if it can be made to compile? The one port I have that needs it is quite broken on BLT/Tcl 8.5. I had thought it was simply broken on TCL 8.5, but it looks like freebsd apparently supports it on TCL 8.5. http://www.freebsd.org/cgi/ports.cgi?query=blt&stype=all

comment:10 Changed 12 years ago by gustafn

I stepped over the blt port, while i was testing the effects of a threaded tcl on depending ports. I have no blt apps around. As it looks to me the current blt port is not usable, the demos are not working, at least the blt::tile support seems missing. While browsing around, it seems that the way to go is to use blt 2.5 http://pdqi.com/w/pw/pdqi/Wize/Blt. I made a quick attempt to provide a portfile for 2.5 (see attachment), but currently it seems to fail to find the tcl and tk library during the destroot step - most likely for an macports expert a trivial task. Maybe the provided incomplete port helps to reduce some typing.

Changed 12 years ago by gustafn

Attachment: Portfile-blt2.5-incomplete added

comment:11 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.