#41078 closed defect (fixed)
screen @4.0.3_3+vertical_split: cannot find "sys/stropts.h"
Reported by: | splaisan (Stephane Plaisance) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | kacper.rowinski@…, jchauvel@… |
Port: | screen |
Description
Deinstalled everything as advertised and try now to bring back my favorites. (port selfupdate and port upgrade outdated were both done) Besides ghc, screen seems to report a very similar issue (to me)
# should I use another compiler?
sudo port select gcc Available versions for gcc: gcc42 llvm-gcc42 mp-gcc47 (active) mp-gcc48 mp-llvm-gcc42 none
attached my error log
thanks very much for saving my life, I NEED 'screen'!
Attachments (1)
Change History (10)
Changed 11 years ago by splaisan (Stephane Plaisance)
comment:1 Changed 11 years ago by splaisan (Stephane Plaisance)
forgot to add that I try this on Maverick (sorry)
comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | kacper.rowinski@… added |
---|---|
Keywords: | mavericks added |
Port: | screen added |
Summary: | screen reinstall issue → screen @4.0.3_3+vertical_split: cannot find "sys/stropts.h" |
Version: | 2.2.0 → 2.2.1 |
comment:3 Changed 11 years ago by splaisan (Stephane Plaisance)
I installed the command line tools as advised and also as update from Apple on teh basis of posts I read about this and followed all migration steps. My Xcode is the latest freshly installed My macport is the latest
Still about 20-25% of my former ports refuse to reinstall including screen and ghc which I seriously depend on. I hope that he macport gurus will find a way to fix this soon as I am paralysed.
Thanks for your great support, I cross my fingers
comment:4 Changed 11 years ago by agm650
Hello,
Regarding the screen issue, I think you can fix it in the Portfile (mine was at the following path: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/screen/Portfile).
line 78 you will find this:
if {${os.platform} == "darwin" && ${os.major} >= 10 && ${os.major} <= 12} {
Maverick is version 13, so what I did was to replace this line with the following:
if {${os.platform} == "darwin" && ${os.major} >= 10 && ${os.major} <= 13} {
And it's working
I'm not sure if it's a correct solution but at least screen is running
comment:5 Changed 11 years ago by splaisan (Stephane Plaisance)
Thanks Luc, you made my day, IT WORKS Now another 30 ports to fix to come back to previous state. I hope some problems are very basic and will fix many ports at once.
;-)
S
comment:6 Changed 11 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I applied this fix in r112775. The screen version distributed by Apple was not changed, so just applying the same patches should be enough to get screen working.
sudo port install screen (error log)