Re: [fossil-users] The autosetup, and readline

2011-09-02 Thread Lluís Batlle i Rossell
On Fri, Sep 02, 2011 at 01:13:43PM +1000, Steve Bennett wrote:
 On 02/09/2011, at 7:43 AM, Lluís Batlle i Rossell wrote:
 
  Does the autosetup detect 'readline' for all of you?
  
  For me, it says that it cannot find the 'readline' symbol in the lib.
  
  In my case, autosetup is even not running the test for the 'readline' 
  symbol in
  the lib (tested with --debug), so it really looks like something internal to
  autosetup.
 
 Can you send me config.log from running with --debug?

Sure. Here you have both the output and the config.log.
Looking for sh in /nix/store/49wd5hr0wwac2dnfxcd3q64k2dvp53z7-tcl-8.5.7/bin
Looking for sh in /nix/store/42mpg3g8b570pm6v48q3ll2xq0mcg35p-openssl-1.0.0d/bin
Looking for sh in /nix/store/pssjwskay00fzfdv0xz1hfg16asc7y47-ncurses-5.7/bin
Looking for sh in 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin
Looking for sh in /nix/store/7w8b9g33z1vffv6y2swr3dbiddsrysdl-coreutils-8.7/bin
Looking for sh in 
/nix/store/zqzkczyp0pfxi8piw1lszhjnr53p28h5-findutils-4.4.2/bin
Looking for sh in /nix/store/4jadx4smsnz92p31v6y4b49lvccf277n-diffutils-3.0/bin
Looking for sh in /nix/store/52v147alz9mny3hg5va6y7jfd1rr4rk8-gnused-4.2.1/bin
Looking for sh in /nix/store/shjfhj9l4pm317liz9y6ak4ibkpv9vp8-gnugrep-2.7/bin
Looking for sh in /nix/store/kdj0y3lbvk6xl175v7xrdfm97drjry7x-gawk-3.1.8/bin
Looking for sh in /nix/store/s0cvbvq23hv4xazpl7srpdm04gs1l78j-gnutar-1.25/bin
Looking for sh in /nix/store/0x5s5xv0k7w58xvfaqswn80id5b8z2lx-gzip-1.4/bin
Looking for sh in /nix/store/6iyhp953ay3c0f9mmvw2xwvrxzr0kap5-bzip2-1.0.5/bin
Looking for sh in /nix/store/ahpgr8qzxx7m1khmdp8dhkkn83cdpz82-gnumake-3.82/bin
Looking for sh in /nix/store/j8rrk6dkrcaa8r1j5987g94154rkawy9-bash-4.1-p2/bin
Found sh - /nix/store/j8rrk6dkrcaa8r1j5987g94154rkawy9-bash-4.1-p2/bin/sh
Host System...x86_64-unknown-linux-gnu
Build System...x86_64-unknown-linux-gnu
Looking for cc in /nix/store/49wd5hr0wwac2dnfxcd3q64k2dvp53z7-tcl-8.5.7/bin
Looking for cc in /nix/store/42mpg3g8b570pm6v48q3ll2xq0mcg35p-openssl-1.0.0d/bin
Looking for cc in /nix/store/pssjwskay00fzfdv0xz1hfg16asc7y47-ncurses-5.7/bin
Looking for cc in 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin
Found cc - /nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin/cc
Looking for c++ in /nix/store/49wd5hr0wwac2dnfxcd3q64k2dvp53z7-tcl-8.5.7/bin
Looking for c++ in 
/nix/store/42mpg3g8b570pm6v48q3ll2xq0mcg35p-openssl-1.0.0d/bin
Looking for c++ in /nix/store/pssjwskay00fzfdv0xz1hfg16asc7y47-ncurses-5.7/bin
Looking for c++ in 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin
Found c++ - 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin/c++
Looking for ld in /nix/store/49wd5hr0wwac2dnfxcd3q64k2dvp53z7-tcl-8.5.7/bin
Looking for ld in /nix/store/42mpg3g8b570pm6v48q3ll2xq0mcg35p-openssl-1.0.0d/bin
Looking for ld in /nix/store/pssjwskay00fzfdv0xz1hfg16asc7y47-ncurses-5.7/bin
Looking for ld in 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin
Found ld - /nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin/ld
Looking for cc in /nix/store/49wd5hr0wwac2dnfxcd3q64k2dvp53z7-tcl-8.5.7/bin
Looking for cc in /nix/store/42mpg3g8b570pm6v48q3ll2xq0mcg35p-openssl-1.0.0d/bin
Looking for cc in /nix/store/pssjwskay00fzfdv0xz1hfg16asc7y47-ncurses-5.7/bin
Looking for cc in 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin
Found cc - /nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin/cc
Looking for ccache in /nix/store/49wd5hr0wwac2dnfxcd3q64k2dvp53z7-tcl-8.5.7/bin
Looking for ccache in 
/nix/store/42mpg3g8b570pm6v48q3ll2xq0mcg35p-openssl-1.0.0d/bin
Looking for ccache in 
/nix/store/pssjwskay00fzfdv0xz1hfg16asc7y47-ncurses-5.7/bin
Looking for ccache in 
/nix/store/2yghakb86zfivd2da4x1ipcz03xmz6rd-gcc-wrapper-4.5.1/bin
Looking for ccache in 
/nix/store/7w8b9g33z1vffv6y2swr3dbiddsrysdl-coreutils-8.7/bin
Looking for ccache in 
/nix/store/zqzkczyp0pfxi8piw1lszhjnr53p28h5-findutils-4.4.2/bin
Looking for ccache in 
/nix/store/4jadx4smsnz92p31v6y4b49lvccf277n-diffutils-3.0/bin
Looking for ccache in 
/nix/store/52v147alz9mny3hg5va6y7jfd1rr4rk8-gnused-4.2.1/bin
Looking for ccache in 
/nix/store/shjfhj9l4pm317liz9y6ak4ibkpv9vp8-gnugrep-2.7/bin
Looking for ccache in /nix/store/kdj0y3lbvk6xl175v7xrdfm97drjry7x-gawk-3.1.8/bin
Looking for ccache in 
/nix/store/s0cvbvq23hv4xazpl7srpdm04gs1l78j-gnutar-1.25/bin
Looking for ccache in /nix/store/0x5s5xv0k7w58xvfaqswn80id5b8z2lx-gzip-1.4/bin
Looking for ccache in 
/nix/store/6iyhp953ay3c0f9mmvw2xwvrxzr0kap5-bzip2-1.0.5/bin
Looking for ccache in 
/nix/store/ahpgr8qzxx7m1khmdp8dhkkn83cdpz82-gnumake-3.82/bin
Looking for ccache in 
/nix/store/j8rrk6dkrcaa8r1j5987g94154rkawy9-bash-4.1-p2/bin
Looking for ccache in 
/nix/store/h6p4p5pyybqiic0hhpqnhsw0ndp6w61w-patch-2.6.1/bin
Looking for ccache in 
/nix/store/7pfrbs0y30xi28wg73yzadv1dcjqp3l4-replace-2.24/bin
Looking for ccache in 
/nix/store/jdppx3yhx1lbxl01asplmil8jm0lqn82-patchelf-0.5/bin

