I wonder if any other ctwm user has this problem? I am a latex user, but
occasionally have to use libreoffice because collaborators send me docx and
other files.

For some time I've been unable to use the 'font color' and 'highlighting' menus
in libreoffice (LO). Attempts to use them fail the colour menu is not shown:
something flashes on the screen, suggesting a failed attempt to create
something. This message in the xterm window from which I've invoked LO:

(soffice:30121): Gdk-WARNING **: GdkWindow 0x480187f unexpectedly destroyed

(soffice:30121): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 
'GtkWidget'

I had assumed this was a bug in LO or something else, and did much searching,
without success. However, this morning I thought I should try another window
manager. Two others available on my machine are openbox and xfce. To my suprise
the LO font colour menu worked properly in both of them. So it looks as if I
have all the libraries required for proper operation of Libreoffice but ctwm
somehow is not using them.

I am using a newly installed version of Fedora 22. (I also previously had this
problem on my desktop PC and laptop using F19 and F20, respectively.)

I hope there's something simple that I am doing wrong that can be fixed.

I am using a version of ctwm downloaded and compiled several months ago

   ctwm -version
   3.8.2-post

It was compiled before I upgraded to F22, and the previously compiled ctwm seems
to work fine in F22 apart from the problem of LO menus, which did not work
previously.

I tried to recompile from http://www.ctwm.org/dist/ctwm-3.8.2.tar.xz (May 2014)
but I am no longer able to compile that.

  [axs@vig 3.8.2]# xmkmf
  imake -DUseInstalled -I/usr/share/X11/config
  /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
  /usr/bin/xmkmf: line 53: 32428 Aborted                 (core dumped) imake 
$imake_defines $args

I thought I should try the latest ctwm version, as feedback on that would be
most useful. So I went to this:

   http://bazaar.launchpad.net/~ctwm/ctwm/trunk/revision/365
    Committer: Matthew Fuller
   Date: 2015-06-25 02:28:56 UTC
   Revision ID: [email protected]

I used 'download tarball' unpacked it and followed the instructions:

   "In the common case, the included Makefile will do the necessary
   invocations, and you won't need to worry about it; just run a normal
   `make ; make install` invocation."

But 'make' produced a lot of errors, also saved in two log files.

I append the errors, in case they are useful.

It looks to me (as a complete amateur) as if part of the problem may be the
different ways in which different linux distributions handle mixed 32-bit and
64-bit libraries.

In fedora, the main 32 bit libraries go where they used to:

   /usr/lib

the 64 bit libraries in

   /usr/lib64

(include libraries seem to go into the same directories, but some of the .h
files end in -32.h or -64.h

If packages keep libraries in different places in different versions of linux
this will cause problems.

Apologies if that's irrelevant to this failure.

I am sorry I don't know enough to be more helpful. Error output appended:

Thanks.

====
CMakeOutput.log

The system is: Linux - 4.0.5-300.fc22.x86_64 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" 
succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags: -c

The output was:
0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced 
"CMakeCCompilerId.o"

The C compiler identification is GNU, found in 
"/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/3.2.2/CompilerIdC/CMakeCCompilerId.o"

===
CMakeError.log

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /usr/bin/cc
Build flags:
Id flags:

The output was:
1
/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


Determining if the C compiler works failed with the following output:
Change Dir: /usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTryCompileExec2251071135/fast"
gmake[1]: Entering directory 
'/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp'
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2251071135.dir/build.make 
CMakeFiles/cmTryCompileExec2251071135.dir/build
gmake[2]: Entering directory 
'/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2251071135.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec2251071135.dir/testCCompiler.c.o   
-c 
/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2251071135
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec2251071135.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTryCompileExec2251071135.dir/testCCompiler.c.o  
-o cmTryCompileExec2251071135 -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/cmTryCompileExec2251071135.dir/build.make:88: recipe for target 
'cmTryCompileExec2251071135' failed
gmake[2]: Leaving directory 
'/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp'
gmake[2]: *** [cmTryCompileExec2251071135] Error 1
Makefile:117: recipe for target 'cmTryCompileExec2251071135/fast' failed
gmake[1]: Leaving directory 
'/usr/local/src/ctwm-test/3.6.5/ctwm/trunk/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec2251071135/fast] Error 2

[end]

Reply via email to