Opened 12 years ago
Closed 3 years ago
#37062 closed defect (wontfix)
pymol @1.5 tcl must be installed without +corefoundation
Reported by: | ryan.sheldon@… | Owned by: | howarth.at.macports@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | howarth@…, steeves@…, csumma@…, quantum7@…, locober@…, SickTeddyBear, ryandesign (Ryan Carsten Schmidt) | |
Port: | pymol |
Description
Pymol fails to build; seems similar to ticket:21968. Running Mac OS X 10.7.5 with Xcode 4.5.2. Failure occurs when compiling with clang, llvm, and gcc. Following appears in main.log when attempting to build pymol:
:notice:configure ---> Configuring pymol :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing proc-pre-org.macports.configure-configure-0 :debug:configure tcl is installed with the following variants: +corefoundation :debug:configure required: , forbidden: corefoundation :debug:configure rejected, because forbidden variant corefoundation is present :error:configure org.macports.configure for port pymol returned: tcl must be installed without +corefoundation. :debug:configure Error code: NONE :debug:configure Backtrace: tcl must be installed without +corefoundation.
This issue appears to be new as installing PyMOL last month on another Mac OS X 10.7.5 system did not have any errors.
Attachments (1)
Change History (15)
comment:1 Changed 12 years ago by ryan.sheldon@…
Changed 12 years ago by ryan.sheldon@…
comment:2 Changed 12 years ago by mf2k (Frank Schima)
Cc: | howarth@… added |
---|---|
Port: | pymol added |
Resolution: | → invalid |
Status: | new → closed |
In the future, please fill in the Port field and Cc the port maintainer(s).
So you need to do what it says and build tcl without +corefoundation.
sudo port install tcl -corefoundation
comment:3 Changed 12 years ago by steeves@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
This causes a problem with other ports (e.g. R-framework) which depend on tcl being built with corefoundation. If I remove this option to get pymol to build and install, launching R and trying to install a package via the install.package() command causes R to crash:
R> install.packages("rgl") Installing package(s) into '/Users/steevmi1/Library/R/2.15' (as 'lib' is unspecified) --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... TclMacOSXNotifierAddRunLoopMode: Tcl not built with CoreFoundation support [1] 61302 abort R
comment:5 follow-up: 13 Changed 12 years ago by howarth@…
So you are saying you broke pymol again? It is beyond me why you fellows don't just do the sensible thing and fold the use of corefoundation into the pthreads variant (which I recommended long ago). Using corefoundation drags in threading so you might as well couple the two together.
comment:6 Changed 12 years ago by steeves@…
Well, no. My choice is to either run pymol (using a tcl installed with -corefoundation) and not be able to run other applications (R from R-framework was the one I found, may be others) that want tcl installed with +corefoundation, or to not be able to install pymol but to be able to use the other apps.
In the example I used when I reopened the ticket, I fixed pymol and broke R....
comment:8 Changed 12 years ago by csumma@…
I've had to do the following to allow pymol to install (in the following order):
sudo port uninstall py26-pmw sudo port uninstall py26-tkinter sudo port uninstall tk sudo port uninstall tcl sudo port install tcl -corefoundation sudo port install tk -quartz sudo port install pymol
This was after a failed install of pymol from a clean Macports on Lion.
Hardly a fix, but if you're in a jam and need pymol - this works. Not sure what other packages may be uninstallable as a result, though.
comment:9 Changed 12 years ago by danny.ash@…
I also have this problem. I do not want to screw up my tcl so that I can't run R, just in order to fix a compatibility issue for a program that used to build just fine before this regression.
comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | quantum7@… added |
---|
comment:13 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from macports-tickets@… to howarth.at.macports@… |
Status: | reopened → new |
Replying to howarth@…:
So you are saying you broke pymol again? It is beyond me why you fellows don't just do the sensible thing and fold the use of corefoundation into the pthreads variant (which I recommended long ago). Using corefoundation drags in threading so you might as well couple the two together.
I'm not sure to whom this comment was directed, and I'm not sure what you meant by it. The pymol portfile states that it requires that the tcl port be installed without the corefoundation variant:
require_active_variants tcl "" corefoundation require_active_variants tk "" quartz
(To explain, for any readers unfamiliar with require_active_variants
: this states that for the dependency tcl there are no required variants and there is 1 forbidden variant (corefoundation). Similarly, it states that for the dependency tk there are no required variants and there is 1 forbidden variant (quartz).)
How would combining the corefoundation and threads variants in the tcl port have anything to do with whether or not pymol works with corefoundation support?
comment:14 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
current version is 2.5 ; this is no longer relevant as it now uses Qt5
Also appears related to changes made by ticket:31995