[MacPorts] #12377: BUG: Can't build erlang R11B-5 on macbook (tk won't build)

MacPorts noreply at macports.org
Mon Feb 22 06:26:34 PST 2010


#12377: BUG: Can't build erlang R11B-5 on macbook (tk won't build)
-----------------------------------+----------------------------------------
 Reporter:  saimonmoore@…          |       Owner:  mww@…           
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  1.5.0           
 Keywords:                         |        Port:  tk              
-----------------------------------+----------------------------------------
Changes (by jmr@…):

  * keywords:  erlang tk =>
  * version:  => 1.5.0
  * port:  => tk


Old description:

> 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.

New description:

 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.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/12377#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list