WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Private headers of Tcl and Tk are missing  (Read 4865 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Private headers of Tcl and Tk are missing
« on: September 25, 2010, 04:13:36 PM »
There are no extension providing private headers of Tcl and Tk. These are required to compile an application against Tcl/Tk.

See make install-private-headers

BTW current package is more than one year old.
« Last Edit: September 25, 2010, 04:15:49 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #1 on: September 25, 2010, 04:19:13 PM »
I will look to updating it in the coming days, and to include the private headers.

Offline andriscom

  • Newbie
  • *
  • Posts: 32
Re: Private headers of Tcl and Tk are missing
« Reply #2 on: October 05, 2010, 05:39:43 PM »
Great :) I'm planning to create a package from expect, and it also needs the private headers  ::)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #3 on: October 05, 2010, 07:07:44 PM »
This, as well as updating the gtk2 stack, the python 2.6 version renaming, not to mention daily extension uploading, are more than I can get done in a reasonable amount of time since my available TC time is currently scarce. 

I have posted it elsewhere, but there is always an open invitation for anyone to update any extension that has my name on it.  Usually I can keep them current, but when things get tight, extension auditing/uploading and general repo issues take priority and my own extensions take a back seat.   

Tcl_tk was made at a time when there was less factoring of extensions, so it could probably be separated into tcl and tk parts, as well as the -dev parts. 

So anyone needing this extension updated, feel free to do so.  Or I will get to it when I can, maybe this week.  But I don't want to hold up progress.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
« Last Edit: October 06, 2010, 07:13:51 AM by Arslan S. »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #5 on: October 06, 2010, 10:17:55 AM »
Hmm, I guess that was during the transition from 2.x to 3.x.

I will look today and see if the private headers are there and if so maybe copy them over.  At least for now until a version built on 3.x happens.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #6 on: October 06, 2010, 06:13:58 PM »
I am building the new 8.5.9 version of tcl and tk now with the private headers.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #7 on: October 06, 2010, 07:47:23 PM »
Uploading tcl.tcz, tcl-dev.tcz, tcl-doc.tcz, tk.tcz, tk-dev.tcz, tk-doc.tcz.

Please update your dep files as tcl_tk.tcz has been replaced by tk.tcz in the dep files.  Then delete tcl_tk.tcz from your tce directory.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Private headers of Tcl and Tk are missing
« Reply #8 on: October 07, 2010, 01:11:41 AM »
Jason, thanks for putting in the effort in maintaing all those extensions and managing the repository. I realize that there is quite a lot of your time involved, so I hope you don't mind me asking this:

I was wondering whether you have changed the build parameters, as I noticed a certain increase in size. I did a comparison between the old 'tcl_tk.tcz' and a combination of the new 'tcl.tcz' and 'tk.tcz'. It appears the (uncompressed) size went up from 5167 kBytes to 9160, a delta of 3993. Sure there are several little differences, but what stands out is the fact that an additional directory (i.e. '/usr/local/lib/tcl8.5/tzdata') appears in 'tcl.tcz', which adds 3176 kBytes. I have the hunch that the inclusion of this might be optional. In the end I guess have we the Olson files via the 'tzdata.tcz' extension, no?

Mind you the 't(cl|k).tcz' files are not as large as the ones in the 2.x repository, which IIRC contain all the '-doc' and '-dev' parts that you have thankfully split off into their own files.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Private headers of Tcl and Tk are missing
« Reply #9 on: October 07, 2010, 03:09:28 AM »
Jason,

thanks for updating. Fast check with a Tkinter application on Python-2.7 shows it works fine.

tclConfig.sh and tkConfig.sh which are used by other programs to find configuration details for their own build process contain full absolute directoy path, like /mnt/hda2/... This prevents building application against. At the moment it is just for information, do nothing with. I will play with and see what is the best (or at least working) solution.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #10 on: October 07, 2010, 07:47:55 AM »
Thanks, I will look at how other distros deal with that and correct it.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #11 on: October 07, 2010, 09:24:58 AM »
From the Arch linux build file, I can't believe I missed it as I used it as a guide;

Code: [Select]
sed -i \
    -e "s,^TK_BUILD_LIB_SPEC='-L.*/unix,TK_BUILD_LIB_SPEC='-L/usr/lib," \
    -e "s,^TK_SRC_DIR='.*',TK_SRC_DIR='/usr/include'," \
    -e "s,^TK_BUILD_STUB_LIB_SPEC='-L.*/unix,TK_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
    -e "s,^TK_BUILD_STUB_LIB_PATH='.*/unix,TK_BUILD_STUB_LIB_PATH='/usr/lib," \
    ${pkgdir}/usr/lib/tkConfig.sh


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Private headers of Tcl and Tk are missing
« Reply #12 on: October 07, 2010, 09:21:28 PM »
Uploading corrected tcl and tk, thanks for pointing out the error.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Private headers of Tcl and Tk are missing
« Reply #13 on: October 08, 2010, 02:16:00 AM »
Thanks, now it looks OK.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."