public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tcsh 6.08: solutions & problems
@ 2000-09-05 20:38 Jayen Ashar
  2000-09-06  5:20 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Jayen Ashar @ 2000-09-05 20:38 UTC (permalink / raw)
  To: cygwin

Hello, all!  I have been trying to get tcsh as my login shell and have
run into many problems.
I got binaries off ftp.astron.com and installed them.  I changed
cygwin.bat to use "tcsh -l" instead of "bash --login -i".  It looked
okay, except it wouldn't load my .tcshrc.  So I "ported" /etc/profile to
/etc/csh.cshrc.  It still didn't load, and it turned out that tcsh
thought / was C:\, even though mount reported / was C:\cygwin.
So I figured tcsh needed to be compiled under cygwin in order for tcsh
to detect the right mount points.  So I got tcsh 6.08 src from astron
and
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20/tcsh-6.08.00.x.tar.gz . 
I followed the directions in the readme and still had problems.  The
configure script didn't detect my system.  I had to change it so that it
would assume cygwin32 when it couldn't detect it.  And then, while it
was compiling, gcc complained about "\" in sh.exec.c.  So, I ran "sed
s/\\\\/\n/g sh.exec.c > sh.exec.c"
I still had one last problem, that I couldn't solve.   While linking the
.o files together into tcsh, ld can't find a bunch of references which
are in the header files:

gcc  -o tcsh  -I. -I. -g -O2 -UWINNT              sh.o sh.dir.o sh.dol.o
sh.err.
o sh.exec.o sh.char.o sh.exp.o sh.func.o sh.glob.o sh.hist.o sh.init.o
sh.lex.o
sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o sh.time.o
glob.o mi.
termios.o ma.setp.o vms.termcap.o tw.help.o tw.init.o tw.parse.o
tw.spell.o tw.c
omp.o tw.color.o ed.chared.o ed.refresh.o ed.screen.o ed.init.o
ed.inputl.o ed.d
efns.o ed.xmap.o ed.term.o tc.alloc.o tc.bind.o tc.const.o tc.defs.o
tc.disc.o t
c.func.o tc.os.o tc.printf.o tc.prompt.o tc.sched.o tc.sig.o tc.str.o
tc.vers.o
tc.who.o  -lncurses -lcrypt
.......
tc.os.o: In function `xstrerror':
/home/jashar/tcsh-6.08.00/tc.os.c:982: undefined reference to `sys_nerr'
/home/jashar/tcsh-6.08.00/tc.os.c:983: undefined reference to
`sys_errlist'
collect2: ld returned 1 exit status
make: *** [tcsh] Error 1

There are more references, I'm just showing the tail of them.

If anyone could help with the mount problem, or the linking problem,
that would be cool.

Thanks,
Jayen

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tcsh 6.08: solutions & problems
  2000-09-05 20:38 tcsh 6.08: solutions & problems Jayen Ashar
@ 2000-09-06  5:20 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2000-09-06  5:20 UTC (permalink / raw)
  To: cygwin

Jayen Ashar wrote:
> 
> Hello, all!  I have been trying to get tcsh as my login shell and have
> run into many problems.
> I got binaries off ftp.astron.com and installed them.  I changed
> [...]
> to detect the right mount points.  So I got tcsh 6.08 src from astron
> and
> ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20/tcsh-6.08.00.x.tar.gz .
> I followed the directions in the readme and still had problems.  The
> [...]
> tc.os.o: In function `xstrerror':
> /home/jashar/tcsh-6.08.00/tc.os.c:982: undefined reference to `sys_nerr'
> /home/jashar/tcsh-6.08.00/tc.os.c:983: undefined reference to
> `sys_errlist'
> collect2: ld returned 1 exit status
> make: *** [tcsh] Error 1
> 
> There are more references, I'm just showing the tail of them.
> 
> If anyone could help with the mount problem, or the linking problem,
> that would be cool.

Why don't you simply use one of the binaries provided by the
aforementioned package

ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20/tcsh-6.08.00.x.tar.gz

??? I don't understand that.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-06  5:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-05 20:38 tcsh 6.08: solutions & problems Jayen Ashar
2000-09-06  5:20 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).