This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compile problem


onsdagen den 24 januari 2001 18:25 skrev Stan Shebs:
> Erik Sigra wrote:
> > I have had this for a few days now. I don't think I changed any TCL stuff
> > on my system.
> >
> > gcc -c -g  -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
> > -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
> > -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
> > -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
> > -DHAVE_TIMEZONE_VAR=1
> > -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> > -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1       
> > -DTCL_SHLIB_EXT=\".so\" ./../generic/tclPosixStr.c
> > ./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
> > ./../generic/tclPosixStr.c:340: duplicate case value
> > ./../generic/tclPosixStr.c:328: this is the first entry for that value
> > ./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
> > ./../generic/tclPosixStr.c:787: duplicate case value
> > ./../generic/tclPosixStr.c:775: this is the first entry for that value
>
> Did you perhaps do an update -d and get the tcl sources out of the
> repository?  This is typical of older tcl sources being compiled
> on newer Linux, but the tcl already in your system should be
> adequate.  (The error comes about because some Linux error numbers
> have been changed to have the same value, and the old tcl code
> was surprised about this...)

Thanks! Now that you mention it I remember that I recently transferred my 
xconq directory to another user accont on my system. And when I look at the 
~/.cvsrc of that new user account, I find this:

cvs -z4 -q
diff -u3 -p
update -dP
checkout -P

So I guess you are right about -d. I added thoose 4 lines when I started 
using KDE from cvs, because the instructions on 
<http://www.kde.org/anoncvs.html> told me to do it. When updating any program 
from cvs, I just do "cvs up".

So do I have to go back to updating xconq from another account than KDE or 
what should I do?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]