Re: [fossil-users] The autosetup, and readline

2011-09-02 Thread Lluís Batlle i Rossell
On Fri, Sep 02, 2011 at 06:15:54PM +1000, Steve Bennett wrote:
 
 Thanks. Can you test this patch for me it see if it helps?

Now it outputs:
Checking for zlib.h...ok
Checking libs for inflateEnd...-lz
Checking for system ssl...ok
HTTP support enabled
Checking for readline/readline.h...Checking libs for gethostbyname...none needed
Checking libs for socket...none needed
Checking for getpassphrase...not found
Checking libs for getpass...none needed


It looks like it is not testing the symbol anymore.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] The autosetup, and readline

2011-09-02 Thread Steve Bennett
On 02/09/2011, at 6:24 PM, Lluís Batlle i Rossell wrote:

 On Fri, Sep 02, 2011 at 06:15:54PM +1000, Steve Bennett wrote:
 
 Thanks. Can you test this patch for me it see if it helps?
 
 Now it outputs:
 Checking for zlib.h...ok
 Checking libs for inflateEnd...-lz
 Checking for system ssl...ok
 HTTP support enabled
 Checking for readline/readline.h...Checking libs for gethostbyname...none 
 needed
 Checking libs for socket...none needed
 Checking for getpassphrase...not found
 Checking libs for getpass...none needed
 
 
 It looks like it is not testing the symbol anymore.

Ahh, I see. Ignore that patch.
It is because you are using Tcl rather than Jim Tcl.
I can reproduce it here. Will work on a fix.

Cheers,
Steve

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au  P: +61 434 921 300
E: ste...@workware.net.au   F: +61 7 3391 6002





___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] The autosetup, and readline

2011-09-02 Thread Steve Bennett
On 02/09/2011, at 6:24 PM, Lluís Batlle i Rossell wrote:

 On Fri, Sep 02, 2011 at 06:15:54PM +1000, Steve Bennett wrote:
 
 Thanks. Can you test this patch for me it see if it helps?
 
 Now it outputs:
 Checking for zlib.h...ok
 Checking libs for inflateEnd...-lz
 Checking for system ssl...ok
 HTTP support enabled
 Checking for readline/readline.h...Checking libs for gethostbyname...none 
 needed
 Checking libs for socket...none needed
 Checking for getpassphrase...not found
 Checking libs for getpass...none needed
 
 
 It looks like it is not testing the symbol anymore.

OK. Try this fix instead.

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au  P: +61 434 921 300
E: ste...@workware.net.au   F: +61 7 3391 6002






fossil-autosetup-tclsh-fix.patch
Description: Binary data
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] The autosetup, and readline

2011-09-02 Thread Lluís Batlle i Rossell
On Fri, Sep 02, 2011 at 07:43:21PM +1000, Steve Bennett wrote:
 On 02/09/2011, at 6:24 PM, Lluís Batlle i Rossell wrote:
  It looks like it is not testing the symbol anymore.
 
 OK. Try this fix instead.

It works, thank you!

I use tclsh, because that's the only way to be able to run make test after
building a new fossil. :)

Regards,
Lluís.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] The autosetup, and readline

2011-09-01 Thread Lluís Batlle i Rossell
Does the autosetup detect 'readline' for all of you?

For me, it says that it cannot find the 'readline' symbol in the lib.

I've tried to understand the autosetup code, and I found a trick that makes it
work, but I cannot tell why.

In my case, autosetup is even not running the test for the 'readline' symbol in
the lib (tested with --debug), so it really looks like something internal to
autosetup.

Help welcome.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] The autosetup, and readline

2011-09-01 Thread Steve Bennett
On 02/09/2011, at 7:43 AM, Lluís Batlle i Rossell wrote:

 Does the autosetup detect 'readline' for all of you?
 
 For me, it says that it cannot find the 'readline' symbol in the lib.
 
 I've tried to understand the autosetup code, and I found a trick that makes it
 work, but I cannot tell why.
 
 In my case, autosetup is even not running the test for the 'readline' symbol 
 in
 the lib (tested with --debug), so it really looks like something internal to
 autosetup.
 
 Help welcome.

Can you send me config.log from running with --debug?

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au  P: +61 434 921 300
E: ste...@workware.net.au   F: +61 7 3391 6002





___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users