Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

main.log (49.7 KB) - added by splaisan (Stephane Plaisance) 10 years ago.
sudo port install screen (error log)

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by splaisan (Stephane Plaisance)

Attachment: main.log added

sudo port install screen (error log)

comment:1 Changed 10 years ago by splaisan (Stephane Plaisance)

forgot to add that I try this on Maverick (sorry)

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: kacper.rowinski@… added
Keywords: mavericks added
Port: screen added
Summary: screen reinstall issuescreen @4.0.3_3+vertical_split: cannot find "sys/stropts.h"
Version: 2.2.02.2.1

Has duplicate #41079.

Using another compiler will not help. The value of port select gcc has no bearing on which compiler is used for port compilation.

Did you follow the Migration instructions? Specifically, have you run xcode-select --install?

comment:3 Changed 10 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 10 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 10 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 10 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

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.

comment:7 Changed 10 years ago by jchauvel@…

Cc: jchauvel@… added

Cc Me!

comment:8 Changed 10 years ago by jchauvel@…

Cc: jchauvel@… removed

Cc Me!

comment:9 Changed 10 years ago by jchauvel@…

Cc: jchauvel@… added

Cc Me!

Note: See TracTickets for help on using tickets.