Mailing List Archive

Support open source code!


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

Re: japanese pine patch [was Re: tlug: gcc bug in SlackWare 3.3]




> files that seems to require canna.h.  I tried including the
>  #include "canna.h" in the c source, but that didn't work either.

Hmm. You could try having a look at the output gcc -E. But otherwise I 
don't know whats happening.

> Can you compile it with the patches?  If you can compile it,
> I'll spend a lot more effort trying to find out what is wrong
> with my system.

Yes. Like you I had to replace termcap with ncurses. But otherwise
./build lnx compiled.

Making Pine.
cc -O2    -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -DKANJI -DHELPFILE -DCANNA -I/usr/local/canna/include   -c ttyin.c -o ttyin.o
echo "char datestamp[]="\"`date`\"";" > date.c
echo "char hoststamp[]="\"`hostname`\"";" >> date.c
cc  -O2    -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -DKANJI -DHELPFILE -DCANNA -I/usr/local/canna/include -o pine addrbook.o adrbklib.o args.o context.o filter.o folder.o help.o imap.o init.o mailcap.o mailcmd.o mailindx.o mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o send.o signals.o status.o strings.o ttyin.o ttyout.o os.o date.c  ../pico/libpico.a ../c-client/c-client.a -lncurses -lcanna

Links to executables are in bin directory:
text    data    bss     dec     hex     filename
1291739 42656   38848   1373243 14f43b  bin/pine
214457  4552    2164    221173  35ff5   bin/mtest
226869  4664    8404    239937  3a941   bin/imapd
196919  6340    5492    208751  32f6f   bin/pico
195602  6240    5488    207330  329e2   bin/pilot
Done	

The system used was Debian-1.3.1. dpkg -l cpp gcc libc5 canna canna-dev gives
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  cpp             2.7.2.1-9      The GNU C preprocessor (ELF version).
ii  gcc             2.7.2.1-9      The GNU C compiler (ELF version).
ii  libc5           5.4.33-6       The Linux C library version 5 (run-time libr
ii  canna           3.5b2-2        A japanese input system.
ii  canna-dev       3.5b2-2        A japanese input system. (Development)


Good luck.

Hajime Saito
---------------------------------------------------------------
TLUG Meeting Dec. 13, 12:30 at Tokyo station Yaesu Chuo ticket gate
13:30 Starbuck's coffee.  13:45 HSBC | info: joem@example.com
At least 3 functional Sparc IPC machines will be raffled out
---------------------------------------------------------------
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