Re: [fossil-users] compile fossil with-tcl on openbsd

2017-01-01 Thread Joe Mistachkin

I recommend the following Tcl related arguments to ./configure:

--with-tcl=1 --with-tcl-private-stubs=1

Sent from my iPhone
https://urn.to/r/mistachkin

> On Jan 1, 2017, at 5:46 PM, jungle boogie  wrote:
> 
> Hi All,
> 
> Happy New year! Best wishes in 2017 for all of you.
> 
> I'm running openbsd -current and attempting to configure fossil from trunk to
> compile with --with-tcl=/usr/local/bin but I get this:
> 
> $ ./configure --with-tcl=/usr/local/bin/
> Host System...amd64-unknown-openbsd6.0
> Build System...amd64-unknown-openbsd6.0
> C compiler... cc -g -O2
> C++ compiler... c++ -g -O2
> Build C compiler...cc
> Checking for stdlib.h...ok
> Checking for uint32_t...ok
> Checking for uint16_t...ok
> Checking for int16_t...ok
> Checking for uint8_t...ok
> Checking for pread...ok
> Checking for tclsh...no
> Checking for zlib.h...ok
> Checking for inflateEnd in z...-lz
> Checking for ssl via pkg-config...ok
> HTTPS support enabled
> Error: Cannot find Tcl at /usr/local/bin/
> Try: 'configure --help' for options
> 
> The find-tclsh script finds it:
> $ sh autosetup/find-tclsh
> /usr/local/bin/tclsh8.6
> 
> Without specifying a directory:
> $ ./configure --with-tcl
> Host System...amd64-unknown-openbsd6.0
> Build System...amd64-unknown-openbsd6.0
> C compiler... cc -g -O2
> C++ compiler... c++ -g -O2
> Build C compiler...cc
> Checking for stdlib.h...ok
> Checking for uint32_t...ok
> Checking for uint16_t...ok
> Checking for int16_t...ok
> Checking for uint8_t...ok
> Checking for pread...ok
> Checking for tclsh...no
> Checking for zlib.h...ok
> Checking for inflateEnd in z...-lz
> Checking for ssl via pkg-config...ok
> HTTPS support enabled
> Error: Cannot find Tcl on your system
> Try: 'configure --help' for options
> 
> 
> I thought I had previously tclsh compiled with fossil, but I can't confirm 
> that
> and I don't recall 100%.
> 
> What's fossil looking for and how do I get it compiled with tcl?
> 
> Thanks!
> 
> If this matters, here's the config.log:
> $ cat config.log
> Invoked as: ./configure --with-tcl
> Failed: cc -g -O2 conftest__.c -o conftest__
> /tmp//cciPpc4x.o: In function `main':
> /home/jungle/fossil-repos/Fossil-e38d5e1c/conftest__.c:3: undefined reference 
> to `inflateEnd'
> collect2: ld returned 1 exit status
> child process exited abnormally
> 
> The failed code was:
> extern void inflateEnd(void);
> int main(void) {
> inflateEnd();
> return 0;
> }
> 
> 
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> 

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


[fossil-users] compile fossil with-tcl on openbsd

2017-01-01 Thread jungle boogie

Hi All,

Happy New year! Best wishes in 2017 for all of you.

I'm running openbsd -current and attempting to configure fossil from 
trunk to

compile with --with-tcl=/usr/local/bin but I get this:

$ ./configure --with-tcl=/usr/local/bin/
Host System...amd64-unknown-openbsd6.0
Build System...amd64-unknown-openbsd6.0
C compiler... cc -g -O2
C++ compiler... c++ -g -O2
Build C compiler...cc
Checking for stdlib.h...ok
Checking for uint32_t...ok
Checking for uint16_t...ok
Checking for int16_t...ok
Checking for uint8_t...ok
Checking for pread...ok
Checking for tclsh...no
Checking for zlib.h...ok
Checking for inflateEnd in z...-lz
Checking for ssl via pkg-config...ok
HTTPS support enabled
Error: Cannot find Tcl at /usr/local/bin/
Try: 'configure --help' for options

The find-tclsh script finds it:
$ sh autosetup/find-tclsh
/usr/local/bin/tclsh8.6

Without specifying a directory:
$ ./configure --with-tcl
Host System...amd64-unknown-openbsd6.0
Build System...amd64-unknown-openbsd6.0
C compiler... cc -g -O2
C++ compiler... c++ -g -O2
Build C compiler...cc
Checking for stdlib.h...ok
Checking for uint32_t...ok
Checking for uint16_t...ok
Checking for int16_t...ok
Checking for uint8_t...ok
Checking for pread...ok
Checking for tclsh...no
Checking for zlib.h...ok
Checking for inflateEnd in z...-lz
Checking for ssl via pkg-config...ok
HTTPS support enabled
Error: Cannot find Tcl on your system
Try: 'configure --help' for options


I thought I had previously tclsh compiled with fossil, but I can't 
confirm that

and I don't recall 100%.

What's fossil looking for and how do I get it compiled with tcl?

Thanks!

If this matters, here's the config.log:
$ cat config.log
Invoked as: ./configure --with-tcl
Failed: cc -g -O2 conftest__.c -o conftest__
/tmp//cciPpc4x.o: In function `main':
/home/jungle/fossil-repos/Fossil-e38d5e1c/conftest__.c:3: undefined 
reference to `inflateEnd'

collect2: ld returned 1 exit status
child process exited abnormally

The failed code was:
extern void inflateEnd(void);
int main(void) {
inflateEnd();
return 0;
}


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