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

RE: highlight in emacs



Thank you very much for your help. 
Another Question: When I got pine-src and tried to compiled it, I met the
problem shown below. It is strange to see this problem, I think the src
package should be compiled easily and successfully. Anybody can give me some
advice on what's wrong?
What I installed is Debian/woody and some sid packages.

Thanks.

Hucheng
_________________________________________________________ 
chc:/usr/src/pine4/pine4-4.21# debian/rules build
test -f pine/pine.c -a -f debian/rules

Important notice: The license of this package does not allow modified
binaries to be distributed. And this set of patches does indeed produce
"modified binaries", since we need to accomodate for the FHS standard
(for example, configuration files are in /etc), the Debian standards
(for example, compile it using -O2 and no DEBUG), and fix some bugs (for
example, "Path: not-for-mail" for news postings).

In particular, if you are a Debian developer, you may try to compile it
for a specific architecture to see if there are any bugs, but please
do not upload any .deb packages.

Press Enter to continue

./build slx
make args are CC=gcc

Making c-client library, mtest and imapd
make CC=gcc slx
make[1]: Entering directory `/usr/src/pine4/pine4-4.21/imap'
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox'
EXTRAAUTHENTICATORS='' PASSWDTYPE=std SPECIALAUTHENTICATORS=''
GSSDIR=/usr/local OS=slx
make[2]: Entering directory `/usr/src/pine4/pine4-4.21/imap'
Building c-client for slx...
echo  > c-client/EXTRASPECIALS
echo GSSDIR=/usr/local >> c-client/EXTRASPECIALS
cd c-client;make slx BUILDOPTIONS="EXTRACFLAGS='' EXTRALDFLAGS=''
EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std
SPECIALAUTHENTICATORS=''"
make[3]: Entering directory `/usr/src/pine4/pine4-4.21/imap/c-client'
You are building for libc6/glibc versions of Secure Linux
If you want libc5 versions you must use sl5 instead!
If you want libc4 versions you must use sl4 instead!
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox'
EXTRAAUTHENTICATORS='' PASSWDTYPE=std SPECIALAUTHENTICATORS='' `cat
EXTRASPECIALS` OS=slx SIGTYPE=psx CHECKPW=psx \
 SPOOLDIR=/var/spool \
 ACTIVEFILE=/var/lib/news/active \
 RSHPATH=/usr/bin/rsh \
 BASECFLAGS="-g -O2 -DNFSKLUDGE" \
 BASELDFLAGS="-lcrypt"
make[4]: Entering directory `/usr/src/pine4/pine4-4.21/imap/c-client'
sh -c 'rm -rf auths.c flockbsd.c linkage.[ch] siglocal.c osdep*.[ch] *.o
ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo gcc > CCTYPE
echo -g -O2 -DNFSKLUDGE  > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
 -DMAILSPOOL=\"/var/spool/mail\" \
 -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \
 -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo -lcrypt  > LDFLAGS
echo "ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.o utf8.o
siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o
smtp.o imap4r1.o pop3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o
phile.o mh.o mx.o maildir.o privs.o;ranlib c-client.a" > ARCHIVE
./drivers mbox maildir imap nntp pop3 mh mx mbx tenex mtx mmdf unix news
phile dummy
./mkauths  md5  log
make[5]: Entering directory `/usr/src/pine4/pine4-4.21/imap/c-client'
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
make[5]: Leaving directory `/usr/src/pine4/pine4-4.21/imap/c-client'
ln -s os_slx.h osdep.h
ln -s os_slx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
sh -c '(test -f /usr/include/sys/statvfs.h -a slx != sc5 -a slx != sco) &&
ln -s flocksun.c flockbsd.c || ln -s flocksv4.c flockbsd.c'
ln -s ckp_psx.c osdepckp.c
cat osdepbas.c osdepckp.c osdeplog.c > osdep.c
gcc -g -O2 -DNFSKLUDGE    -c -o mail.o mail.c
gcc -g -O2 -DNFSKLUDGE    -c -o misc.o misc.c
gcc -g -O2 -DNFSKLUDGE    -c -o newsrc.o newsrc.c
gcc -g -O2 -DNFSKLUDGE    -c -o smanager.o smanager.c
gcc -g -O2 -DNFSKLUDGE  `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:57:
env_unix.c: In function `do_date':
env_unix.c:307: warning: initialization makes pointer from integer without a
cast
env_unix.c:308: dereferencing pointer to incomplete type
env_unix.c:308: dereferencing pointer to incomplete type
env_unix.c:309: dereferencing pointer to incomplete type
env_unix.c:310: warning: assignment makes pointer from integer without a
cast
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:320: dereferencing pointer to incomplete type
env_unix.c:323: dereferencing pointer to incomplete type
env_unix.c:327: dereferencing pointer to incomplete type
env_unix.c:327: dereferencing pointer to incomplete type
env_unix.c:327: dereferencing pointer to incomplete type
env_unix.c:328: dereferencing pointer to incomplete type
env_unix.c:328: dereferencing pointer to incomplete type
env_unix.c:328: dereferencing pointer to incomplete type
In file included from osdep.c:61:
tz_sv4.c: In function `rfc822_timezone':
tz_sv4.c:45: `tzname' undeclared (first use in this function)
tz_sv4.c:45: (Each undeclared identifier is reported only once
tz_sv4.c:45: for each function it appears in.)
tz_sv4.c:45: `daylight' undeclared (first use in this function)
tz_sv4.c:45: dereferencing pointer to incomplete type
osdep.c: In function `checkpw':
osdep.c:111: warning: initialization makes pointer from integer without a
cast
osdep.c:112: dereferencing pointer to incomplete type
osdep.c:112: dereferencing pointer to incomplete type
osdep.c:113: dereferencing pointer to incomplete type
osdep.c:114: warning: assignment makes pointer from integer without a cast
osdep.c:116: dereferencing pointer to incomplete type
osdep.c:116: dereferencing pointer to incomplete type
osdep.c:124: dereferencing pointer to incomplete type
make[4]: *** [osdep.o] Error 1
make[4]: Leaving directory `/usr/src/pine4/pine4-4.21/imap/c-client'
make[3]: *** [slx] Error 2
make[3]: Leaving directory `/usr/src/pine4/pine4-4.21/imap/c-client'
make[2]: *** [OSTYPE] Error 2
make[2]: Leaving directory `/usr/src/pine4/pine4-4.21/imap'
make[1]: *** [slx] Error 2
make[1]: Leaving directory `/usr/src/pine4/pine4-4.21/imap'

