LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 807|回复: 6

emerge samba出错

[复制链接]
发表于 2006-7-2 13:59:39 | 显示全部楼层 |阅读模式
  1. yangtse pictures # emerge -v samba
  2. Calculating dependencies... done!
  3. >>> Emerging (1 of 1) net-fs/samba-3.0.22-r2 to /
  4. >>> checking ebuild checksums ;-)
  5. >>> checking auxfile checksums ;-)
  6. >>> checking miscfile checksums ;-)
  7. >>> checking samba-3.0.22.tar.gz ;-)
  8. >>> checking samba-3-gentoo-0.3.11.tar.bz2 ;-)
  9. >>> Unpacking source...
  10. >>> Unpacking samba-3.0.22.tar.gz to /var/tmp/portage/samba-3.0.22-r2/work
  11. >>> Unpacking samba-3-gentoo-0.3.11.tar.bz2 to /var/tmp/portage/samba-3.0.22-r2/work
  12. * Applying various patches (bugfixes/updates) ...
  13. *   002_all_samba-3.0.x-smbumount-uid32.patch ...                        [ ok ]
  14. *   003_all_samba-3.0.x-libdirsymlink.patch ...                          [ ok ]
  15. *   004_all_samba-2.2.8-statfs.patch ...                                 [ ok ]
  16. *   010_all_samba-3.0.x-extrabins.patch ...                              [ ok ]
  17. *   011_all_samba-3.0.x-subins-configure.patch ...                       [ ok ]
  18. *   012_all_samba-3.0.x-subins-makefile.patch ...                        [ ok ]
  19. *   025_all_samba-3.0.x-pdb-mysql.patch ...                              [ ok ]
  20. *   030_all_samba-3.0.x-cross-compile.patch ...                          [ ok ]
  21. * Done with patching
  22. >>> Source unpacked.
  23. >>> Compiling source in /var/tmp/portage/samba-3.0.22-r2/work/samba-3.0.22/source ...
  24. * Running autoconf ...                                                   [ ok ]
  25. QA Notice: USE Flag 'linguas_ja' not in IUSE for net-fs/samba-3.0.22-r2
  26. QA Notice: USE Flag 'linguas_pl' not in IUSE for net-fs/samba-3.0.22-r2
  27. QA Notice: USE Flag 'kernel_linux' not in IUSE for net-fs/samba-3.0.22-r2
  28. * econf: updating samba-3.0.22/source/config.guess with /usr/share/gnuconfig/config.guess
  29. * econf: updating samba-3.0.22/source/config.sub with /usr/share/gnuconfig/config.sub
  30. ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-fhs --sysconfdir=/etc/samba --localstatedir=/var --with-configdir=/etc/samba --with-libdir=/usr/lib64/samba --with-swatdir=/usr/share/doc/samba-3.0.22-r2/swat --with-piddir=/var/run/samba --with-lockdir=/var/cache/samba --with-logfilebase=/var/log/samba --with-privatedir=/var/lib/samba/private --with-libsmbclient --without-spinlocks --without-acl-support --without-aio-support --without-automount --disable-cups --without-krb5 --with-pam --with-pam_smbpass --with-python --without-quotas --without-sys-quotas --with-readline --with-smbmount --without-syslog --with-expsam=xml, --with-manpages-langs=en --without-ldapsam --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
  31. SAMBA VERSION: 3.0.22
  32. checking for -fPIE... yes
  33. checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  34. checking for C compiler default output file name... a.out
  35. checking whether the C compiler works... yes
  36. checking whether we are cross compiling... no
  37. checking for suffix of executables...
  38. checking for suffix of object files... o
  39. checking whether we are using the GNU C compiler... yes
  40. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  41. checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
  42. ./configure: line 3300: syntax error near unexpected token `;'
  43. ./configure: line 3300: `;'

  44. !!! Please attach the following file when filing a report to bugs.gentoo.org:
  45. !!! /var/tmp/portage/samba-3.0.22-r2/work/samba-3.0.22/source/config.log

  46. !!! ERROR: net-fs/samba-3.0.22-r2 failed.
  47. Call stack:
  48.   ebuild.sh, line 1545:   Called dyn_compile
  49.   ebuild.sh, line 940:   Called src_compile
  50.   samba-3.0.22-r2.ebuild, line 104:   Called econf '--with-fhs' '--sysconfdir=/etc/samba' '--localstatedir=/var' '--with-configdir=/etc/samba' '--with-libdir=/usr/lib64/samba' '--with-swatdir=/usr/share/doc/samba-3.0.22-r2/swat' '--with-piddir=/var/run/samba' '--with-lockdir=/var/cache/samba' '--with-logfilebase=/var/log/samba' '--with-privatedir=/var/lib/samba/private' '--with-libsmbclient' '--without-spinlocks' '--without-acl-support' '--without-aio-support' '--without-automount' '--disable-cups' '--without-krb5' '--with-pam' '--with-pam_smbpass' '--with-python' '--without-quotas' '--without-sys-quotas' '--with-readline' '--with-smbmount' '--without-syslog' '--with-expsam=xml,' '--with-manpages-langs=en' '--without-ldapsam'
  51.   ebuild.sh, line 541:   Called die

  52. !!! econf failed
  53. !!! If you need support, post the topmost build error, and the call stack if relevant.

  54. yangtse pictures #
