Ticket #22536 (closed defect: fixed)
fix blt 2.4z build
| Reported by: | howarth@… | Owned by: | macsforever2000@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | haspatch | Cc: | |
| Port: | blt |
Description
The attached packaging allows blt to be built under the current MacPorts 1.8.1 packages on Snow Leopard. It uses the Fedora Core 12 patches...
1) blt-2.4z-tcl8.5-fix.patch to eliminate duplicate declarations. 2) blt2.4z-noexactversion.patch to eliminate a problem with later tcl/tk 8.5.x versions. 3) blt-x86_64.patch to fix the 64-bit build.
This builds fine under current MacPorts 1.8.1 and works great with pymol and its APBS tool panel.
Attachments
Change History
Changed 4 years ago by howarth@…
- Attachment Portfile.diff added
Changed 4 years ago by howarth@…
- Attachment blt-2.4z-tcl8.5-fix.patch added
blt-2.4z-tcl8.5-fix.patch
Changed 4 years ago by howarth@…
- Attachment blt2.4z-noexactversion.patch added
blt2.4z-noexactversion.patch
comment:1 Changed 4 years ago by howarth@…
Note that none of the current Linux distros has a blt that works perfectly. In fact the complete set of Gentoo patches for blt (including their forked tarball) badly breaks pymol's apbs tool suppprt. For a perfect blt under tcl 8.5, we will have to wait for blt 3.0 which is under heavy development in its cvs.
comment:2 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to markd@…
- Keywords haspatch added; x11 removed
- Type changed from update to defect
comment:3 in reply to: ↑ description Changed 4 years ago by leminhhieu@…
SOS, tell me exactly what I should do to fix the errors
I am not a programmer but have to work on OMNeT in MAC 10.6, that requires tcl/tk (already installed) + blt.
Here what I did:
- Install Macport.
- try to install blt: sudo port install blt
- the system install the related stuff (including tcl and tk).
- Lastly, at the moment "building blt", the screen shows errors: conflict with TCL and TK .
Please help me !
I don't know what I have to do with the patch files here.
Million thanks in advance
comment:4 Changed 4 years ago by howarth@…
To use the packaging in this ticket...
1) mkdir -p ~/ports/X11/blt/files 2) cp Portfile ~/ports/X11/blt 3) cp *.patch ~/ports/X11/blt/files 4) cd ~/ports 5) portindex 6) sudo port -d install blt


diff against current blt Portfile