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

pine compilation woes



Hello

Having problems compiling pine. I am a mutt user myself but
I installed debian woody on a friends computer and he insists that
he wants to use pine.

I decided to practise on my home machine first and did the
following.

1. Create a directory /usr/src/pine

2. Changed to that directory

3. Add deb-src ftp://ftp.fi.debian.org/debian/ woody main contrib non-free
   to my sources.list file

4. apt-get source pine

5. Based on info in http://www.braincells.com/debian/sid/pine/ made sure
   that I had the following:

   libc-client-ssl2001, 
   libldap2, 
   libncurses5, 
   libpam0g, 
   libssl0.9.6 and 
   mime-support

   and installed those that I didn't.

   apt also installed mlock.

6. Changed to the directory /usr/src/pine/pine-4.44

7. Executed debian/rules build and got the following errors:

# Building with SSL
# ln -s ssl_unix.c osdepssl.c
# echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs
# \" >> OSCFLAGS
# echo "  ssl_onceonlyinit ();" >> linkage.c
# echo -L/usr/lib -lssl -lcrypto  >> LDFLAGS
# cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
# `cat CCTYPE` -c `cat CFLAGS` mail.c
# `cat CCTYPE` -c `cat CFLAGS` misc.c
# `cat CCTYPE` -c `cat CFLAGS` newsrc.c
# `cat CCTYPE` -c `cat CFLAGS` smanager.c
# `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
# osdep.c:197: x509.h: No such file or directory
# osdep.c:198: ssl.h: No such file or directory
# osdep.c:200: pem.h: No such file or directory
# osdep.c:201: buffer.h: No such file or directory
# osdep.c:202: bio.h: No such file or directory
# osdep.c:203: crypto.h: No such file or directory
# osdep.c:204: rand.h: No such file or directory
# make[4]: *** [osdep.o] Error 1
# make[4]: Leaving directory `/usr/src/pine/pine-4.44/imap/c-client'
# make[3]: *** [slx] Error 2
# make[3]: Leaving directory `/usr/src/pine/pine-4.44/imap/c-client'
# make[2]: *** [OSTYPE] Error 2
# make[2]: Leaving directory `/usr/src/pine/pine-4.44/imap'
# make[1]: *** [slx] Error 2
# make[1]: Leaving directory `/usr/src/pine/pine-4.44/imap'
# make: *** [build-all] Error 2


This is the first time that I have tried to compile a debian package
from source and I am just wondering how to troubleshoot this problem.
Also I am interested in how one resolves dependency issues with source
packages. Is there some files that I need to read before compiling/
building source packages.

I am off to work soon and will return in about 9 hours or so to continue,
so forgive me if I don't reply to replies quickly.

t.irvine

-- 

 Whoever thinks a faultless piece to see,
  Thinks what ne'er was, nor is, nor ne'er shall be.

     Alexander Pope, An Essay On Criticism.




Reply to: