⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build

📁 SIP 1.5.0源代码
💻
📖 第 1 页 / 共 2 页
字号:
2000 version of the Platform SDK.  If you get errors while buildingauth_ssl.c and gss_shim.c, it's a good bet that you don't have theWindows 2000 Platform SDK installed and/or in your path properly.     There is also considerable debate about how new mail is to be snarfed.I am currently using something that seems to work with WinSMTP.  Look atthe definition of MAILFILE in imap-2000/src/osdep/nt/mailfile.h and at thesysinbox() function in imap-2000/src/osdep/nt/env_nt.c to see what's therenow, so you have a clue about how to hack it.     To build under Windows 95, Windows 98, and Windows NT, connect tothe imap-2000 directory and do:	nmake -f makefile.ntThe resulting binaries will support SSL if either schannel.dll orsecurity.dll is installed in Windows.     To build with MIT Kerberos support under Windows 95, Windows 98,and Windows NT,connect to the imap-2000 directory and do:	nmake -f makefile.ntThe resulting binaries will support SSL if either schannel.dll orsecurity.dll is installed in Windows.  They will also support MITKerberos.  Note, however, that these binaries will only run on systemswhich have the MIT Kerberos DLLs installed, and will not run on othersystems.     For Windows 2000, connect to the imap-2000 directory and do:	nmake -f makefile.w2kThe resulting binaries will support SSL and Microsoft kerberos.  Note,however, that these binaries will only run under Windows 2000 and will notrun under earlier Windows systems due to DLL conflicts.     The resulting binaries will be:	imap-2000\mtest\mtest.exe	(testbed client)	imap-2000\ipopd\ipop2d.exe	POP2 server	imap-2000\ipopd\ipop3d.exe	POP3 server	imap-2000\imapd\imapd.exe	IMAP4rev1 server     These servers are stdio servers.  I wrote a simple network listenerfor NT called inetlisn; currently it is available as:	ftp://ftp.cac.washington.edu/mail/nt/inetlisn.tarTo build this, use "nmake" after connecting to the inetlisn directory.inetlisn takes two arguments, the first being the port number and the secondbeing the binary to run to serve a connection on that port, e.g.	c:\bin\inetlisn 143 c:\mail_daemons\imapd     Note that NT imapd must be started as SYSTEM in order to be recognized asbeing "not logged in"; otherwise it will preauth as whatever user it isrunning as which is probably not what you want.  One way to have it run assystem is to have inetlisn run by an AT command, e.g. if the time now is2:05PM, try something like:	AT 14:06 "c:\bin\inetlisn 143 c:\mail_daemons\imapd"     Bottom line: this is not plug-and-play on NT.  If you're not a hackerand/or are unwilling to invest the time to do some programming, you probablywant to buy a commercial server for NT.			     DOS/WIN16 BUILD NOTES     If you are building a DOS client, you will need a TCP/IP stack installedon your DOS system along with its development environment.  The currentlysupported stacks are Beame & Whiteside, PC-NFS, Novell, PC/IP, Waterloo, andWinsock.  mtest and a version of Pine called PC Pine run under DOS.      You do not use imap-2000/Makefile under DOS, nor do you build anycomponents other than c-client and mtest.  Merge the contents ofimap-2000/src/c-client, imap-2000/src/charset, imap-2000/src/mtest, andimap-2000/src/osdep/dos onto a single directory on DOS and build from that.  TheMAKE command on DOS takes an argument identifying the TCP/IP stack in use.  Forexample, do:	MAKE MAKEFILE OS=WSK   (or MAKE -F MAKEFILE OS=WSK)to build for Winsock.       If you write a program for DOS/Win16, you will probably have to write areplacement cache manager (look at mm_cache()) and otherwise disable most ofc-client's caching.  Even so, memory limitations will be an ongoing problem,particularly with DOS, and you will have some severe performance problems.It's a bit better on Win16, but in my opinion you are better off writing a32-bit program and telling your Win16 customers to upgrade to Windows 95 or atleast install Win32s.			     MACINTOSH BUILD NOTES     If you are building a Macintosh client, you will need MacTCP installed onyour system as well as the MacTCP C includes and libraries.     You do not use imap-2000/Makefile on the Mac, nor do you build anycomponents other than c-client and mtest.  Merge the contents ofimap-2000/src/c-client, imap-2000/src/charset, imap-2000/src/mtest, andimap-2000/src/osdep/mac onto a single directory on the Mac and build from that.mtext.sit.hqx is a THINK C project file and cute icon for building mtest,encoded with Binhex and StuffIt.     THINK C is a truly wretched product which help make me understand whyMacintosh has lost most of its market share.  Not only does it do cretinousthings such as barf about a cast in front of an lvalue, it also limits the sizeof code *or* data in a single file to 32K!  So much for having large characterset tables.  Symantec says that "MacOS requires it, break up your files intosmaller pieces" yet somehow gcc under MachTen contrives to compile C programswithout subjecting the programmer to this idiocy.     As a result of this, I found myself obliged to comment out the #includesof the East Asian character sets in utf8.c in order to get it to build.  It'salso necessary to break up some of the files, at least mail.c and imap4r1.c.Maybe you don't have to do this in CodeWarrior or whatever the new compiler iscalled, but I've pretty much given up on Macintosh.     If you use precompiled headers, you may get some compilation errors sincesome Apple symbols need to be redefined in order to get it to build under allversions of MacOS.  Try turning off the precompiled headers (so it willre-read the .h files) and see if it builds any better.     If you use a Mac C compiler with 2-byte ints (such as THINK C's normalmode) you will need to fix some bugs in the MacTCP C includes and libraries toprevent it from generating bad code, since those MacTCP files violate Apple'sstandards of always using explicit shorts or longs, never ints.  You couldavoid this if you set 4-byte ints in THINK C; however, the ANSI and UNIXlibraries in THINK C use 2-byte ints so you will also need to build 4-byte intversions of these.  c-client itself is 2-byte int or 4-byte int clean; it canbe used in either mode.     The most important bug in the MacTCP files that you need to fix is in thefile AddressXlation.h, you need to change the definition of the rtnCode memberof the hostInfo structure to be long instead of int.  There are several otherchanges you need to make if you decide to compile dnr.c under THINK C insteadof using the Apple-supplied object file; see me for details if you decide toundertake such an effort.  This is fixed in newer versions from Apple.			     TOPS-20 BUILD NOTES     I have provided a c-client port for TOPS-20 systems, but you're on yourown in terms of a nice TOPS-20 like main program.  Maybe someday some niceperson will try porting Pine to TOPS-20.  I recently built mtest on TOPS-20(thank you, XKL!!), so the sources are known to compile with the ANSI Cversion of KCC.     You do not use imap-2000/Makefile under TOPS-20, nor do you build anycomponents other than c-client and mtest.  Merge the contents ofimap-2000/src/c-client, imap-2000/src/charset, imap-2000/src/mtest, andimap-2000/src/osdep/tops-20 onto a single directory on TOPS-20 and build fromthat.  The command:	DO BUILD.CTLwill build the sources.  If you don't have MIC, then SUBMIT BUILD.CTL and letBATCON execute it.     KCC loves to give lots of diagnostics about unused parameters.  That'sperfectly alright; just ignore them.			       VMS BUILD NOTES      You do not use imap-2000/Makefile under VMS, nor do you build anycomponents other than c-client and mtest.  Merge the contents ofimap-2000/src/c-client, imap-2000/src/charset, imap-2000/src/mtest, andimap-2000/src/osdep/vms onto a single directory on VMS and build from that.  Thecommand to build it is:	@BUILD MULTINETor	@BUILD NETLIBIf you just do @BUILD it will build with dummy TCP code, and since only TCPbased drivers are provided here this isn't too useful.     If you aren't on the Pacific coast of the US or Canada, you probably willneed to change the wired-in timezone in the BUILD.COM file.  Apparently, thewonderful VMS system that DEC loves so much doesn't maintain any concept oftime zone; the VMS C compiler returns a null pointer from gmtime()!     Otherwise you're pretty much on your own here.		      AMIGA BUILD AND INSTALLATION NOTES     See the UNIX build notes.  I can't tell you much more than that, sincethe Amiga code was contributed.			       WCE BUILD NOTES     I build using Visual C++ 6.0 with the WCE extensions.  The current codehas SH3 wired in for the compiler building.     To build under NT, connect to the imap-2000 directory and do:	nmake -f makefile.wce     The only binary produced is a cclient.lib file.  I haven't gotten as faras building mtest on WCE, mainly because I don't have a stdlib library.			       OS2 BUILD NOTES     The OS2 port is incomplete.  There are no plans to continue work on it.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -