Opened 17 years ago
Closed 15 years ago
#14488 closed defect (duplicate)
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 (6)
Change History (21)
comment:1 Changed 17 years ago by markd@…
comment:2 Changed 17 years ago by markd@…
I wonder if this fixes it: http://reddog.s35.xrea.com/wiki/A%20Stub-enabled%20BLT2.4z%20for%20Windows.html
comment:3 Changed 17 years ago by jmroot (Joshua Root)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-tickets@… to markd@… |
comment:4 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | blt removed |
---|---|
Port: | blt added |
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.
comment:6 follow-up: 7 Changed 16 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
comment:7 Changed 16 years ago by mf2k (Frank Schima)
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.
comment:9 follow-up: 10 Changed 16 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).
comment:10 follow-up: 11 Changed 16 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 15 years ago by mf2k (Frank Schima)
Attachment: | Portfile.3 added |
---|
Updated py25-tkinter portfile
Changed 15 years ago by mf2k (Frank Schima)
Attachment: | Portfile.4 added |
---|
Updated blt Portfile for tcl/tk 8.4
comment:11 follow-up: 12 Changed 15 years ago by mf2k (Frank Schima)
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.
comment:12 Changed 15 years ago by mf2k (Frank Schima)
Version: | 1.6.0 → 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 15 years ago by mf2k (Frank Schima)
Attachment: | listbox.tcl added |
---|
Changed 15 years ago by mf2k (Frank Schima)
comment:13 Changed 15 years ago by mf2k (Frank Schima)
Here's my bug report on the issue on the blt sourceforge page.
comment:14 Changed 15 years ago by mf2k (Frank Schima)
The py25-tkinter84 port is no longer required as of r51955, please ignore it.
comment:15 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Superseded by #22536.
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