Re: XTerm scrolling in xorg-server @1.20.4_0

2019-04-01 Thread Ken Cunningham
> Has anybody else noticed that text scrolling in a xterm is now glacially > slow since xorg-server was upgraded to @1.20.4_0 over the weekend? > X11 is really painful to use now. It certainly is. There is something wrong with the screen redrawing in xterm now, it seems. Ken

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Ken Cunningham
> Adding > "-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" > to CFLAGS appears to have fixed the problem (all of the libraries in > question build). When using clang on new versions of MacOS, the compiler driver looks to see if you ha

XTerm scrolling in xorg-server @1.20.4_0

2019-04-01 Thread Ken Preslan
Has anybody else noticed that text scrolling in a xterm is now glacially slow since xorg-server was upgraded to @1.20.4_0 over the weekend? X11 is really painful to use now. -- Ken Preslan

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Al Varnell via macports-users
In macOS Mojave 10.4.4 with latest Command Line Tools installed I found: /Library/Developer/CommandLineTools/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/cdefs.h -Al- > On Apr 1, 2019, at 06:38, Sean Lake > wrote: > >> >> On Apr 1

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Sean Lake
> On Apr 1, 2019, at 20:44, Chris Jones wrote: > > > > On 01/04/2019 1:39 pm, Sean Lake wrote: >> You are correct, that Apple's missing the directory I need. > > Please keep your replies on-list. Apologies. I accidentally hit 'reply' instead of 'reply all'. > >> Seans-Work-Macbook-Pro:~ s

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Chris Jones
On 01/04/2019 1:39 pm, Sean Lake wrote: You are correct, that Apple's missing the directory I need. Please keep your replies on-list. Seans-Work-Macbook-Pro:~ sean$ ls /usr X11binlibexecsbin standalone X11R6 liblocal share I'll cross that bridg

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Chris Jones
Hi, I suspect the issue is Apple is seemingly phasing out the standard includes as part of /usr/include. Can you test to see if you have the file /usr/include/sys/cdefs.h ? I suspect you don't, even if you have the commandline tools package installed. In Xcode 10, Apple is shipping a hidd

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Mojca Miklavec
On Mon, 1 Apr 2019 at 12:18, Sean Lake wrote: > > As far as I know I have command line tools installed - I'm not even > sure how I could get MacPorts installed without them. Adding > "-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" > to

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Sean Lake
As far as I know I have command line tools installed - I'm not even sure how I could get MacPorts installed without them. Adding "-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" to CFLAGS appears to have fixed the problem (all of the lib

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Chris Jones
Hi, My macOD 10.13 box I have access to right now has /usr/include/sys/cdefs.h which should be found by default. I suspect this is a case of the OP's macOS10.14 does not have the command line tools package installed (as this is depreciated in 10.14) and thus does not have this header install

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Chris Jones
Hi, One obvious question is why do you need to use gcc to build these c sources ? Is there an issue preventing you from using the main clang c compiler ? If you wish to support running this application on macOS, then I would suggest making it build with the default macOS compiler, clang, woul

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Andrew Udvare
> On 2019-04-01, at 05:10, Sean Lake wrote: > > In file included from MWReddening.c:1: > /opt/local/lib/gcc8/gcc/x86_64-apple-darwin18/8.3.0/include-fixed/math.h:45:10:fatal > error: sys/cdefs.h: No such file or directory > #include > ^ You should have this file at: /App

Re: Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Chris Jones
Hi, It would help if you post the exact, complete, compilation line that is giving you the error below. Chris On 01/04/2019 10:10 am, Sean Lake wrote: Hello Macports Users: I have a collection of libraries I use in running simulations, and I recently moved from Fink to Macports to support a

Using Macports' gcc8 to build C programs and libraries

2019-04-01 Thread Sean Lake
Hello Macports Users: I have a collection of libraries I use in running simulations, and I recently moved from Fink to Macports to support a Mojave machine. I'm trying to build the libraries using my installed gcc8, but I'm running in to errors like: In file included from MWReddening.c:1: /opt/lo