bugGNU Screen - Bugs: bug #47084, screen HEAD build broken on OS X

 
 

bug #47084: screen HEAD build broken on OS X

Submitter:  None
Submitted:  Sun 07 Feb 2016 01:06:52 PM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Ready For Test
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  4.9.1
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 09 Aug 2023 09:49:41 PM UTC, comment #3: 

I tested 'screen-v4' on macOS with clang 14. It works well.

$ uname -a
Darwin Mac-1691585426492.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun  8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64

$ clang -v
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0


Alexander Naumov <anaumov>
Group administrator
Sun 22 Jan 2023 11:49:03 PM UTC, comment #2: 

Does anybody can test it to build? Current screen-v4 and master?

Alexander Naumov <anaumov>
Group administrator
Thu 09 Feb 2017 01:48:27 PM UTC, comment #1: 

Most of this should've been already fixed, if any one on OS X could confirm that, it would be great.

Amadeusz Sławiński <amade>
Group administrator
Sun 07 Feb 2016 01:06:52 PM UTC, original submission:  

==> make
AWK=awk srcdir=. sh ./term.sh
AWK=awk CC="clang -g -O2 -Wall -Wextra -std=c11" srcdir=. sh ./comm.sh
clang -c  -iquote. -DETCSCREENRC='"/usr/local/Cellar/screen/HEAD/etc/screenrc"' -DSCREENENCODINGS='"/usr/local/Cellar/screen/HEAD/share/screen/utf8encodings"' -g -O2 -Wall -Wextra -std=c11 screen.c -o screen.o
screen.c:1594:36: error: no member named 'm_tchars' in 'struct mode'
                        char ibuf = displays->d_OldMode.m_tchars.t_intrc;
                                    ~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
make: * [screen.o] Error 1

There are a few build errors. That is the first. Defining POSIX seems to help with most of them. A patch that lets it build is attached. I couldn't convince configure to define POSIX, so please forgive the repetitive defines.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #36270:  screen-osx.diff added by None (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Posted a comment)
  • -email is unavailable- added by amade (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-09 anaumov StatusNeed Info Ready For Test
        Planned ReleaseNone 4.9.1
    2017-02-09 amade StatusNone Need Info
    2016-02-07 None Attached File- Added screen-osx.diff, #36270

    Back to the top

    Powered by Savane 3.13-8ccc.
    Corresponding source code