Making Pico and Pilot
make CC=gcc -f makefile.lnx
make[1]: Entering directory `/usr/src/pine4/pine4-4.21/pico'
rm -f os.h
ln -s osdep/os-lnx.h os.h
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o main.o main.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o attach.o attach.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o basic.o basic.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o bind.o bind.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o browse.o browse.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o buffer.o buffer.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o composer.o
composer.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o display.o display.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o file.o file.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o fileio.o fileio.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o line.o line.c
cd osdep; make includer os-lnx.c; cd ..
make[2]: Entering directory `/usr/src/pine4/pine4-4.21/pico/osdep'
gcc -o includer includer.c
./includer < os-lnx.ic > os-lnx.c
make[2]: Leaving directory `/usr/src/pine4/pine4-4.21/pico/osdep'
rm -f pico_os.c
ln -s osdep/os-lnx.c pico_os.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o pico_os.o pico_os.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o pico.o pico.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o random.o random.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o region.o region.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o search.o search.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o window.o window.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o word.o word.c
ar ru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o
display.o file.o fileio.o line.o pico_os.o pico.o random.o region.o search.o
window.o word.o
ranlib libpico.a
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE main.o libpico.a  -lncurses
-o pico
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c -o pilot.o pilot.c
gcc -O2  -g  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE pilot.o libpico.a
-lncurses -o pilot
make[1]: Leaving directory `/usr/src/pine4/pine4-4.21/pico'

Making Pine.
make CC=gcc -f makefile.lnx
make[1]: Entering directory `/usr/src/pine4/pine4-4.21/pine'
rm -f os.h
ln -s osdep/os-lnx.h os.h
./cmplhlp2.sh  < pine.hlp > helptext.h
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o addrbook.o addrbook.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o adrbkcmd.o adrbkcmd.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o adrbklib.o adrbklib.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o args.o args.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o bldaddr.o bldaddr.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o context.o context.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o filter.o filter.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o folder.o folder.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o help.o help.c
./cmplhelp.sh  < pine.hlp > helptext.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o helptext.o helptext.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o imap.o imap.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o init.o init.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o mailcap.o mailcap.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o mailcmd.o mailcmd.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o mailindx.o mailindx.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o mailpart.o mailpart.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o mailview.o mailview.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o newmail.o newmail.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o other.o other.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o pine.o pine.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o reply.o reply.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o screen.o screen.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o send.o send.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o signals.o signals.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o status.o status.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o strings.o strings.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o takeaddr.o takeaddr.c
cd osdep; make includer os-lnx.c; cd ..
make[2]: Entering directory `/usr/src/pine4/pine4-4.21/pine/osdep'
gcc -o includer includer.c
./includer < os-lnx.ic > os-lnx.c
make[2]: Leaving directory `/usr/src/pine4/pine4-4.21/pine/osdep'
rm -f os.c
ln -s osdep/os-lnx.c os.c
gcc -O2  -g   -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c -o os.o os.c
os.c: In function `fget_pos':
os.c:1122: conversion to non-scalar type requested
os.c:1123: invalid operands to binary ==
os.c: In function `fset_pos':
os.c:1133: incompatible type for argument 2 of `fseek'
make[1]: *** [os.o] Error 1
make[1]: Leaving directory `/usr/src/pine4/pine4-4.21/pine'
 
Links to executables are in bin directory:
size: bin/pine: No such file or directory
size: bin/mtest: No such file or directory
size: bin/imapd: No such file or directory
   text    data     bss     dec     hex filename
 151946    5124    2620  159690   26fca bin/pico
 150286    4996    2620  157902   268ce bin/pilot
Done
touch build-all

-----Original Message-----
From: wen@japan.email.ne.jp
To: chc@bnl.gov
Cc: debian-chinese-gb@lists.debian.org
Sent: 4/9/01 10:36 AM
Subject: highlight in emacs

Please add (global-font-lock-mode 1) in your ~/.emacs.
If you are not satisfied it please refer to section of Font Lock mode in
the manual.

Regards,

--Wen
wen@japan.email.ne.jp

--  
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: