Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Pine 3.96J and glibc6 again



Hi,
I'm talking another shot at compiling Pine3.96 on a glibc6 system.
Both Redhat 5 and Debian Hamm are glibc6.   libc-2.0.6

I commented out the sys_errlist definition that was conflicting 
with the libc6.  

I'm now getting this error:

cc -g -O -DNFSKLUDGE    -c mtest.c -o mtest.o
cc -g -O -DNFSKLUDGE  -o mtest mtest.o c-client.a 
mtest.o: In function `prompt':
/home/craig/apps/pine/pine3.96/imap/ANSI/c-client/mtest.c:460: the `gets' function is dangerous and should not be used.
c-client.a(osdep.o): In function `server_login':
/home/craig/apps/pine/pine3.96/imap/ANSI/c-client/log_std.c:52: undefined reference to `crypt'
make[1]: *** [mtest] Error 1
make[1]: Leaving directory `/home/craig/apps/pine/pine3.96/imap/ANSI/c-client'
make: *** [lnx] Error 2


----------------

log_std.c:52   is

  if (strcmp (pw->pw_passwd,(char *) crypt (pass,pw->pw_passwd))) return NIL;
  setgid (pw->pw_gid);          /* all OK, login in as that user */
 --

I appear to have the libcrypt stuff:

cow:/lib$ ls -l libcrypt*
-rwxr-xr-x   1 root     root       149752 Jun  5  1997 libcrypt-2.0.4.so*
-rwxr-xr-x   1 root     root       150356 Dec 31 06:43 libcrypt-2.0.6.so*
lrwxrwxrwx   1 root     root           17 Jan 15 18:16 libcrypt.so -> libcrypt-2.0.6.so*
lrwxrwxrwx   1 root     root           17 Jan 11 21:56 libcrypt.so.1 -> libcrypt-2.0.6.so*


--
Do I need another library?  I was poking around gnu and I found this:

 If you decide to compile glibc yourself you need beside the disk space

  * the three add-ons
        crypt
        linuxthreads
        localedata      (optional)
    Please note the export restriction for the crypt add-on.  Non-US users
    should get it from the European site at
        ftp://ftp.ifi.uio.no/pub/gnu


I wonder if it is possible if my gcc did not come with the crypt add-on?
Should I recompile gcc from source?

---

Alternately, anyone want to share binaries for pine3.96J compiled
with glibc6 with me?  The ones compiled with libc5 are dumping
core on me.  I'm supposed to right the pine section of the book,
but now I can't even get it to run.  :-(  :-(   



Regards,
Craig


--------------------------------------------------------
"Knowledge is the air and light of civilization.  Transform it and you
transform all else."
Craig Oda 	craig@example.com	
   TWICS - IEC Building, 1-21 Yotsuya, Shinjuku-ku, Tokyo 160 JAPAN
Main Reception: 03-3351-5977	Fax: +81-3-3353-6096



---------------------------------------------------------------
Next Saturday Meeting: 14 February 1998 12:30 Tokyo Station
Yaesu Chuo ticket gate.
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links