Skip Menu |
 

From: sheep8@ziplip.com
Date: Tue, 17 Jun 2003 11:10:23 -0700 (PDT)
To: krb5-bugs@mit.edu
Subject: Compile error
Download (untitled) / with headers
text/plain 1.6KiB
Hello.
Show quoted text
>
Saw the posting below. Was the bug fixed? I'm running into the same issue with version 1.2.8 on a newly built debian box running a stock kernel.
Show quoted text
>
> I can't find anything showing that it was fixed or what the workaround is.
>
>
>
> >Number: 1118
> >Category: pending
> >Synopsis: Compile error
> >Confidential: yes
> >Severity: serious
> >Priority: medium
> >Responsible: gnats-admin
> >State: open
> >Class: sw-bug
> >Submitter-Id: unknown
> >Arrival-Date: Fri May 31 00:59:01 EDT 2002
> >Last-Modified:
> >Originator:
> >Organization:
> >Release:
> >Environment:
> >Description:
> >How-To-Repeat:
> >Fix:
> >Audit-Trail:
> >Unformatted:
> I just downloaded 1.2.5 and have a compile failure.
>
> Running Red-Hat 7.2
>
> uname=Linux 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
>
> --------------------------
> making all in telnet...
> make[1]: Entering directory `/root/krb5-1.2.5/src/appl/telnet/telnet'
> cc -L../../../lib -o telnet authenc.o commands.o main.o network.o ring.o
> sys_bsd.o telnet.o terminal.o utilities.o ../libtelnet/libtelnet.a -lkrb4
> -lkrb5 -ldes425 -lk5crypto -lcom_err -lresolv
> ../../../lib/libkrb5.a(fcc_gennew.o): In function `krb5_fcc_generate_new':
> fcc_gennew.o(.text+0x6a): the use of `mktemp' is dangerous, better use
> `mkstemp'
> telnet.o: In function `setupterm':
> telnet.o(.text+0xe22): undefined reference to `tgetent'
> collect2: ld returned 1 exit status
> make[1]: *** [telnet] Error 1
> make[1]: Leaving directory `/root/krb5-1.2.5/src/appl/telnet/telnet'
> make: *** [all-recurse] Error 1
> ------------------------------------
To: rt@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #1615] Compile error
From: Tom Yu <tlyu@mit.edu>
Date: Wed, 18 Jun 2003 13:55:33 -0400
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.1KiB
Show quoted text
>>>>> "sheep8" == sheep8@ziplip com via RT <rt-comment@krbdev.mit.edu> writes:

Show quoted text
sheep8> Saw the posting below. Was the bug fixed? I'm running into
sheep8> the same issue with version 1.2.8 on a newly built debian box
sheep8> running a stock kernel. I can't find anything showing that it
sheep8> was fixed or what the workaround is.

Show quoted text
>> >Number: 1118
[...]
Show quoted text
>> making all in telnet...
>> make[1]: Entering directory `/root/krb5-1.2.5/src/appl/telnet/telnet'
>> cc -L../../../lib -o telnet authenc.o commands.o main.o network.o ring.o
>> sys_bsd.o telnet.o terminal.o utilities.o ../libtelnet/libtelnet.a -lkrb4
>> -lkrb5 -ldes425 -lk5crypto -lcom_err -lresolv
>> ../../../lib/libkrb5.a(fcc_gennew.o): In function `krb5_fcc_generate_new':
>> fcc_gennew.o(.text+0x6a): the use of `mktemp' is dangerous, better use
>> `mkstemp'
>> telnet.o: In function `setupterm':
>> telnet.o(.text+0xe22): undefined reference to `tgetent'
>> collect2: ld returned 1 exit status
>> make[1]: *** [telnet] Error 1

This is probably due to a lack of some termcap or curses package.
Please let us know if this is still a problem when said libraries are
actually installed.

---Tom
From: sheep8@ziplip.com
Date: Wed, 18 Jun 2003 14:41:57 -0700 (PDT)
To: rt-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #1615] Compile error
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.8KiB
Thanks Tom.

You can close the issue.

The library for 'tgetent' is contained in the ncursesdev5 package in debian and this package is not installed in the base install. (I'm new to this distro and didn't know) After I stopped trying to find a problem with kerberos and went to the debian lists, I found tons of messages on compile issues with 'tgetent' references, most not with kerberos, but still applicable.

Cheers.


Show quoted text
> -----Original Message-----
> From: Tom Yu via RT [mailto:rt-comment@krbdev.mit.edu]
> Sent: Wednesday, June 18, 2003, 10:55 AM
> To: sheep8@ziplip.com
> Cc: krb5-prs@mit.edu
> Subject: Re: [krbdev.mit.edu #1615] Compile error
>
> >>>>> "sheep8" == sheep8@ziplip com via RT <rt-comment@krbdev.mit.edu> writes:
>
> sheep8> Saw the posting below. Was the bug fixed? I'm running into
> sheep8> the same issue with version 1.2.8 on a newly built debian box
> sheep8> running a stock kernel. I can't find anything showing that it
> sheep8> was fixed or what the workaround is.
>
> >> >Number: 1118
> [...]
> >> making all in telnet...
> >> make[1]: Entering directory `/root/krb5-1.2.5/src/appl/telnet/telnet'
> >> cc -L../../../lib -o telnet authenc.o commands.o main.o network.o ring.o
> >> sys_bsd.o telnet.o terminal.o utilities.o ../libtelnet/libtelnet.a -lkrb4
> >> -lkrb5 -ldes425 -lk5crypto -lcom_err -lresolv
> >> ../../../lib/libkrb5.a(fcc_gennew.o): In function `krb5_fcc_generate_new':
> >> fcc_gennew.o(.text+0x6a): the use of `mktemp' is dangerous, better use
> >> `mkstemp'
> >> telnet.o: In function `setupterm':
> >> telnet.o(.text+0xe22): undefined reference to `tgetent'
> >> collect2: ld returned 1 exit status
> >> make[1]: *** [telnet] Error 1
>
> This is probably due to a lack of some termcap or curses package.
> Please let us know if this is still a problem when said libraries are
> actually installed.
>
> ---Tom
>