Skip to content

Instantly share code, notes, and snippets.

Created April 20, 2015 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9dc2940e25f47a8fd4ff to your computer and use it in GitHub Desktop.
Save anonymous/9dc2940e25f47a8fd4ff to your computer and use it in GitHub Desktop.
2015-04-20 19:35:02 +0800
make
oxp
make[1]: Entering directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[1]: Leaving directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f'
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
touch ip6
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=osx IP=6 EXTRAAUTHENTICATORS=" gss" \
PASSWDTYPE=pam \
EXTRACFLAGS=" -DMAC_OSX_KLUDGE=1" \
SPECIALS="SSLINCLUDE=/home/levi/.linuxbrew/opt/openssl/include/openssl SSLLIB=/home/levi/.linuxbrew/opt/openssl/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
make[1]: Entering directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f'
make[2]: Entering directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f'
make[2]: “ip6”是最新的。
make[2]: Leaving directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f'
Building c-client for osx...
echo `cat SPECIALS` > c-client/SPECIALS
cd c-client;make osx EXTRACFLAGS='-DMAC_OSX_KLUDGE=1'\
EXTRALDFLAGS=''\
EXTRADRIVERS='mbox'\
EXTRAAUTHENTICATORS='gss'\
PASSWDTYPE=pam SSLTYPE=nopwd IP=6\
SSLINCLUDE=/home/levi/.linuxbrew/opt/openssl/include/openssl SSLLIB=/home/levi/.linuxbrew/opt/openssl/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam
make[2]: Entering directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f/c-client'
make build EXTRACFLAGS='-DMAC_OSX_KLUDGE=1' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=osx \
CRXTYPE=nfs \
SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
RSHPATH=/usr/bin/rsh \
BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign"
make[3]: Entering directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f/c-client'
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign '-DMAC_OSX_KLUDGE=1' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
-DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \
-DANONYMOUSHOME=\"/var/mail/anonymous\" \
-DACTIVEFILE=\"/usr/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
-DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \
-DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \
-DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS
echo > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.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 mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE
echo osx > OSTYPE
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
./mkauths gss ext md5 pla log
make[4]: Entering directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f/c-client'
echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS
sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
make[4]: Leaving directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f/c-client'
echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ln -s os_osx.h osdep.h
ln -s os_osx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_bsd.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip6_unix.c ip_unix.c
sh -c '(test osx = sc5 -o osx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
PAM password authentication
echo -lpam -ldl >> LDFLAGS
ln -s ckp_pam.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/home/levi/.linuxbrew/opt/openssl/include/openssl -I/home/levi/.linuxbrew/opt/openssl/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/System/Library/OpenSSL/certs\" -DSSL_KEY_DIRECTORY=\"/System/Library/OpenSSL/private\" >> OSCFLAGS
echo " ssl_onceonlyinit ();" >> linkage.c
echo -L/home/levi/.linuxbrew/opt/openssl/lib -lssl -lcrypto >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make osx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:49:0:
env_unix.c: In function 'do_date':
env_unix.c:501:18: warning: initialization makes pointer from integer without a cast
struct tm *t = gmtime (&tn);
^
env_unix.c:502:15: error: dereferencing pointer to incomplete type
int zone = t->tm_hour * 60 + t->tm_min;
^
env_unix.c:502:33: error: dereferencing pointer to incomplete type
int zone = t->tm_hour * 60 + t->tm_min;
^
env_unix.c:503:17: error: dereferencing pointer to incomplete type
int julian = t->tm_yday;
^
env_unix.c:504:5: warning: assignment makes pointer from integer without a cast
t = localtime (&tn); /* get local time now */
^
env_unix.c:506:11: error: dereferencing pointer to incomplete type
zone = t->tm_hour * 60 + t->tm_min - zone;
^
env_unix.c:506:29: error: dereferencing pointer to incomplete type
zone = t->tm_hour * 60 + t->tm_min - zone;
^
env_unix.c:514:17: error: dereferencing pointer to incomplete type
if (julian = t->tm_yday -julian)
^
env_unix.c:517:32: error: dereferencing pointer to incomplete type
sprintf (date,prefix,days[t->tm_wday]);
^
env_unix.c:521:22: error: dereferencing pointer to incomplete type
sprintf (date,fmt,t->tm_mday,months[t->tm_mon],t->tm_year+1900,
^
env_unix.c:521:40: error: dereferencing pointer to incomplete type
sprintf (date,fmt,t->tm_mday,months[t->tm_mon],t->tm_year+1900,
^
env_unix.c:521:51: error: dereferencing pointer to incomplete type
sprintf (date,fmt,t->tm_mday,months[t->tm_mon],t->tm_year+1900,
^
env_unix.c:522:6: error: dereferencing pointer to incomplete type
t->tm_hour,t->tm_min,t->tm_sec,zone/60,abs (zone) % 60);
^
env_unix.c:522:17: error: dereferencing pointer to incomplete type
t->tm_hour,t->tm_min,t->tm_sec,zone/60,abs (zone) % 60);
^
env_unix.c:522:27: error: dereferencing pointer to incomplete type
t->tm_hour,t->tm_min,t->tm_sec,zone/60,abs (zone) % 60);
^
In file included from osdep.c:54:0:
tz_bsd.c: In function 'rfc822_timezone':
tz_bsd.c:37:55: error: dereferencing pointer to incomplete type
sprintf (s + strlen (s)," (%.50s)",((struct tm *) t)->tm_zone);
^
In file included from /usr/include/openssl/asn1.h:62:0,
from /usr/include/openssl/objects.h:960,
from /usr/include/openssl/evp.h:98,
from /usr/include/openssl/x509.h:73,
from /home/levi/.linuxbrew/opt/openssl/include/openssl/ssl.h:156,
from osdep.c:264:
/usr/include/time.h: At top level:
/usr/include/time.h:186:15: error: conflicting types for 'time'
extern time_t time (time_t *__timer) __THROW;
^
In file included from env_unix.c:255:0,
from osdep.c:49:
crexcl.c:48:52: note: previous implicit declaration of 'time' was here
sprintf (hitch,"%s.%lu.%d.",name,(unsigned long) time (0),getpid ());
^
In file included from /usr/include/openssl/asn1.h:62:0,
from /usr/include/openssl/objects.h:960,
from /usr/include/openssl/evp.h:98,
from /usr/include/openssl/x509.h:73,
from /home/levi/.linuxbrew/opt/openssl/include/openssl/ssl.h:156,
from osdep.c:264:
/usr/include/time.h:233:19: error: conflicting types for 'gmtime'
extern struct tm *gmtime (__const time_t *__timer) __THROW;
^
In file included from osdep.c:49:0:
env_unix.c:501:18: note: previous implicit declaration of 'gmtime' was here
struct tm *t = gmtime (&tn);
^
In file included from /usr/include/openssl/asn1.h:62:0,
from /usr/include/openssl/objects.h:960,
from /usr/include/openssl/evp.h:98,
from /usr/include/openssl/x509.h:73,
from /home/levi/.linuxbrew/opt/openssl/include/openssl/ssl.h:156,
from osdep.c:264:
/usr/include/time.h:237:19: error: conflicting types for 'localtime'
extern struct tm *localtime (__const time_t *__timer) __THROW;
^
In file included from osdep.c:49:0:
env_unix.c:504:7: note: previous implicit declaration of 'localtime' was here
t = localtime (&tn); /* get local time now */
^
make[3]: *** [osdep.o] 错误 1
make[3]: Leaving directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f/c-client'
make[2]: *** [osx] 错误 2
make[2]: Leaving directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f/c-client'
make[1]: *** [OSTYPE] 错误 2
make[1]: Leaving directory `/tmp/imap-uw20150420-7808-1qgwsl/imap-2007f'
make: *** [oxp] 错误 2
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/linuxbrew.git
HEAD: f93b72990837f3f679c6ca926e2c49ccb2d517f0
Last commit: 5 days ago
HOMEBREW_PREFIX: /home/levi/.linuxbrew
HOMEBREW_CELLAR: /home/levi/.linuxbrew/Cellar
CPU: single-core 64-bit 6
OS X: 0-x86_64
Xcode: N/A
CLT: N/A
Clang: N/A
X11: N/A
System Ruby: 2.2.2 => /home/levi/.linuxbrew/Cellar/ruby/2.2.2/bin/ruby
Perl: /usr/bin/perl
Python: /home/levi/.linuxbrew/bin/python => /home/levi/.linuxbrew/Cellar/python/2.7.9/bin/python2.7
Ruby: /home/levi/.linuxbrew/bin/ruby => /home/levi/.linuxbrew/Cellar/ruby/2.2.2/bin/ruby
Java: N/A
CC: /home/levi/.linuxbrew/bin/gcc-4.9 => /home/levi/.linuxbrew/Cellar/gcc/4.9.2_1/bin/gcc-4.9
CXX: /home/levi/.linuxbrew/bin/g++-4.9 => /home/levi/.linuxbrew/Cellar/gcc/4.9.2_1/bin/g++-4.9
OBJC: /home/levi/.linuxbrew/bin/gcc-4.9
OBJCXX: /home/levi/.linuxbrew/bin/g++-4.9
CFLAGS: -Os -w -pipe -march=core2
CXXFLAGS: -Os -w -pipe -march=core2
CPPFLAGS: -isystem/home/levi/.linuxbrew/include
LDFLAGS: -L/home/levi/.linuxbrew/lib -Wl,-rpath,/home/levi/.linuxbrew/lib
CMAKE_PREFIX_PATH: /home/levi/.linuxbrew
PKG_CONFIG_LIBDIR: /home/levi/.linuxbrew/lib/pkgconfig
PATH: /home/levi/.linuxbrew/bin:/home/levi/.linuxbrew/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/levi/bin:/home/levi/.linuxbrew/Library/ENV/scm
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/linuxbrew.git
HEAD: f93b72990837f3f679c6ca926e2c49ccb2d517f0
Last commit: 5 days ago
HOMEBREW_PREFIX: /home/levi/.linuxbrew
HOMEBREW_CELLAR: /home/levi/.linuxbrew/Cellar
CPU: single-core 64-bit 6
OS X: 0-x86_64
Xcode: N/A
CLT: N/A
Clang: N/A
X11: N/A
System Ruby: 2.2.2 => /home/levi/.linuxbrew/Cellar/ruby/2.2.2/bin/ruby
Perl: /usr/bin/perl
Python: /home/levi/.linuxbrew/bin/python => /home/levi/.linuxbrew/Cellar/python/2.7.9/bin/python2.7
Ruby: /home/levi/.linuxbrew/bin/ruby => /home/levi/.linuxbrew/Cellar/ruby/2.2.2/bin/ruby
Java: N/A
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
nginx
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment