#32268 closed defect (fixed)
py26-pynifti failed to build with clang
Reported by: | william1121@… | Owned by: | jameskyle@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | |
Port: | py26-pynifti |
Description
I don't quite understand why, therefore I attached .log file
a little bit urgent...
Thanks for help in advance
Attachments (1)
Change History (10)
Changed 13 years ago by william1121@…
comment:1 follow-up: 2 Changed 13 years ago by nonstop.server@…
comment:2 follow-up: 3 Changed 13 years ago by william1121@…
Replying to nonstop.server@…:
Replying to william1121@…:
I don't quite understand why, therefore I attached .log file
a little bit urgent...
Thanks for help in advance
You can try to use a different compiler instead of clang.
How to do that is described in the Problem Hotlist of the MacPorts Wiki.
limatoMac-Pro:~ li$ sudo port install foo configure.compiler=llvm-gcc-4.2 Error: Port foo not found To report a bug, see <http://guide.macports.org/#project.tickets>
It seems that I cannot find foo?
comment:3 Changed 13 years ago by nonstop.server@…
Replying to william1121@…:
limatoMac-Pro:~ li$ sudo port install foo configure.compiler=llvm-gcc-4.2 Error: Port foo not found To report a bug, see <http://guide.macports.org/#project.tickets>
It seems that I cannot find foo?
Instead of foo you need to enter the port you want to install, in this case py26-pynifti.
e.g.,
sudo port clean py26-pynifti sudo port install py26-pynifti configure.compiler=llvm-gcc-4.2
comment:4 follow-up: 6 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jameskyle@… |
---|---|
Port: | py26-pynifti added |
Priority: | High → Normal |
In the future, please fill in the Port field, Cc the maintainer(s) and leave the priority field to be set by Macports committers.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | clang added |
---|---|
Summary: | failed to install py26-pynifti → py26-pynifti failed to build with clang |
comment:6 follow-up: 7 Changed 13 years ago by william1121@…
Replying to macsforever2000@…:
In the future, please fill in the Port field, Cc the maintainer(s) and leave the priority field to be set by Macports committers.
Oh. OK, I'll pay attention in the future. Thanks for your help and sorry for my mistakes
comment:7 Changed 13 years ago by grid-admin@…
Replying to william1121@…:
Replying to macsforever2000@…:
In the future, please fill in the Port field, Cc the maintainer(s) and leave the priority field to be set by Macports committers.
Oh. OK, I'll pay attention in the future. Thanks for your help and sorry for my mistakes
The package is still broken.
Here is a patch, I will try to submit this to upstream as well:
--- setup.py 2012-02-10 17:42:10.000000000 +0100 +++ setup_fixed.py 2012-02-10 17:42:32.000000000 +0100 @@ -21,7 +21,7 @@ # Common configuration # ######################## -extra_link_args = ['--Wl,--no-undefined'] +extra_link_args = ['-Wl','-no-undefined'] include_dirs = [] library_dirs = [] defines = []
cheers
comment:8 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to william1121@…:
You can try to use a different compiler instead of clang.
How to do that is described in the Problem Hotlist of the MacPorts Wiki.