Re: [fossil-users] Can't build Fossil 1.34 with Tcl 8.5

2015-11-04 Thread Joe Mistachkin

Piotr Orzechowski wrote:
> 
> Trying "make distclean" did not help, the error persisted.
> 

Odd, it did work here (i.e. adding "--with-tcl-private-stubs=1"
to configure after "make distclean").

> 
> #define Tcl_Canceled(a,b) TCL_OK did its job well. :)
> 

Glad to hear it.

--
Joe Mistachkin

___
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] Can't build Fossil 1.34 with Tcl 8.5

2015-11-03 Thread Piotr Orzechowski
Trying "make distclean" did not help, the error persisted.
#define Tcl_Canceled(a,b) TCL_OK did its job well. :)

Thanks, Joe!

Pozdrawiam / With best regards,
Orzech

W dniu 03.11.2015 o 04:34, Joe Mistachkin pisze:
> Did you try "make distclean" first?
> I wrote both the Tcl and Fossil code in question and I can personally assure
> you that it is safe (also I just tried it myself).  Simply run "./configure"
> with the desired arguments and then add the necessary line to "autoconfig.h"
> before running "make".  You may need to run "make distclean" first if there
> are compiled files from a previous attempt around.
>
> --
> Joe Mistachkin
>




signature.asc
Description: OpenPGP digital signature
___
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] Can't build Fossil 1.34 with Tcl 8.5

2015-11-02 Thread Jan Nijtmans
2015-11-02 23:43 GMT+01:00 Piotr Orzechowski :
> Hi,
>
> I can't build Fossil 1.34 with Tcl 8.5 (8.5.0-2.1) on fully up-to-date
> Debian Wheezy 64-bit.
>
> I configure Fossil with:
>
> ./configure --prefix=/opt --with-openssl --with-tcl=/usr/lib/tcl8.5
> --with-th1-hooks --json --with-zlib

Just add the options --with-tcl-stubs and --with-tcl-private-stubs,
then it will work fine. (Don't ask me why this isn't the default
when using --with-tcl, I think it should be)

Regards,
 Jan Nijtmans
___
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] Can't build Fossil 1.34 with Tcl 8.5

2015-11-02 Thread Piotr Orzechowski
Thanks, guys.

Adding --with-tcl-stubs and --with-tcl-private-stubs did not help.
I still get the:

bld/th_tcl.o: In function `evaluateTclWithEvents':
/fossil-src-1.34/./src/th_tcl.c:1069: undefined
reference to `Tcl_Canceled'
collect2: error: ld returned 1 exit status
make: *** [fossil] Błąd 1

That #define looks scary, to be honest. ;)

Pozdrawiam / With best regards,
Orzech

W dniu 02.11.2015 o 23:52, Joe Mistachkin pisze:
> Piotr Orzechowski wrote:
>> /fossil-src-1.34/./src/th_tcl.c:1069: undefined
>> reference to `Tcl_Canceled'
>> collect2: error: ld returned 1 exit status
>> make: *** [fossil] Error 1
>>
> Thanks for the report.  There are a couple workarounds:
>
>   1. use "--with-tcl-private-stubs=1" with configure.
>   2. #define Tcl_Canceled(a,b)  TCL_OK
>
> --
> Joe Mistachkin
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
W dniu 02.11.2015 o 23:50, Jan Nijtmans pisze:
> 2015-11-02 23:43 GMT+01:00 Piotr Orzechowski :
>> Hi,
>>
>> I can't build Fossil 1.34 with Tcl 8.5 (8.5.0-2.1) on fully up-to-date
>> Debian Wheezy 64-bit.
>>
>> I configure Fossil with:
>>
>> ./configure --prefix=/opt --with-openssl --with-tcl=/usr/lib/tcl8.5
>> --with-th1-hooks --json --with-zlib
> Just add the options --with-tcl-stubs and --with-tcl-private-stubs,
> then it will work fine. (Don't ask me why this isn't the default
> when using --with-tcl, I think it should be)
>
> Regards,
>  Jan Nijtmans
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users



signature.asc
Description: OpenPGP digital signature
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Can't build Fossil 1.34 with Tcl 8.5

2015-11-02 Thread Piotr Orzechowski
Hi,

I can't build Fossil 1.34 with Tcl 8.5 (8.5.0-2.1) on fully up-to-date
Debian Wheezy 64-bit.

I configure Fossil with:

./configure --prefix=/opt --with-openssl --with-tcl=/usr/lib/tcl8.5
--with-th1-hooks --json --with-zlib

And I then get the following from make:

/fossil-src-1.34/./src/th_tcl.c:1069: undefined
reference to `Tcl_Canceled'
collect2: error: ld returned 1 exit status
make: *** [fossil] Error 1

There was no such problem with Fossil 1.33 and there was no such problem
on Debian 8 Jessie with Tcl 8.6.

-- 

Pozdrawiam / With best regards,
Orzech




signature.asc
Description: OpenPGP digital signature
___
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] Can't build Fossil 1.34 with Tcl 8.5

2015-11-02 Thread Joe Mistachkin

Piotr Orzechowski wrote:
>
> /fossil-src-1.34/./src/th_tcl.c:1069: undefined
> reference to `Tcl_Canceled'
> collect2: error: ld returned 1 exit status
> make: *** [fossil] Error 1
> 

Thanks for the report.  There are a couple workarounds:

1. use "--with-tcl-private-stubs=1" with configure.
2. #define Tcl_Canceled(a,b)  TCL_OK

--
Joe Mistachkin

___
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] Can't build Fossil 1.34 with Tcl 8.5

2015-11-02 Thread Joe Mistachkin

Piotr Orzechowski wrote:
> 
> Adding --with-tcl-stubs and --with-tcl-private-stubs did not help.
> 

Did you try "make distclean" first?

>
> That #define looks scary, to be honest. ;) 
>

I wrote both the Tcl and Fossil code in question and I can personally assure
you that it is safe (also I just tried it myself).  Simply run "./configure"
with the desired arguments and then add the necessary line to "autoconfig.h"
before running "make".  You may need to run "make distclean" first if there
are compiled files from a previous attempt around.

--
Joe Mistachkin

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