复制代码
 楼主| 发表于 2006-7-2 14:00:56 | 显示全部楼层
  1. yangtse pictures # cat /var/tmp/portage/samba-3.0.22-r2/work/samba-3.0.22/source/config.log
  2. This file contains any messages produced by compilers while
  3. running configure, to aid debugging if configure makes a mistake.
  4. It was created by configure, which was
  5. generated by GNU Autoconf 2.60.  Invocation command line was
  6.   $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-fhs --sysconfdir=/etc/samba --localstatedir=/var --with-configdir=/etc/samba --with-libdir=/usr/lib64/samba --with-swatdir=/usr/share/doc/samba-3.0.22-r2/swat --with-piddir=/var/run/samba --with-lockdir=/var/cache/samba --with-logfilebase=/var/log/samba --with-privatedir=/var/lib/samba/private --with-libsmbclient --without-spinlocks --without-acl-support --without-aio-support --without-automount --disable-cups --without-krb5 --with-pam --with-pam_smbpass --with-python --without-quotas --without-sys-quotas --with-readline --with-smbmount --without-syslog --with-expsam=xml, --with-manpages-langs=en --without-ldapsam --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
  7. ## --------- ##
  8. ## Platform. ##
  9. ## --------- ##
  10. hostname = yangtse
  11. uname -m = x86_64
  12. uname -r = 2.6.17-gentoo
  13. uname -s = Linux
  14. uname -v = #5 Sat Jul 1 17:55:10 CST 2006
  15. /usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3000+
  16. /bin/uname -X     = unknown
  17. /bin/arch              = x86_64
  18. /usr/bin/arch -k       = unknown
  19. /usr/convex/getsysinfo = unknown
  20. /usr/bin/hostinfo      = unknown
  21. /bin/machine           = unknown
  22. /usr/bin/oslevel       = unknown
  23. /bin/universe          = unknown
  24. PATH: /usr/local/sbin
  25. PATH: /sbin
  26. PATH: /usr/sbin
  27. PATH: /usr/lib/portage/bin
  28. PATH: /usr/local/bin
  29. PATH: /bin
  30. PATH: /usr/bin
  31. PATH: /opt/bin
  32. PATH: /usr/kde/3.5/sbin
  33. PATH: /usr/kde/3.5/bin
  34. PATH: /usr/qt/3/bin
  35. ## ----------- ##
  36. ## Core tests. ##
  37. ## ----------- ##
  38. configure:2167: checking for -fPIE
  39. configure:2177: cc -march=k8 -O2 -pipe -fomit-frame-pointer   -pie -fPIE -o conftest conftest.c 1>&5
  40. configure:2180: $? = 0
  41. configure:2189: result: yes
  42. configure:2238: checking for x86_64-pc-linux-gnu-gcc
  43. configure:2254: found /usr/bin/x86_64-pc-linux-gnu-gcc
  44. configure:2265: result: x86_64-pc-linux-gnu-gcc
  45. configure:2543: checking for C compiler version
  46. configure:2550: x86_64-pc-linux-gnu-gcc --version >&5
  47. x86_64-pc-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1)
  48. Copyright (C) 2006 Free Software Foundation, Inc.
  49. This is free software; see the source for copying conditions.  There is NO
  50. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  51. configure:2553: $? = 0
  52. configure:2560: x86_64-pc-linux-gnu-gcc -v >&5
  53. Using built-in specs.
  54. Target: x86_64-pc-linux-gnu
  55. Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
  56. Thread model: posix
  57. gcc version 4.1.1 (Gentoo 4.1.1)
  58. configure:2563: $? = 0
  59. configure:2570: x86_64-pc-linux-gnu-gcc -V >&5
  60. x86_64-pc-linux-gnu-gcc: '-V' option must have argument
  61. configure:2573: $? = 1
  62. configure:2596: checking for C compiler default output file name
  63. configure:2623: x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -D_SAMBA_BUILD_   conftest.c  >&5
  64. configure:2626: $? = 0
  65. configure:2672: result: a.out
  66. configure:2677: checking whether the C compiler works
  67. configure:2687: ./a.out
  68. configure:2690: $? = 0
  69. configure:2707: result: yes
  70. configure:2714: checking whether we are cross compiling
  71. configure:2716: result: no
  72. configure:2719: checking for suffix of executables
  73. configure:2726: x86_64-pc-linux-gnu-gcc -o conftest -march=k8 -O2 -pipe -fomit-frame-pointer -D_SAMBA_BUILD_   conftest.c  >&5
  74. configure:2729: $? = 0
  75. configure:2753: result:
  76. configure:2759: checking for suffix of object files
  77. configure:2785: x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -pipe -fomit-frame-pointer -D_SAMBA_BUILD_  conftest.c >&5
  78. configure:2788: $? = 0
  79. configure:2811: result: o
  80. configure:2815: checking whether we are using the GNU C compiler
  81. configure:2844: x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -pipe -fomit-frame-pointer -D_SAMBA_BUILD_  conftest.c >&5
  82. configure:2850: $? = 0
  83. configure:2857: test -z "$ac_c_werror_flag" || test ! -s conftest.err
  84. configure:2860: $? = 0
  85. configure:2867: test -s conftest.o
  86. configure:2870: $? = 0
  87. configure:2884: result: yes
  88. configure:2889: checking whether x86_64-pc-linux-gnu-gcc accepts -g
  89. configure:2919: x86_64-pc-linux-gnu-gcc -c -g  conftest.c >&5
  90. configure:2925: $? = 0
  91. configure:2932: test -z "$ac_c_werror_flag" || test ! -s conftest.err
  92. configure:2935: $? = 0
  93. configure:2942: test -s conftest.o
  94. configure:2945: $? = 0
  95. configure:3075: result: yes
  96. configure:3092: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89
  97. configure:3166: x86_64-pc-linux-gnu-gcc  -c -march=k8 -O2 -pipe -fomit-frame-pointer -D_SAMBA_BUILD_  conftest.c >&5
  98. configure:3172: $? = 0
  99. configure:3179: test -z "$ac_c_werror_flag" || test ! -s conftest.err
  100. configure:3182: $? = 0
  101. configure:3189: test -s conftest.o
  102. configure:3192: $? = 0
  103. configure:3212: result: none needed
  104. ## ---------------- ##
  105. ## Cache variables. ##
  106. ## ---------------- ##
  107. ac_cv_c_compiler_gnu=yes
  108. ac_cv_env_CC_set=
  109. ac_cv_env_CC_value=
  110. ac_cv_env_CFLAGS_set=set
  111. ac_cv_env_CFLAGS_value='-march=k8 -O2 -pipe -fomit-frame-pointer'
  112. ac_cv_env_CPPFLAGS_set=
  113. ac_cv_env_CPPFLAGS_value=
  114. ac_cv_env_CPP_set=
  115. ac_cv_env_CPP_value=
  116. ac_cv_env_LDFLAGS_set=
  117. ac_cv_env_LDFLAGS_value=
  118. ac_cv_env_build_alias_set=set
  119. ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
  120. ac_cv_env_host_alias_set=set
  121. ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
  122. ac_cv_env_target_alias_set=
  123. ac_cv_env_target_alias_value=
  124. ac_cv_objext=o
  125. ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
  126. ac_cv_prog_cc_c89=
  127. ac_cv_prog_cc_g=yes
  128. libc_cv_fpie=yes
  129. ## ----------------- ##
  130. ## Output variables. ##
  131. ## ----------------- ##
  132. ACL_LIBS=''
  133. AR=''
  134. AUTH_LIBS=''
  135. AUTH_MODULES=''
  136. AUTH_STATIC=''
  137. AWK=''
  138. BROKEN_CC=''
  139. BUILD_POPT=''
  140. CC='x86_64-pc-linux-gnu-gcc'
  141. CFLAGS='-march=k8 -O2 -pipe -fomit-frame-pointer -D_SAMBA_BUILD_'
  142. CHARSET_MODULES=''
  143. CHARSET_STATIC=''
  144. CONFIG_LIBS=''
  145. CPP=''
  146. CPPFLAGS=''
  147. CUPS_CONFIG=''
  148. DEFS=''
  149. DYNEXP=''
  150. ECHO_C=''
  151. ECHO_N='-n'
  152. ECHO_T=''
  153. EGREP=''
  154. EXEEXT=''
  155. EXTRA_ALL_TARGETS=''
  156. EXTRA_BIN_PROGS=''
  157. EXTRA_SBIN_PROGS=''
  158. EXTRA_SUBIN_PROGS=''
  159. FLAGS1=''
  160. GREP=''
  161. HOST_OS=''
  162. IDMAP_LIBS=''
  163. IDMAP_MODULES=''
  164. IDMAP_STATIC=''
  165. INSTALLLIBCMD_A=''
  166. INSTALLLIBCMD_SH=''
  167. INSTALL_DATA=''
  168. INSTALL_LIBMSRPC=''
  169. INSTALL_LIBSMBCLIENT=''
  170. INSTALL_LIBSMBSHAREMODES=''
  171. INSTALL_PROGRAM=''
  172. INSTALL_SCRIPT=''
  173. KRB5CONFIG=''
  174. KRB5_LIBS=''
  175. LDAP_LIBS=''
  176. LDFLAGS=''
  177. LDSHFLAGS=''
  178. LIBMSRPC=''
  179. LIBMSRPC_SHARED=''
  180. LIBOBJS=''
  181. LIBS=''
  182. LIBSMBCLIENT=''
  183. LIBSMBCLIENT_SHARED=''
  184. LIBSMBSHAREMODES=''
  185. LIBSMBSHAREMODES_SHARED=''
  186. LTLIBOBJS=''
  187. MYSQL_CFLAGS=''
  188. MYSQL_CONFIG=''
  189. MYSQL_LIBS=''
  190. OBJEXT='o'
  191. PACKAGE_BUGREPORT=''
  192. PACKAGE_NAME=''
  193. PACKAGE_STRING=''
  194. PACKAGE_TARNAME=''
  195. PACKAGE_VERSION=''
  196. PASSDB_LIBS=''
  197. PATH_SEPARATOR=':'
  198. PDB_MODULES=''
  199. PDB_STATIC=''
  200. PERL=''
  201. PGSQL_CFLAGS=''
  202. PGSQL_CONFIG=''
  203. PGSQL_LIBS=''
  204. PICFLAGS=''
  205. PICSUFFIX=''
  206. PIE_CFLAGS='-fPIE'
  207. PIE_LDFLAGS='-pie'
  208. POPTLIBS=''
  209. PRINT_LIBS=''
  210. PYTHON=''
  211. ROFF=''
  212. RPC_MODULES=''
  213. RPC_STATIC=''
  214. SHELL='/bin/sh'
  215. SHLD=''
  216. SHLIBEXT=''
  217. SHLIB_PROGS=''
  218. SMBLDAP=''
  219. SMBLDAPUTIL=''
  220. SMBWRAPPER=''
  221. SMBWRAP_INC=''
  222. SMBWRAP_OBJS=''
  223. SOCKWRAP=''
  224. SONAMEFLAG=''
  225. SONAMEVERSIONSUFFIX=''
  226. TERMLDFLAGS=''
  227. TERMLIBS=''
  228. VFS_MODULES=''
  229. VFS_STATIC=''
  230. WINBIND_NSS=''
  231. WINBIND_NSS_EXTRA_LIBS=''
  232. WINBIND_NSS_EXTRA_OBJS=''
  233. WINBIND_NSS_LDSHFLAGS=''
  234. WINBIND_WINS_NSS=''
  235. XML2_CONFIG=''
  236. XML_CFLAGS=''
  237. XML_LIBS=''
  238. ac_ct_CC=''
  239. bindir='${exec_prefix}/bin'
  240. build='x86_64-pc-linux-gnu'
  241. build_alias='x86_64-pc-linux-gnu'
  242. build_cpu=''
  243. build_os=''
  244. build_vendor=''
  245. builddir=''
  246. configdir='/etc/samba'
  247. datadir='/usr/share'
  248. datarootdir='${prefix}/share'
  249. docdir='${datarootdir}/doc/${PACKAGE}'
  250. dvidir='${docdir}'
  251. exec_prefix='NONE'
  252. host='x86_64-pc-linux-gnu'
  253. host_alias='x86_64-pc-linux-gnu'
  254. host_cpu=''
  255. host_os=''
  256. host_vendor=''
  257. htmldir='${docdir}'
  258. includedir='${prefix}/include'
  259. infodir='/usr/share/info'
  260. libc_cv_fpie='yes'
  261. libdir='/usr/lib64/samba'
  262. libexecdir='${exec_prefix}/libexec'
  263. localedir='${datarootdir}/locale'
  264. localstatedir='/var'
  265. lockdir='/var/cache/samba'
  266. logfilebase='/var/log/samba'
  267. mandir='${prefix}/share/man'
  268. oldincludedir='/usr/include'
  269. pdfdir='${docdir}'
  270. piddir='/var/run/samba'
  271. prefix='/usr'
  272. privatedir='/var/lib/samba/private'
  273. program_transform_name='s,x,x,'
  274. psdir='${docdir}'
  275. sbindir='${exec_prefix}/sbin'
  276. sharedstatedir='${prefix}/com'
  277. swatdir='/usr/share/doc/samba-3.0.22-r2/swat'
  278. sysconfdir='/etc/samba'
  279. target=''
  280. target_alias=''
  281. target_cpu=''
  282. target_os=''
  283. target_vendor=''
  284. ## ----------- ##
  285. ## confdefs.h. ##
  286. ## ----------- ##
  287. #define PACKAGE_NAME ""
  288. #define PACKAGE_TARNAME ""
  289. #define PACKAGE_VERSION ""
  290. #define PACKAGE_STRING ""
  291. #define PACKAGE_BUGREPORT ""
  292. configure: exit 258
  293. yangtse pictures #
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-5 21:15:20 | 显示全部楼层
自己顶一个。
sync了几天了,还不行。一直没更新。
回复 支持 反对

使用道具 举报

发表于 2006-7-5 21:38:38 | 显示全部楼层
bug建议先搜索bugs.gentoo.org
如果没有在上面报告一个
这样,所有的用户都能受益
回复 支持 反对

使用道具 举报

发表于 2006-7-6 02:46:08 | 显示全部楼层
bugs.gentoo.org上已有这个问题
试一下:edit samba-3.0.22-r2, immediately before the "econf" line
fixed typo:
          grep -Ev "^;$" ${S}/configure > ${S}/ctmp
          mv ${S}/ctmp ${S}/configure
          chmod 755 ${S}/configure
ebuild samba-3.0.22-r2.ebuild digest
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-6 09:36:52 | 显示全部楼层
好的。我还有几个bug
一块提交了去。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-6 10:19:40 | 显示全部楼层
好了。解决了。
lprng也是同样的问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表