Tcl/Tk source ?

1998-03-10 Thread Markus Lechner
Hi all,

i'm expieriencing a problem when compiling different packages which use
Tcl/Tk. The problem is that make ends up with an error complaining about
a missing tcl.h and tk.h. The paths are set accordingly. Do i use the
wrong versions (Tcl7.6, Tk4.2, and all the runtime-libs)?
So i thought, it would be a good idea to get the source from a
debian-server - but found none. Is there a .deb source-package for
Tcl/Tk?
Do i need the source to compile other packages?
Is the non-debian source usable?

Maybe someone knows... ;-)


Mac



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Tcl/Tk source ?

1998-03-10 Thread David Z. Maze

Markus Lechner [EMAIL PROTECTED] writes:
ML i'm expieriencing a problem when compiling different packages
ML which use Tcl/Tk. The problem is that make ends up with an error
ML complaining about a missing tcl.h and tk.h. The paths are set
ML accordingly. Do i use the wrong versions (Tcl7.6, Tk4.2, and all
ML the runtime-libs)?

In most cases, header files are included only with the -dev packages.
On my (hamm) system, tcl.h is in the tcl8.0-dev package; try
installing this or an equivalent package on your system.

ML So i thought, it would be a good idea to get the source from a
ML debian-server - but found none. Is there a .deb source-package for
ML Tcl/Tk?

There's not a general case of a .deb source package in the same
sense as an SRPM.  Debian sources are distributed as a tarball
(ideally one downloaded from some upstream source) and a gzipped patch
file.  If you download these two and the corresponding .dsc file, you
can use dpkg-source (in the dpkg-dev package) to unpack the source
tree.  For hamm, you can find tcl8.0 sources at
ftp://ftp.debian.org/debian/dists/unstable/main/source/tcl8.0_8.0p2{-2.diff.gz,-2.dsc,.orig.tar.gz}.

ML Do i need the source to compile other packages?

I wouldn't think so.  Usually the -dev package is sufficient.  (The
-dev package _should_ be sufficient.)

ML Is the non-debian source usable?

Probably; it's most likely identical to the tcl...orig.tar.gz file off 
the ftp site.  Note that if you build the source yourself, dpkg won't
know that you've installed tcl and will give you lots of dependency
errors.  This is poor.

-- 
 _
/ \  The cat's been in the box for over
|  David Maze |  20 years.  Nobody's feeding it.  The
| [EMAIL PROTECTED]   |cat is dead.
| http://donut.mit.edu/dmaze/ |  -- Grant, on Schroedinger's Cat
\_/


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Tcl/Tk source ?

1998-03-10 Thread Markus Lechner
Thanks, this information helps a lot.

 Note that if you build the source yourself, dpkg won't
 know that you've installed tcl and will give you lots of dependency
 errors.  This is poor.


I wondered if there is a way to 'mimic' install/remove with dpkg?


Thanks,

Mac



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Tcl/Tk source ?

1998-03-10 Thread Rich Puhek

On Tue, 10 Mar 1998, Markus Lechner wrote:

 Thanks, this information helps a lot.
 
  Note that if you build the source yourself, dpkg won't
  know that you've installed tcl and will give you lots of dependency
  errors.  This is poor.
 
 
 I wondered if there is a way to 'mimic' install/remove with dpkg?
 
 
 Thanks,
 
 Mac
 
 

If you go to /var/lib/dpkg, you will find a file called status. This
appears to be how dselect keeps track of what's installed/configured/etc.
The format is pretty self explanitory, so you should be able to hack the
status line of the package in question, fooling dselect into thinking it
installed the package.

Rich


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Tcl/Tk source ?

1998-03-10 Thread Markus Lechner
Rich Puhek wrote:

 If you go to /var/lib/dpkg, you will find a file called status. This
 appears to be how dselect keeps track of what's
installed/configured/etc.
 The format is pretty self explanitory, so you should be able to hack
the
 status line of the package in question, fooling dselect into
thinking it
 installed the package.

Yes, i'll try this. When i get this working (with a few selfmade
scripts) then debian
is real good to maintain without debianizing every package that i
installed on my
machine. Thanks :-)


Mac





--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Tcl/Tk source ?

1998-03-10 Thread Markus Lechner
Yep, that's it :-)

Many thanks.

Mac



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Tcl/Tk source ?

1998-03-10 Thread Igor Grobman
 

  
  I wondered if there is a way to 'mimic' install/remove with dpkg?
  
  
  Thanks,
  
  Mac
  
  
 
 If you go to /var/lib/dpkg, you will find a file called status. This
 appears to be how dselect keeps track of what's installed/configured/etc.
 The format is pretty self explanitory, so you should be able to hack the
 status line of the package in question, fooling dselect into thinking it
 installed the package.


Mucking with status file is a Very Bad Idea (tm).  There was ascii2deb utility 
floating around in random .deb files ;-) a while ago.  It does not seem to be 
present in hamm.  There is also an equivs package available in hamm which 
should do the job well.  Due to its nature, you should be safe with installing 
it on a bo system (it does not use libc6 and such)


-- 
Proudly running Debian Linux! Linux vs. Windows is a no-Win situation
Igor Grobman   [EMAIL PROTECTED] [EMAIL PROTECTED] 



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .