Hi,

I had problems compiling scidb svn revision 709 in Fedora 17 64 bits.

After ./configure the output is:

configure: Makefile configuration program for Scidb
    Tcl/Tk version: 8.5
    Your operating system is: Linux 3.8.4-102.fc17.x86_64
                 Distributor: Fedora
                    Revision: 17
                    Codename: Beefy Miracle
    Checking if your system has gcc installed: yes (version 4.7).
    Checking if your system has g++ installed: yes (version 4.7).
    Checking if your compiler supports SSE2: yes.
    Checking if your kernel supports __sync_* builtin functions: yes.
    Checking your fontconfig version: 2.8
    Checking if your kernel has inotify support: yes
    Checking if your system already has zlib installed: yes.
    Checking if your system already has zziplib installed: yes.
    Checking if your system already has expat installed: yes.
    Checking if your system already has gdbm installed: yes.
    Checking if your system has fontconfig: yes.
    Checking if your system has freetype2: yes.
    Determining number of CPUs (cores): 2
    Location of tcl.h: /usr/include
    Location of tk.h: /usr/include
    Location of Tcl 8.5 library: /usr/lib64
    Location of Tk 8.5 library: /usr/lib64
    Location of X11/Xlib.h: /usr/include
    Location of X11 library: /usr/lib
    Location of Xcursor library: /usr/lib/libXcursor.so.1.0.2
Makefile.in configured for your system was written.
Now just type "make" to compile Scidb


After make the output is:

(...)
Building tkscidb-beta
/usr/lib/libXcursor.so.1.0.2: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[1]: *** [tkscidb-beta] Error 1
make: *** [all] Error 2
(...)


I found the problem is in configure file: Location of Xcursor library:
/usr/lib/libXcursor.so.1.0.2

I had to change configure file, from:

    540     set path(x,libraries,usr) {
    541         /usr/lib
    542         /usr/lib64


to:

    540     set path(x,libraries,usr) {
    541         /usr/lib64
    542         /usr/lib


After re-running ./configure the output is:

configure: Makefile configuration program for Scidb
Renaming "Makefile.in" to "Makefile.in.bak"
    Tcl/Tk version: 8.5
    Your operating system is: Linux 3.8.4-102.fc17.x86_64
                 Distributor: Fedora
                    Revision: 17
                    Codename: Beefy Miracle
    Checking if your system has gcc installed: yes (version 4.7).
    Checking if your system has g++ installed: yes (version 4.7).
    Checking if your compiler supports SSE2: yes.
    Checking if your kernel supports __sync_* builtin functions: yes.
    Checking your fontconfig version: 2.8
    Checking if your kernel has inotify support: yes
    Checking if your system already has zlib installed: yes.
    Checking if your system already has zziplib installed: yes.
    Checking if your system already has expat installed: yes.
    Checking if your system already has gdbm installed: yes.
    Checking if your system has fontconfig: yes.
    Checking if your system has freetype2: yes.
    Determining number of CPUs (cores): 2
    Location of tcl.h: /usr/include
    Location of tk.h: /usr/include
    Location of Tcl 8.5 library: /usr/lib64
    Location of Tk 8.5 library: /usr/lib64
    Location of X11/Xlib.h: /usr/include
    Location of X11 library: /usr/lib64
    Location of Xcursor library: /usr/lib64
Makefile.in configured for your system was written.
Now just type "make" to compile Scidb.


Notice that the output changed from: Location of Xcursor library:
/usr/lib/libXcursor.so.1.0.2

to: Location of Xcursor library: /usr/lib64

now make run without problem

(...)
Building sjeng-scidb
Building scidb-beta
Building update-scidb-photo-files

Now type "sudo make install" for installation.
(...)


Another workaround is to remove the 32 bits version of package libXcursor.
Example: libXcursor-1.1.13-1.fc17.i686

The problem is that this package is needed by wine.

yum remove libXcursor-1.1.13-1.fc17.i686

======================================================================================================================================================================
 Package
Arq.
Versão
Repository                           Size
======================================================================================================================================================================
Removing:
 libXcursor
i686
1.1.13-1.fc17
@fedora                              66 k
Removing for dependencies:
 gtk2
i686
2.24.13-1.fc17
@updates                             13 M
 qt-x11
i686
1:4.8.4-14.fc17
@updates                             33 M
 wine
x86_64
1.5.24-1.fc17
@updates                            0.0
 wine-capi
i686
1.5.24-1.fc17
@updates                             82 k
 wine-cms
i686
1.5.24-1.fc17
@updates                            126 k
 wine-core
i686
1.5.24-1.fc17
@updates                            106 M
 wine-desktop
noarch
1.5.24-1.fc17
@updates                            355 k
 wine-ldap
i686
1.5.24-1.fc17
@updates                            393 k
 wine-openal
i686
1.5.24-1.fc17
@updates                            113 k
 wine-pulseaudio
i686
1.5.24-1.fc17
@updates                            155 k
 wine-twain
i686
1.5.24-1.fc17
@updates                            208 k

Transaction Summary
======================================================================================================================================================================
Remove  1 Package (+11 Dependent packages)


I hope this workaround is usefull to other users.

Best Regards,

José Carlos Martins
(jcfsmartins)

Reply via email to