tls for tcl

Ben Anderson banderson at infinetix.com
Thu Sep 18 22:39:35 UTC 2008


All,

I was hoping someone would have some pointers on how to setup a bb file
for tls for tcl.

The source I am trying to build is from here.

http://tls.sourceforge.net/


I have the following bbfile started.  Currently it fails because of the
reasons below.

---------------------------------------
DESCRIPTION = "TLS Openssl extention to TCL"
LICENSE = "tls"
SECTION = "devel/tls"
HOMEPAGE = "http://tls.sourceforge.net"
PR = "r0"

SRC_URI = "${SOURCEFORGE_MIRROR}/tls/tls${PV}-src.tar.gz"

S = "${WORKDIR}/tls${PV}"

inherit autotools

EXTRA_OECONF = "--enable-threads --with-tcl=? --with-tclinclude=?
--with-ssl-dir=?"

---------------------------------------

The problem is that it needs headers plus a tclConfig file.  It also
needs the directory to link to ssl (libs and includes).

I need to setup these directories (as seen in above bb file)

 --with-tcl              directory containing tcl configuration
                          (tclConfig.sh)
  --with-tclinclude       directory containing the public Tcl header
files
  --with-celib=DIR        use Windows/CE support library from DIR
  --with-ssl-dir=DIR      SSL root directory

The problem is I am not sure where they should point to.


I also image I need some more settings in the bb file like a line saying
that tcl and openssl are required to build.

thanks,

Ben Anderson





More information about the Openembedded-users mailing list