tclX, tcl-dp, and Slackware 3.0

tclX, tcl-dp, and Slackware 3.0

Post by Colin R. Kel » Wed, 07 Feb 1996 04:00:00



Hello All,

        Has anyone gotten tcp-dp or tclX 7.4 to compile under Slackware 3.0??
I grabbed sources for both from ftp.aud.alcatel.com, but they both
give me an error saying "redefinition of struct iovec" from the
<sys/uio.h> include file. In both cases, an array of iovec structures
is declared in the section of code where the error occurs.
        Has anyone encountered this before? Is it a tcl problem or a Linux
problem?

Thanks for any answers,
        -Colin

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Colin R. Kelly                  |  The Internet, of course, is more than



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

tclX, tcl-dp, and Slackware 3.0

Post by 1CMC3.. » Wed, 07 Feb 1996 04:00:00




Quote:

>Hello All,

>        Has anyone gotten tcp-dp or tclX 7.4 to compile under Slackware 3.0??
>I grabbed sources for both from ftp.aud.alcatel.com, but they both
>give me an error saying "redefinition of struct iovec" from the
><sys/uio.h> include file. In both cases, an array of iovec structures
>is declared in the section of code where the error occurs.
>        Has anyone encountered this before? Is it a tcl problem or a Linux
>problem?

  Get Tcl-7.5b1 & Tk-4.1b1 from ftp.smli.com; these will compile because
I compiled them myself last night with no problems.

Curtiss

 
 
 

tclX, tcl-dp, and Slackware 3.0

Post by John Timmer » Fri, 09 Feb 1996 04:00:00







> >>Hello All,

> >>        Has anyone gotten tcp-dp or tclX 7.4 to compile under Slackware 3.0??
> >>I grabbed sources for both from ftp.aud.alcatel.com, but they both
> >>give me an error saying "redefinition of struct iovec" from the
> >><sys/uio.h> include file. In both cases, an array of iovec structures
> >>is declared in the section of code where the error occurs.
> >>        Has anyone encountered this before? Is it a tcl problem or a Linux
> >>problem?

> >  Get Tcl-7.5b1 & Tk-4.1b1 from ftp.smli.com; these will compile because
> >I compiled them myself last night with no problems.

> To compile tcl an tk is not the problem!
> I ran into the same trouble like Colin R. Kelly. tcl and tk compile straight
> out of the box. (GCC2.7.2,Kernel 1.3.57 and newest libraries).
> tclX and tcl-dp don't. I played several hours with my configuration but
> finally I had to give up.
> Any suggestions or ideas?
> Who managed to compile and how?
> Thanks in advance

> Marcus



Hello, heres a message I saw quite a while ago, that was of enormous benefit to
me -- in others words, it'll solve your compile time probs:

Quote:>>Has anyone been able to get tcl-dp 3.2 to compile under                      
>>Linux?                                                                        

[...]                                                                          

Quote:>Maybe you can help me a bit 'cause I get errors on duplicate                  
>declarations when compiling it too. It says something like                    
>'conflicting types for ntohl' and                                              
>'conflicting types for htonl' when compiling dpnetwork.c - please              
>e-mail me.                                                                    

These are very well known bugs in the v3.2 release.  Just go into the          
dpnetwork.c file and change the #if guard name from NTOHL to HTONL (or          
maybe the other way 'round :-) and it will magically work.                      

You probably should ask Tcl/Tk related questions on comp.lang.tcl (and          

Quote:>After this I found tcl-dp3.3b1 on harbour.ecu.purdue.edu which                
>compiled quite fine after some work on it.                                    

Right, this is actually a pretty big release.  It's got lots of nice stuff.    
--
Regards -- my other signature is illegible...


 
 
 

tclX, tcl-dp, and Slackware 3.0

Post by M. Jodo » Fri, 09 Feb 1996 04:00:00






>>Hello All,

>>        Has anyone gotten tcp-dp or tclX 7.4 to compile under Slackware 3.0??
>>I grabbed sources for both from ftp.aud.alcatel.com, but they both
>>give me an error saying "redefinition of struct iovec" from the
>><sys/uio.h> include file. In both cases, an array of iovec structures
>>is declared in the section of code where the error occurs.
>>        Has anyone encountered this before? Is it a tcl problem or a Linux
>>problem?

>  Get Tcl-7.5b1 & Tk-4.1b1 from ftp.smli.com; these will compile because
>I compiled them myself last night with no problems.

To compile tcl an tk is not the problem!
I ran into the same trouble like Colin R. Kelly. tcl and tk compile straight
out of the box. (GCC2.7.2,Kernel 1.3.57 and newest libraries).
tclX and tcl-dp don't. I played several hours with my configuration but
finally I had to give up.
Any suggestions or ideas?
Who managed to compile and how?
Thanks in advance

Marcus


 
 
 

tclX, tcl-dp, and Slackware 3.0

Post by Bart Peire » Tue, 13 Feb 1996 04:00:00



Yep, check you include files, the uio.h that comes whith newer kernels
breaks the one from the gcc lib

>Hello All,
>    Has anyone gotten tcp-dp or tclX 7.4 to compile under Slackware 3.0??
>I grabbed sources for both from ftp.aud.alcatel.com, but they both
>give me an error saying "redefinition of struct iovec" from the
><sys/uio.h> include file. In both cases, an array of iovec structures
>is declared in the section of code where the error occurs.
>    Has anyone encountered this before? Is it a tcl problem or a Linux
>problem?
>Thanks for any answers,
>    -Colin

>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Colin R. Kelly                  |  The Internet, of course, is more than



>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

tclX, tcl-dp, and Slackware 3.0

Post by Gated From Fi » Thu, 15 Feb 1996 04:00:00


---> This message gated from Fido at 1:255/9.0
---> Original message by Doug Mclean


said the following about Re: tclX, tcl-dp, and Slackware 3.0:

 M> To compile tcl an tk is not the problem!
 M> I ran into the same trouble like Colin R. Kelly. tcl and
tk compile
 M> straight
 M> out of the box. (GCC2.7.2,Kernel 1.3.57 and newest libraries).
 M> tclX and tcl-dp don't. I played several hours with my configuration
but
 M> finally I had to give up.
 M> Any suggestions or ideas?
 M> Who managed to compile and how?
 M> Thanks in advance

I managed to compile tcl-dp3.3b1 under Slackware 3.0 (ELF).
I can't remember exactly what I had to do, but I spent a bit
of time to get it working because I wanted to use Zircon. If
you want, I can email you the binaries (about 94K).


Pro v1.0
 * Origin: The Mad Scientist's BBS 506-636-9117 (1:255/9)        

 
 
 

tclX, tcl-dp, and Slackware 3.0

Post by Mark Neil » Tue, 20 Feb 1996 04:00:00


I did figure out the problem, and it was for the same reason (trying to
get Zircon compiled :).

Pick someplace to un-tar all 3 packages into (Tcl, Tk, and Tcl-dp).
Make Tcl, then make Tk.  Then, DO NOT DELETE THE SOURCE TREES.  The
Tcl-dp makefile is looking for that directory to exist ro pull a library
and some header files out of.  For example, my tree looked like this...

(root partition)  \
                   |-source\
                            |-Tcl-7.4
                            |-Tk-3.2
                            |-Tcl-dp-3.0

Don't delete the expanded source directories until after everything is
made and installed.  Then you can go back and delete the source trees.

                                                --Mark

 
 
 

1. HELP: tclX/dp-tcl for linux

Hello,

I was wondering if someone managed to compile any of the above packages
under linux. The previous Slackware distributions used to include tclx,
but it got lost in 3.0. I tried to compile both packages myself, as they
are needed for compiling and installing Zircon (an IRC client), but
despite all my efforts (including hacking the makefiles and configs
again and again), both refuse to compile cleanly :(.

Thanks,

Gilad Gam.

2. Linksys NIC help

3. tcl-dp and term114?

4. Floods of DNS Requests

5. Problems compiling groupkit & tcl-dp

6. While we're talking about TTfonts

7. Trouble Compiling tcl-dp !!

8. XDMCP & Redhat 5.1

9. Problems building tcl-dp

10. TclX for Slackware 3.0

11. tcl-dp Package for linux? Anyone built it?

12. TCL-DP compiling problems

13. Compiled tcl-dp