Opened 11 years ago

Closed 11 years ago

#612 closed defect (fixed)

TCL_INC not specifyable in xapian-bindings

Reported by: Dagobert Michelsen Owned by: Olly Betts
Priority: normal Milestone: 1.2.14
Component: Xapian-bindings (Tcl) Version: 1.2.13
Severity: blocker Keywords:
Cc: Blocked By:
Blocking: Operating System: Solaris


The value of TCL_INC is hardcoded in in the xapian-bindings:

      dnl There's no obvious way to get "/usr/include/tcl8.N" directly, so
      dnl first we find the prefix Tcl is installed under (e.g. "/usr") from
      dnl the path on TCLSH (or default to /usr if the path doesn't contain
      dnl "/bin/"), and then we add "/include/tcl" and $tcl_version.
      tcl_prefix=`echo "$TCLSH"|sed 's!/bin/.*!!p;d'`
      test -n "$tcl_prefix" || tcl_prefix=/usr

As tcl.h may be anywhere (like $prefix/include/tcl.h) it should be possible to specify its value in the same way as LUA_INC.

Change History (2)

comment:1 by Olly Betts, 11 years ago

Milestone: 1.2.14
Owner: set to Olly Betts
Status: newassigned

Fix in trunk r17075.

comment:2 by Olly Betts, 11 years ago

Resolution: fixed
Status: assignedclosed

Backported for 1.2.14 in r17081.

Note: See TracTickets for help on using tickets.