View Ticket
Ticket Hash: 854f0e38eb901be684f83d842999cc49a7ae2536
Title: FreeBSD - ssp.h: No such file or directory
Status: Closed Type: Build Problem
Severity: Severe Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2024-10-08 22:05:24
Version Found In: 1.8.0 tcltls-216954cfae
User Comments:
anonymous added on 2024-10-08 21:14:27:

When executing make, I receive an error that ssp.h doesn't exist, yet it does.

/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd15.0/13.3.0/include/ssp/stdio.h:38:10: fatal error: ssp.h: No such file or directory
38 | #include <ssp.h>

yet it exists

[root@navitcl2 /srv/~scrap/tcltls-216954cfae]# locate ssp.h
/usr/include/ssp/ssp.h
[root@navitcl2 /srv/~scrap/tcltls-216954cfae]# ls -lha /usr/include/ssp/ssp.h
-r--r--r--  1 root wheel  4.0K Aug 22 04:24 /usr/include/ssp/ssp.h

any thoughts?

Many Thanks, -mookie


anonymous added on 2024-10-08 21:28:45:

additional: tcltls-bc6ff74449 builds but doesn't install


anonymous added on 2024-10-08 21:34:46:

tcltls-1505883e4a -- compiles, obtained from branch tls-1.8.0

but requires configure and Makefile from tcltls-bc6ff74449 to compile correctly.

-mookie


anonymous added on 2024-10-08 22:05:24:

Branch

tcltls-1505883e4a
https://core.tcl-lang.org/tcltls/info/1505883e4a18b50e

Error

checking for OpenSSL pkgconfig... 
./configure: : Permission denied
checking for tclsh... /srv/~scrap/tcl9.0.0/unix/tclsh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl

[root@navitcl2 /srv/~scrap/tcltls/tcltls-1505883e4a]# make
sed -e '/^\\s*\#/d' -e '/^\\s*$/d' -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/^/"/' -e 's/$/\\n\"/' < `echo ` > tls.tcl.h || { rm -f tls.tcl.h; exit 1; }
/bin/sh: cannot open : No such file or directory
*** Error code 1
Stop.
make: stopped making "all" in /srv/~scrap/tcltls/tcltls-1505883e4a

Branch

tcltls-bc6ff744494d3b41
https://core.tcl-lang.org/tcltls/info/bc6ff744494d3b41

compiles
makes
make install fails

Error

/bin/sh: cannot open ./tclconfig/install-sh: No such file or directory
*** Error code 127
Stop.
make: stopped making "install" in /srv/~scrap/tcltls/tcltls-bc6ff74449

this can be fixed by copying ./tclconfig from tcltls-1505883e4a

 cp -R ../tcltls-1505883e4a/tclconfig/ ./tclconfig/
 make install
 Installing header files in /srv/tcl/include
 Installing ./generic/tls.h

and then is loadable.

% package require tls
1.8.0

However, if I copy Makefile and configure from bc6ff744494d3b41 in to tcltls-1505883e4a -- this enables compilation and installable but not loadable within TCL9

% package require tls
invalid command name "cipher_is_aead"