Opened 17 years ago

Closed 14 years ago

#12377 closed defect (fixed)

tk +aqua fails

Reported by: saimonmoore@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: bfulgham@…
Port: tk

Description (last modified by jmroot (Joshua Root))

Hi i'm trying to install erlang (R11B-5) for the first time on my macbook but it's failing with the following errors:

artemis:~ saimon$ sudo port install erlang
Password:
--->  Building tk with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix" && make all " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1226: warning: data definition has no type or storage class
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1227: error: parse error before '}' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c: In function 'Tk_Get3DBorderFromObj':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1262: error: 'borderPtr' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1264: error: invalid operands to binary *
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1264: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1277: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1280: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1280: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1281: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1301: error: request for member 'borderTable' in something not a structure or union
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1301: error: request for member 'borderTable' in something not a structure or union
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1305: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1307: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1307: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1308: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c: In function 'TkDebugBorder':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1388: error: 'borderPtr' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1391: error: invalid operands to binary *
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1391: error: parse error before ')' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1394: error: request for member 'borderTable' in something not a structure or union
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1394: error: request for member 'borderTable' in something not a structure or union
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.4.15/unix/../generic/tk3d.c:1396: error: parse error before ')' token
{standard input}:6:Ignoring attempt to re-define symbol.
{standard input}:12:Ignoring attempt to re-define symbol.
{standard input}:15:Ignoring attempt to re-define symbol.
{standard input}:18:Ignoring attempt to re-define symbol.
{standard input}:39:Ignoring attempt to re-define symbol.
{standard input}:42:Ignoring attempt to re-define symbol.
make: *** [tk3d.o] Error 1

Error: The following dependencies failed to build: tk
Error: Status 1 encountered during processing.

Change History (10)

comment:1 Changed 17 years ago by saimonmoore@…

Just in case:

Darwin artemis.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386

comment:2 Changed 17 years ago by thomchiovoloni@…

I have the same problem. tk won't build.

I might try building from source.

comment:3 Changed 17 years ago by nox@…

Priority: ImportantHigh
Summary: Can't build erlang R11B-5 on macbook (tk won't build)BUG: Can't build erlang R11B-5 on macbook (tk won't build)
Version: 1.5.0

comment:4 Changed 17 years ago by nox@…

Cc: bfulgham@… added

Added maintainer to Cc.

comment:5 Changed 17 years ago by bfulgham@…

Tk builds find under Leopard, but only in X11 mode. If I build with the "+aqua" variant, I encounter this build error.

Are the rest of you using the Aqua variant?

comment:6 Changed 17 years ago by jmroot (Joshua Root)

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

Assigning to tk maintainer. The aqua variant was removed in r32235, BTW.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:8 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:9 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: erlang tk removed
Port: tk added
Version: 1.5.0

comment:10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Summary: BUG: Can't build erlang R11B-5 on macbook (tk won't build)tk +aqua fails

Although it's true the aqua variant was removed in r32235, it was resurrected as the quartz variant in r39335, but tk @8.5.8_0 installs fine for me on Tiger i386 with or without the quartz variant. So I think we can assume this is no longer a problem.

Note: See TracTickets for help on using tickets.