On Thu, 15 Apr 1999, dizzy73 wrote:

> 
> In my effort to get a colorised pine it seems that I have to compile from
> the source. I got the source from the suse cd #4 and attempted a compile.
> 
> Apparetly there is a pine4.02.dif file that Im not sure where to add it
> or what to do with it. LOoking at the files dosent seem to generate any
> clues
> Ive tried cat pine4.02 >> build  no luck
> I tired to add it as an argument in the build file where it asks
> if arg= -f .bld replacing .bld with the diff file  no luck

You have to copy the diff file to the build directory and use the patch
utility to patch the existing source, i.e. patch -p1 <pine4.02.diff

See man patch for further details.

Pine 4.02 is quite old now. Why not go to http://www.washington.edu/pine
and get the current version (4.10). That will save you the trouble of
patching your source and still ending up with an old version.
 
> the build seems to break at /usr/i486-linux/bin/ld
> and an error is -ltermcap cant locate or something to that effect
> the last error is where its supposed to create the executables in bin
> but it fails on pico & pine however imap and termcap come out

To build pine and pico against termcap, I had to alter the STDLIBS entry
in the makefiles to show:

for pine:

STDLIBS=/usr/lib/termcap/libtermcap.a

and for pico:

LIBS=$(EXTRALIBES) /usr/lib/termcap/libtermcap.a

I prefer to link them to ncurses though, with

STDLIBS=-lncurses

and

LIBS=$(EXTRALIBES) -lncurses

respectively.

The files you need to alter are <BUILD_DIR>/pine/makefile.lnx and
<BUILD_DIR>/pico/makefile.lnx

ISTR I had to go through the files /osdep/os-lnx.h in the pine and pico
directories and tweak a few paths to things such as the maildir and
ispell too.

Phil
-- 
Philip Stokes                           Email: [EMAIL PROTECTED]
                                        Fax:   +44 (0)870 164 1242

--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to