New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14488 (closed defect: duplicate)

Opened 4 years ago

Last modified 2 years ago

blt not building

Reported by: schimaf@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: blt

Description

I'm trying to build blt but I'm getting an error. Here's the output:

sh-3.2# port install blt
--->  Fetching blt
--->  Verifying checksum(s) for blt
--->  Extracting blt
--->  Applying patches to blt
--->  Configuring blt
--->  Building blt 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_blt/work/BLT2.4z" && make all " returned error 2
Command output: (cd src; make all)
/usr/bin/gcc-4.0 -c -Wall -O3 -fno-common   -I. -I.  -I/opt/local/include -I/usr/X11/include bltAlloc.c
In file included from bltInt.h:80,
                 from bltAlloc.c:1:
bltNsUtil.h:50: error: conflicting types for 'Tcl_FindCommand'
/opt/local/include/tclDecls.h:3125: error: previous declaration of 'Tcl_FindCommand' was here
bltNsUtil.h:67: error: conflicting types for 'Tcl_CreateNamespace'
/opt/local/include/tclDecls.h:3070: error: previous declaration of 'Tcl_CreateNamespace' was here
bltNsUtil.h:72: error: conflicting types for 'Tcl_FindNamespace'
/opt/local/include/tclDecls.h:3118: error: previous declaration of 'Tcl_FindNamespace' was here
bltNsUtil.h:75: error: conflicting types for 'Tcl_Export'
/opt/local/include/tclDecls.h:3088: error: previous declaration of 'Tcl_Export' was here
make[1]: *** [bltAlloc.o] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Running Xcode 3.0 on Mac OS X 10.5.2 (Intel) MacPro 8 core.

Attachments

Portfile Download (1.7 KB) - added by macsforever2000@… 3 years ago.
tcl 8.4.19 portfile
Portfile.2 Download (1.8 KB) - added by macsforever2000@… 3 years ago.
tk 8.4.19 portfile
Portfile.3 Download (0.9 KB) - added by macsforever2000@… 3 years ago.
Updated py25-tkinter portfile
Portfile.4 Download (2.0 KB) - added by macsforever2000@… 3 years ago.
Updated blt Portfile for tcl/tk 8.4
listbox.tcl Download (13.6 KB) - added by macsforever2000@… 3 years ago.
text.tcl Download (30.5 KB) - added by macsforever2000@… 3 years ago.

Change History

  Changed 4 years ago by markd@…

Looks like BLT is not ready for Tk 8.5 yet. I hope someone patches it soon.

 http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/6e5f6db6afada238

  Changed 4 years ago by jmr@…

  • owner changed from macports-tickets@… to markd@…
  • milestone set to Port Bugs

  Changed 3 years ago by macsforever2000@…

  • keywords blt removed
  • port set to blt

For the record, my current workaround is that I use a modified version of the tk and tcl ports that install version 8.4.19 of both.

  Changed 3 years ago by macsforever2000@…

Here's a promising  version to try.

follow-up: ↓ 7   Changed 3 years ago by lapcchan@…

any update? or how do i install old version of tk/tcl on macport? i tried to compile customized version of tcl/tk. however, that will be a lots of work since i am using python, py-tkinter and etc on macports

Changed 3 years ago by macsforever2000@…

tcl 8.4.19 portfile

Changed 3 years ago by macsforever2000@…

tk 8.4.19 portfile

in reply to: ↑ 6   Changed 3 years ago by macsforever2000@…

Replying to lapcchan@…:

any update? or how do i install old version of tk/tcl on macport? i tried to compile customized version of tcl/tk. however, that will be a lots of work since i am using python, py-tkinter and etc on macports

I have modified my local portfiles for tcl and tk and created a py25-tkinter84. They are attached to this ticket. Ideally there should be tcl84 and tk84 ports but macports lacks a few features to implement this properly. See #16336. Also a tcltk_select port should be created but I don't know how to do that.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

follow-up: ↓ 10   Changed 3 years ago by bobchew@…

BLT builds using the tcl/tk 8.4 portfiles, but py25-tkinter84 throws an error about not being able to find setup.py. Any ideas?

Doing this on Mac OS X 10.5.6, XCode 3.1 (non-iPhone).

in reply to: ↑ 9 ; follow-up: ↓ 11   Changed 3 years ago by bobchew@…

Strange! There's even more errors when it comes to tcl/tk 8.4: It keeps throwing the error that tk wasn't installed properly. This happens whenever tk is invoked, whether via BLT or even by running wish.

Changed 3 years ago by macsforever2000@…

Updated py25-tkinter portfile

Changed 3 years ago by macsforever2000@…

Updated blt Portfile for tcl/tk 8.4

in reply to: ↑ 10 ; follow-up: ↓ 12   Changed 3 years ago by macsforever2000@…

Replying to bobchew@…:

Strange! There's even more errors when it comes to tcl/tk 8.4: It keeps throwing the error that tk wasn't installed properly. This happens whenever tk is invoked, whether via BLT or even by running wish.

My solution was to install xorg-server. Then try using my updated portfile for py25-tkinter and a new one for blt that omits the dependency on xorg-libs.

in reply to: ↑ 11   Changed 3 years ago by macsforever2000@…

  • version changed from 1.6.0 to 1.7.1

Replying to macsforever2000@…:

Replying to bobchew@…:

Strange! There's even more errors when it comes to tcl/tk 8.4: It keeps throwing the error that tk wasn't installed properly. This happens whenever tk is invoked, whether via BLT or even by running wish.

My solution was to install xorg-server. Then try using my updated portfile for py25-tkinter and a new one for blt that omits the dependency on xorg-libs.

You mean runtime tk errors? Yes, this needs to be fixed with a few patch files. I will eventually integrate these into the tk84 portfile, but until then, I'm attaching 2 files (listbox.tcl and text.tcl) to replace in "/opt/local/lib/tk8.4/".

Changed 3 years ago by macsforever2000@…

Changed 3 years ago by macsforever2000@…

  Changed 3 years ago by macsforever2000@…

Here's my  bug report on the issue on the blt sourceforge page.

  Changed 3 years ago by macsforever2000@…

The py25-tkinter84 port is no longer required as of r51955, please ignore it.

  Changed 2 years ago by jmr@…

  • status changed from new to closed
  • resolution set to duplicate

Superseded by #22536.

Note: See TracTickets for help on using tickets.