OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004652 [tcl] packaging major always 2011-01-02 13:13 2012-10-26 11:05
Reporter pfelecan View Status public  
Assigned To dam
Priority normal Resolution open  
Status feedback  
Summary 0004652: uncomplete packaging
Description Some projects use Tcl/Tk to provide a graphical interface, e.g., gdb. For that, they need some "private headers" situated in /opt/csw/include/tcl-private. The current package doesn't contain these components.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
dam (administrator)
2012-10-03 16:14

CSWtcl-dev 8.5.12,REV=2012.09.10 should contain the private headers, although in the standard location. Would you mind giving it a try?
pfelecan (developer)
2012-10-04 16:23

I tried with gdb and it doesn't detect the "private Tcl headers" as it looks for the value of TCL_INCLUDE_SPEC from /opt/csw/lib/ to which it appends /tcl-private/generic; the resulting path must contain the tclInt.h

This is the "standard" configure way to test the existence of the Tcl components to generate the corresponding binding.

I think that the same is true for Tk.
dam (administrator)
2012-10-04 16:35

Hi Peter,

the appending of /tcl-private/generic was only valid in the old TCL, the current CSWtcl-dev has tclInt.h in /opt/csw/include as specified in
I suggest patching the detect to not append anything.
pfelecan (developer)
2012-10-05 10:06
edited on: 2012-10-05 10:38

IMHO, patching is not the best option.

The detection mechanism is implemented in an autoconf file, e.g. tcl.m4 in /opt/csw/share/aclocal. BTW, the corresponding file is missing in your package.

If you take a look in the Debian package, you can see that in tcl 8.5 the detection mechanism changed and that is reflected in the tcl8.5.m4

A lot of other projects offering bindings with Tcl use this mechanism. If we wish to provide a good maintainer experience we should follow the usages of the community.

dam (administrator)
2012-10-05 12:05

Sure, should I just add unix/tcl.m4 from the distribution to CSWtcl-dev at /opt/csw/share/aclocal ?
Or is there something else needed?
pfelecan (developer)
2012-10-05 15:52

Adding unix/tcl.m4 is a good thing. Additionally, preserving the private structure is also necessary (Debian gives you a good example)
dam (administrator)
2012-10-22 23:41

I browsed around the debian site but couldn't find the build description. Would you mind dropping a link?
pfelecan (developer)
2012-10-26 11:05

The recipe itself is [^] and the global maintainer page is [^]

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker