Games Animation Forum

返回   Games Animation Forum > GAF區 > 手機資訊/電腦軟硬討論

回覆
 
主題工具 顯示模式
舊 08-10-06, 10:36 PM   #1
monster8
Game Master
 
註冊日期: Dec 2002
文章: 2,485
Linux Problem (c-client)

i want to install imap for the server , but complie the package have a error message, any body can help me?

This is my step
1.untar the archive by type the following command
[root@mail-srv-01 src]# tar zxvf c-client.tar.Z
2.Change the directory to the imap-2004 by type the following command
[root@mail-srv-01 src]# cd imap-2004g
3.Create the lib and include directory inside the current directory
4.Modify the following value in the src/osdep/unix/Makefile
SSLTYPE=unix
SSLDIR=/usr/local/openssl
5.Compile the package
[root@mail imap-2000g]$make slx


Anybody can help??
monster8 目前離線   回覆時引用此篇文章
舊 08-10-06, 11:58 PM   #2
Rabbidas
Administrator
頹圈頹鏡
 
註冊日期: Jul 2002
文章: 7,838
3DS Friend Code0000 0000 0000
PSN  IDRabbidas
XBox Live GamertagYui GAF
what is the error message?


__________________
GAForum
http://www.gaforum.org/

Rabbidas 目前離線   回覆時引用此篇文章
舊 08-11-06, 12:04 AM   #3
monster8
Game Master
 
註冊日期: Dec 2002
文章: 2,485
Error Message:

make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=slx
make[1]: Entering directory `/usr/local/src/imap-2004g'
Building c-client for slx...
echo `cat SPECIALS` > c-client/SPECIALS
cd c-client;make slx EXTRACFLAGS=''\
EXTRALDFLAGS=''\
EXTRADRIVERS='mbox'\
EXTRAAUTHENTICATORS=''\
PASSWDTYPE=std SSLTYPE=nopwd IP=4\

make[2]: Entering directory `/usr/local/src/imap-2004g/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 SSLTYPE=nopwd IP=4 `cat SPECIALS` OS=slx \
SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
SPOOLDIR=/var/spool \
ACTIVEFILE=/var/lib/news/active \
RSHPATH=/usr/bin/rsh \
BASECFLAGS="-g -fno-omit-frame-pointer -O2" \
BASELDFLAGS="-lcrypt"
make[3]: Entering directory `/usr/local/src/imap-2004g/c-client'
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -fno-omit-frame-pointer -O2 '' > 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 osdep.o mail.o misc.o newsrc.o smanager.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 mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE
echo slx > OSTYPE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths md5 pla log
make[4]: Entering directory `/usr/local/src/imap-2004g/c-client'
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
make[4]: Leaving directory `/usr/local/src/imap-2004g/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
ln -s crx_nfs.c crexcl.c
ln -s ip4_unix.c ip_unix.c
ln: `ip_unix.c': File exists
make[3]: *** [onceenv] Error 1
make[3]: Leaving directory `/usr/local/src/imap-2004g/c-client'
make[2]: *** [slx] Error 2
make[2]: Leaving directory `/usr/local/src/imap-2004g/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/usr/local/src/imap-2004g'
make: *** [slx] Error 2
monster8 目前離線   回覆時引用此篇文章
舊 08-11-06, 12:14 AM   #4
Rabbidas
Administrator
頹圈頹鏡
 
註冊日期: Jul 2002
文章: 7,838
3DS Friend Code0000 0000 0000
PSN  IDRabbidas
XBox Live GamertagYui GAF
http://www.fedoraforum.org/forum/arc...p/t-33553.html


話要make clean first


__________________
GAForum
http://www.gaforum.org/

Rabbidas 目前離線   回覆時引用此篇文章
舊 08-11-06, 12:22 AM   #5
monster8
Game Master
 
註冊日期: Dec 2002
文章: 2,485
呢個可能係我無做make clean再make slx至出, 不過我make clean後再做都係唔得...
不過個error好大...

一部份
sslio.h:51: error: syntax error before '*' token
sslio.h:51: warning: data definition has no type or storage class
sslio.h:52: error: syntax error before '*' token
sslio.h:53: error: syntax error before '*' token
sslio.h:54: error: syntax error before '*' token
sslio.h:55: error: syntax error before '*' token
sslio.h:56: error: syntax error before '*' token
sslio.h:57: error: syntax error before '*' token
sslio.h:58: error: syntax error before '*' token
sslio.h:59: error: syntax error before '*' token
sslio.h:60: error: syntax error before '*' token
sslio.h:61: error: syntax error before '*' token
osdep.c:227: error: syntax error before '*' token
osdep.c:227: warning: data definition has no type or storage class
osdep.c:228: error: syntax error before '*' token
osdep.c:229: error: syntax error before "X509_STORE_CTX"
osdep.c:232: error: syntax error before '*' token
osdep.c:233: error: syntax error before '*' token
osdep.c:233: error: syntax error before '*' token
osdep.c:233: warning: data definition has no type or storage class
osdep.c:238: error: variable `ssldriver' has initializer but incomplete type
osdep.c:239: warning: excess elements in struct initializer
osdep.c:239: warning: (near initialization for `ssldriver')
osdep.c:240: warning: excess elements in struct initializer
osdep.c:240: warning: (near initialization for `ssldriver')
osdep.c:241: warning: excess elements in struct initializer
osdep.c:241: warning: (near initialization for `ssldriver')
osdep.c:242: warning: excess elements in struct initializer
osdep.c:242: warning: (near initialization for `ssldriver')
osdep.c:243: warning: excess elements in struct initializer
osdep.c:243: warning: (near initialization for `ssldriver')
osdep.c:244: warning: excess elements in struct initializer
osdep.c:244: warning: (near initialization for `ssldriver')
osdep.c:245: warning: excess elements in struct initializer
osdep.c:245: warning: (near initialization for `ssldriver')
osdep.c:246: warning: excess elements in struct initializer
osdep.c:246: warning: (near initialization for `ssldriver')
osdep.c:247: warning: excess elements in struct initializer
osdep.c:247: warning: (near initialization for `ssldriver')
osdep.c:248: warning: excess elements in struct initializer
osdep.c:248: warning: (near initialization for `ssldriver')
osdep.c:250: warning: excess elements in struct initializer
osdep.c:250: warning: (near initialization for `ssldriver')
osdep.c:252: error: syntax error before '*' token
osdep.c:252: warning: data definition has no type or storage class
osdep.c:297: error: syntax error before '*' token
osdep.c:311: error: syntax error before '*' token
osdep.c:323: error: syntax error before '*' token
osdep.c: In function `ssl_start':
osdep.c:329: error: `stream' undeclared (first use in this function)
osdep.c:329: error: (Each undeclared identifier is reported only once
osdep.c:329: error: for each function it appears in.)
osdep.c:329: error: syntax error before ')' token
osdep.c:349: error: syntax error before ')' token
osdep.c: At top level:
osdep.c:377: error: syntax error before '*' token
osdep.c: In function `ssl_start_work':
osdep.c:379: error: `BIO' undeclared (first use in this function)
osdep.c:379: error: `bio' undeclared (first use in this function)
osdep.c:380: error: `X509' undeclared (first use in this function)
osdep.c:380: error: `cert' undeclared (first use in this function)
osdep.c:385: warning: assignment from incompatible pointer type
osdep.c:386: error: `stream' undeclared (first use in this function)
osdep.c:386: error: `flags' undeclared (first use in this function)
osdep.c:393: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
osdep.c:394: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
osdep.c:398: error: `SSL' undeclared (first use in this function)
osdep.c:398: error: syntax error before ')' token
osdep.c:400: error: `BIO_NOCLOSE' undeclared (first use in this function)
osdep.c:416: warning: passing arg 1 of `ssl_compare_hostnames' from incompatible pointer type
osdep.c:420: warning: passing arg 2 of pointer to function from incompatible pointer type
osdep.c: At top level:
osdep.c:435: error: syntax error before "X509_STORE_CTX"
osdep.c: In function `ssl_open_verify':
osdep.c:440: error: `ok' undeclared (first use in this function)
osdep.c:442: error: `ctx' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:496: error: syntax error before '*' token
osdep.c: In function `ssl_getline':
osdep.c:503: error: `stream' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:546: error: syntax error before '*' token
osdep.c: In function `ssl_getbuffer':
osdep.c:549: error: `size' undeclared (first use in this function)
osdep.c:550: error: `stream' undeclared (first use in this function)
osdep.c:553: error: `buffer' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:568: error: syntax error before '*' token
osdep.c: In function `ssl_getdata':
osdep.c:577: error: `stream' undeclared (first use in this function)
osdep.c:604: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:619: error: syntax error before '*' token
osdep.c: In function `ssl_soutr':
osdep.c:621: error: `stream' undeclared (first use in this function)
osdep.c:621: error: `string' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:632: error: syntax error before '*' token
osdep.c: In function `ssl_sout':
osdep.c:636: error: `stream' undeclared (first use in this function)
osdep.c:639: error: `size' undeclared (first use in this function)
osdep.c:639: error: `string' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:651: error: syntax error before '*' token
osdep.c: In function `ssl_close':
osdep.c:653: error: `stream' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:663: error: syntax error before '*' token
osdep.c: In function `ssl_abort':
osdep.c:666: error: `stream' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:688: error: syntax error before '*' token
osdep.c: In function `ssl_host':
osdep.c:690: error: `stream' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:699: error: syntax error before '*' token
osdep.c: In function `ssl_remotehost':
osdep.c:701: error: `stream' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:710: error: syntax error before '*' token
osdep.c: In function `ssl_port':
osdep.c:712: error: `stream' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:721: error: syntax error before '*' token
osdep.c: In function `ssl_localhost':
osdep.c:723: error: `stream' undeclared (first use in this function)
osdep.c: In function `ssl_server_init':
osdep.c:757: error: `stream' undeclared (first use in this function)
osdep.c:757: error: syntax error before ')' token
osdep.c:779: error: `SSL_OP_ALL' undeclared (first use in this function)
osdep.c:790: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
osdep.c:808: error: syntax error before ')' token
osdep.c:810: error: request for member `sslstream' in something not a structure or union
osdep.c:812: error: request for member `octr' in something not a structure or union
osdep.c:814: error: request for member `optr' in something not a structure or union
osdep.c:814: error: request for member `obuf' in something not a structure or union
osdep.c: At top level:
osdep.c:837: error: syntax error before '*' token
osdep.c:837: error: syntax error before '*' token
osdep.c: In function `ssl_genkey':
osdep.c:840: error: syntax error before '*' token
osdep.c:841: error: `key' undeclared (first use in this function)
osdep.c:843: error: `export' undeclared (first use in this function)
osdep.c:843: error: `keylength' undeclared (first use in this function)
osdep.c:843: error: `RSA_F4' undeclared (first use in this function)
osdep.c: In function `ssl_server_input_wait':
osdep.c:864: error: `stream' undeclared (first use in this function)
osdep.c:867: error: request for member `sslstream' in something not a structure or union
In file included from osdep.c:885:
sslstdio.c: In function `PBIN':
sslstdio.c:28: error: request for member `sslstream' in something not a structure or union
sslstdio.c:30: error: request for member `sslstream' in something not a structure or union
sslstdio.c:31: error: request for member `sslstream' in something not a structure or union
sslstdio.c: In function `PSIN':
sslstdio.c:49: error: request for member `sslstream' in something not a structure or union
sslstdio.c:50: error: request for member `sslstream' in something not a structure or union
sslstdio.c:50: error: request for member `sslstream' in something not a structure or union
sslstdio.c:52: error: request for member `sslstream' in something not a structure or union
sslstdio.c: In function `PSINR':
sslstdio.c:72: error: request for member `sslstream' in something not a structure or union
sslstdio.c: In function `PBOUT':
sslstdio.c:98: error: request for member `octr' in something not a structure or union
sslstdio.c:99: error: request for member `octr' in something not a structure or union
sslstdio.c:100: error: request for member `optr' in something not a structure or union
sslstdio.c: In function `PSOUT':
sslstdio.c:114: error: request for member `octr' in something not a structure or union
sslstdio.c:115: error: request for member `optr' in something not a structure or union
sslstdio.c:116: error: request for member `octr' in something not a structure or union
sslstdio.c: In function `PSOUTR':
sslstdio.c:133: error: request for member `octr' in something not a structure or union
sslstdio.c:135: error: request for member `optr' in something not a structure or union
sslstdio.c:135: error: request for member `octr' in something not a structure or union
sslstdio.c:136: error: request for member `optr' in something not a structure or union
sslstdio.c:137: error: request for member `octr' in something not a structure or union
sslstdio.c: In function `PFLUSH':
sslstdio.c:155: error: request for member `sslstream' in something not a structure or union
sslstdio.c:155: error: request for member `obuf' in something not a structure or union
sslstdio.c:156: error: request for member `octr' in something not a structure or union
sslstdio.c:158: error: request for member `optr' in something not a structure or union
sslstdio.c:158: error: request for member `obuf' in something not a structure or union
sslstdio.c:159: error: request for member `octr' in something not a structure or union
osdep.c: At top level:
osdep.c:238: error: storage size of `ssldriver' isn't known
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/usr/local/src/imap-2004g/c-client'
make[2]: *** [slx] Error 2
make[2]: Leaving directory `/usr/local/src/imap-2004g/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/usr/local/src/imap-2004g'
make: *** [slx] Error 2
monster8 目前離線   回覆時引用此篇文章
回覆

主題工具
顯示模式

論壇跳轉

相似的主題
主題 主題作者 版面 回覆 最後發表
buffalo client manager? 小忍~~ 手機資訊/電腦軟硬討論 0 07-06-06 11:08 PM
NGC主機Linux α版公布 witchblade 電視遊戲討論版 3 02-06-04 10:43 PM
Notebook裝RH Linux憂慮, 及請教. 白頭 手機資訊/電腦軟硬討論 4 10-14-03 12:56 AM
Computer Auto shut down problem, please help GimGim 手機資訊/電腦軟硬討論 2 08-12-03 10:37 AM
Linux 是安全性最差的OS ASMFC 手機資訊/電腦軟硬討論 18 12-03-02 12:14 PM


現在的時間是 04:14 PM


手機版 | APP版
Powered by vBulletin® 版本 3.8.3
版權所有 ©2000 - 2022,Jelsoft Enterprises Ltd. map
Games Animation Forum