On 04/14/12 00:12, Jai Dayal wrote:

Hi,

Please keep the list posted as well...

Hi,

   Thanks for your response!

>Check if package libx11-dev is installed properly...

It was installed, but I have re-installed it just to be safe. It seems okay; no errors during installation (admittedly, via Ubuntu's Synaptic)

Aha... are you running 64-bit Ubuntu >= 11.04 (Natty) ?

If so, and as you can see in Synaptic, the libx11 stuff sits in the strange
/usr/lib/x86_64-linux-gnu path. For configure to understand this, I added a patch close to a year ago to the configure script. Are you on par with the current git tree?

If not, you may want to do that, or add this location to the makefile manually (or patch the configure script yourself by adding this path to the candidate X11 paths, somewhere around line 216).


>Is the file tcl.h indeed available in /usr/include/tcl8.5?

I have checked it and tcl.h is indeed there.

Hm... well

Then we have to believe the echo of the compile instruction, which adds only -I/usr/include to the search path for #include directives. This is strange, because it should search the tcl/tk locations as well...

I am not sure (and too sleepy to check now) if ./configure actually does something in case of the partial fail you have due to the X11 problem addressed above.

Make sure that the X11 problem is fixed - I guess you have some clues now how to do that - and rerun ./configure...

Cheers,
Joost.


Thanks!

Jai





On Fri, Apr 13, 2012 at 5:44 PM, Joost 't Hart <joost.t.h...@planet.nl <mailto:joost.t.h...@planet.nl>> wrote:

    On 04/12/12 05:35, Jai Dayal wrote:

    Hi!

    > When running configure, it seems to find TCL/TK... here's the output
    > of ./configure
    >
    > configure: Makefile configuration program for Scid
    >     Renaming "Makefile" to "Makefile.bak"
    >     Tcl/Tk version: 8.5
    >     Your operating system is: Linux 3.0.0-17-generic
    >     Location of "tcl.h": /usr/include/tcl8.5
    >     Location of "tk.h": /usr/include/tcl8.5
    >     Location of Tcl 8.5 library: /usr/lib
    >     Location of Tk 8.5 library: /usr/lib
    >     Location of X11 library: not found

    Hm, this is not good...

    Check if package libx11-dev is installed properly...

    >     Checking if your system already has zlib installed: yes.
    >     Using Makefile.conf.
    > Not all settings could be determined!
    > The default Makefile was written.
    > You will need to edit it before you can compile Scid.
    >
    >
    > Then if I run make, I get
    >
    > g++  -O3 -fno-rtti -fno-exceptions -Wall   -I/usr/include -o
    > src/pgnscid.o -c src/pgnscid.cpp
    > In file included from src/namebase.h:20:0,
    >                  from src/index.h:23,
    >                  from src/pgnscid.cpp:17:
    > src/misc.h:22:17: fatal error: tcl.h: No such file or directory
    > compilation terminated.
    >
    >
    > However, when looking at the make file, it has the correct path for
    > the lib and include directories (/usr/include/tcl8.5  similar
    for lib)

    Is the file tcl.h indeed available in /usr/include/tcl8.5?

    If so, call Houston :-)

    If not, you may need to install two additional packages:

    tcl8.5-dev and tk8.5-dev

    After having installed the packages, rerun ./configure and build...

    Cheers,
    Joost.

    >
    > Any suggestions?
    >
    > THanks!


    
------------------------------------------------------------------------------
    For Developers, A Lot Can Happen In A Second.
    Boundary is the first to Know...and Tell You.
    Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
    http://p.sf.net/sfu/Boundary-d2dvs2
    _______________________________________________
    Scid-users mailing list
    Scid-users@lists.sourceforge.net
    <mailto:Scid-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/scid-users



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to