> So, I propose to retire our pretensions of support for it.

And now it's done.

I thought I should try installing it on Fedora 22. I went to the web site

   https://code.launchpad.net/~ctwm/ctwm/trunk

and found

   lp:ctwm
   Created by Matthew Fuller on 2014-05-04 and last modified on 2015-07-18

   Get this branch:
       bzr branch lp:ctwm

So I installed 'bzr' and ran the command. It fetched a ctwm source tree.

Not sure that I had done the right thing so I looked in version.c and
saw:
   #include "ctwm.h"
   #include "version.h"
   #define VERSION_ID "3.8.2-post"

which makes me wonder whether I somehow fetched an old version.

Anyhow I tried to build it (not knowing anything about the tools used) by
doing as instructed in README:

   make

But that produced a lot of error messages:

 % make
          ( cd build && \
         cmake -DCMAKE_C_FLAGS:STRING=""  .. )
 -- The C compiler identification is GNU 5.1.1
 -- Check for working C compiler: /usr/lib64/ccache/cc
 -- Check for working C compiler: /usr/lib64/ccache/cc -- broken
 CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message):
   The C compiler "/usr/lib64/ccache/cc" is not able to compile a simple test
   program.

   It fails with the following output:

    Change Dir: /usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp

   Run Build Command:"/usr/bin/gmake" "cmTryCompileExec1962921915/fast"

   gmake[1]: Entering directory
   '/usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp'

   /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1962921915.dir/build.make
   CMakeFiles/cmTryCompileExec1962921915.dir/build

   gmake[2]: Entering directory
   '/usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp'

   /usr/bin/cmake -E cmake_progress_report
   /usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp/CMakeFiles 1

   Building C object
   CMakeFiles/cmTryCompileExec1962921915.dir/testCCompiler.c.o

   /usr/lib64/ccache/cc -o
   CMakeFiles/cmTryCompileExec1962921915.dir/testCCompiler.c.o -c
   /usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp/testCCompiler.c

   Linking C executable cmTryCompileExec1962921915

   /usr/bin/cmake -E cmake_link_script
   CMakeFiles/cmTryCompileExec1962921915.dir/link.txt --verbose=1

   /usr/lib64/ccache/cc
   CMakeFiles/cmTryCompileExec1962921915.dir/testCCompiler.c.o -o
   cmTryCompileExec1962921915 -rdynamic

   /usr/bin/ld: i386 architecture of input file
   `/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../crt1.o' is incompatible
   with i386:x86-64 output

   /usr/bin/ld: i386 architecture of input file
   `/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../crti.o' is incompatible
   with i386:x86-64 output

   /usr/bin/ld: i386 architecture of input file
   `/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../crtn.o' is incompatible
   with i386:x86-64 output

   /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in
   `/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64/libc.a(strcmp.o)'
   can not be used when making an executable; recompile with -fPIE and relink
   with -pie

   collect2: error: ld returned 1 exit status

   CMakeFiles/cmTryCompileExec1962921915.dir/build.make:88: recipe for target
   'cmTryCompileExec1962921915' failed

   gmake[2]: Leaving directory
   '/usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp'

   gmake[2]: *** [cmTryCompileExec1962921915] Error 1

   Makefile:117: recipe for target 'cmTryCompileExec1962921915/fast' failed

   gmake[1]: Leaving directory
   '/usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeTmp'

   gmake[1]: *** [cmTryCompileExec1962921915/fast] Error 2

and finally:

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:2 (project)

  -- Configuring incomplete, errors occurred!
  See also 
"/usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeOutput.log".
  See also "/usr/local/src/ctwm/ctwm-july-2015/build/CMakeFiles/CMakeError.log".
  Makefile:6: recipe for target 'build/Makefile' failed
  make: *** [build/Makefile] Error 1

I  have attached the two log files to this message (one of which seems to 
duplicate
the output copied above).

It's possible that Redhat/Fedora have annoyingly changed the C compiler in some
way. Or perhaps my system is not correctly set up, as I don't normally use the C
compiler for my work.

Or perhaps I am just doing the wrong thing, out of ignorance.

I hope this information is of some use. Perhaps someone more knowledgable can
produce a package for Fedora. The one I am currently working, which works fine,
is: ctwm-3.8.2-4.1.x86_64

Aaron

Attachment: CMakeOutput.log
Description: Binary data

Attachment: CMakeError.log
Description: Binary data

Reply via email to