FVWM: compile fvwm2.6.6 on macOS

2016-09-10 Thread John Wiggins
I am on MacOS and am still running an fvmw2 version  2.6.5  binary I compiled 
back in 2014 on two OSes and older development tools.
Does anyone have instructions on how to build fvwm for the latest macOS and 
XCode tools? 

I obtained fvwm-2.6.6.tar distribution from the http://fvwm.org root page.

My ./configure with the version 2.6.6 aborts.  I added echo to show shell 
variables before the abort.  Do I need to use set CPP to use clang?

$ ./configure
…snip…
checking whether it is safe to define __EXTENSIONS__... yes
CPP  gcc -E
CFLAGS   -Wall -Wno-implicit-int -g -O2
CPPFLAGS 
configure: error: "
configure is not able to compile programs with warnings.  Please
remove all offending options like -Werror from the CFLAGS and
CPPFLAGS variables and run configure again."
$


Question 2:  If I find this on my own, is there a platform-specific tips page 
for tips for compiling the distribution.  The fvwmforums.org does not seem to 
be very active.

tks,
jw


Re: FVWM: compile fvwm2.6.6 on macOS

2016-09-10 Thread Thomas Adam
On Sat, Sep 10, 2016 at 11:15:08AM -0400, John Wiggins wrote:
> I am on MacOS and am still running an fvmw2 version  2.6.5  binary I
> compiled back in 2014 on two OSes and older development tools.  Does anyone
> have instructions on how to build fvwm for the latest macOS and XCode tools? 

So take a look to see what the macport does, and/or if there's a brew for it?

> I obtained fvwm-2.6.6.tar distribution from the http://fvwm.org root page.
> 
> My ./configure with the version 2.6.6 aborts.  I added echo to show shell
> variables before the abort.  Do I need to use set CPP to use clang?

No.  This means your environment has changes, such that CFLAGS isn't making
the compiler happy.

> Question 2:  If I find this on my own, is there a platform-specific tips
> page for tips for compiling the distribution.  The fvwmforums.org does not
> seem to be very active.

I don't routinely monitor the forums at all, so unless someone posts a message
here, chances are it'll go unanswered elsewhere.

-- Thomas Adam