Opened 17 years ago

Closed 17 years ago

#13009 closed defect (fixed)

installing screen exits with error on Leopard

Reported by: fauconnier.steven@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: screen leopard error Cc: digdog@…
Port:

Description

Tried installing screen on Leopard and got the following error:

--->  Extracting screen
--->  Applying patches to screen
--->  Configuring screen
--->  Building screen with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_screen/work/screen-4.0.3" && make all " returned error 2
Command output: gcc -c -I. -I.    -O2 termcap.c
In file included from screen.h:144,
                 from termcap.c:26:
display.h:177: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
In file included from screen.h:145,
                 from termcap.c:26:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
gcc -c -I. -I.    -O2 input.c
In file included from screen.h:144,
                 from input.c:26:
display.h:177: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
In file included from screen.h:145,
                 from input.c:26:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
gcc -c -I. -I.    -O2 attacher.c
In file included from screen.h:144,
                 from attacher.c:30:
display.h:177: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
In file included from screen.h:145,
                 from attacher.c:30:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
gcc -c -I. -I.    -O2 pty.c
In file included from screen.h:144,
                 from pty.c:30:
display.h:177: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
In file included from screen.h:145,
                 from pty.c:30:
window.h:247: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:97)
pty.c:38:26: error: sys/stropts.h: No such file or directory
make: *** [pty.o] Error 1

Error: Status 1 encountered during processing.

Attachments (1)

patch-pty.c (303 bytes) - added by afb@… 17 years ago.
patch-pty.c

Download all attachments as: .zip

Change History (5)

comment:1 Changed 17 years ago by saispo@…

I will try too, and i have the same error.

The /usr/include/sys/stropts.h is not shipped under Leopard...

Changed 17 years ago by afb@…

Attachment: patch-pty.c added

patch-pty.c

comment:2 Changed 17 years ago by afb@…

The include test is broken, it should really be HAVE_SYS_STROPTS_H or something like that...

Workaround patch attached.

comment:3 Changed 17 years ago by afb@…

Patch applied to r30468, hope that's OK digdog.

comment:4 Changed 17 years ago by afb@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.