This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

error building lib32-freeglut on archlinux

By: a guest on Nov 11th, 2011  |  syntax: None  |  size: 12.57 KB  |  views: 83  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ###############################################################
  2. The build:
  3. ###############################################################
  4.  
  5. aur-lib32-freeglut $ makepkg
  6. ==> Making package: lib32-freeglut 2.6.0-2 (Fri Nov 11 19:42:28 ART 2011)
  7. ==> Checking runtime dependencies...
  8. ==> Checking buildtime dependencies...
  9. ==> Retrieving Sources...
  10.   -> Found freeglut-2.6.0.tar.gz
  11.   -> Found 2.6.0-GFX_radeon.patch
  12. ==> Validating source files with md5sums...
  13.     freeglut-2.6.0.tar.gz ... Passed
  14.     2.6.0-GFX_radeon.patch ... Passed
  15. ==> Extracting Sources...
  16.   -> Extracting freeglut-2.6.0.tar.gz with bsdtar
  17. ==> Removing existing pkg/ directory...
  18. ==> Starting build()...
  19. patching file src/freeglut_window.c
  20. configure.ac:17: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  21. configure.ac:17: You should run autoupdate.
  22. aclocal.m4:8090: AC_LIBTOOL_DLOPEN is expanded from...
  23. configure.ac:17: the top level
  24. configure.ac:17: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
  25. configure.ac:17: put the `dlopen' option into LT_INIT's first parameter.
  26. aclocal.m4:8090: AC_LIBTOOL_DLOPEN is expanded from...
  27. configure.ac:17: the top level
  28. configure.ac:18: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
  29. configure.ac:18: You should run autoupdate.
  30. aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
  31. configure.ac:18: the top level
  32. configure.ac:58: warning: The macro `AC_CHECK_LIBM' is obsolete.
  33. configure.ac:58: You should run autoupdate.
  34. aclocal.m4:3592: AC_CHECK_LIBM is expanded from...
  35. configure.ac:58: the top level
  36. libtoolize: putting auxiliary files in `.'.
  37. libtoolize: copying file `./ltmain.sh'
  38. libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
  39. libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
  40. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  41. configure.ac:17: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  42. configure.ac:17: You should run autoupdate.
  43. aclocal.m4:8090: AC_LIBTOOL_DLOPEN is expanded from...
  44. configure.ac:17: the top level
  45.  
  46. configure.ac:17: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
  47. configure.ac:17: put the `dlopen' option into LT_INIT's first parameter.
  48. aclocal.m4:8090: AC_LIBTOOL_DLOPEN is expanded from...
  49. configure.ac:17: the top level
  50. configure.ac:18: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
  51. configure.ac:18: You should run autoupdate.
  52. aclocal.m4:128: AC_PROG_LIBTOOL is expanded from...
  53. configure.ac:18: the top level
  54. configure.ac:58: warning: The macro `AC_CHECK_LIBM' is obsolete.
  55. configure.ac:58: You should run autoupdate.
  56. aclocal.m4:3592: AC_CHECK_LIBM is expanded from...
  57. configure.ac:58: the top level
  58. checking for a BSD-compatible install... /bin/install -c
  59. checking whether build environment is sane... yes
  60. checking for a thread-safe mkdir -p... /bin/mkdir -p
  61. checking for gawk... gawk
  62. checking whether make sets $(MAKE)... yes
  63. checking for gcc... gcc -m32
  64. checking whether the C compiler works... yes
  65. checking for C compiler default output file name... a.out
  66. checking for suffix of executables...
  67. checking whether we are cross compiling... configure: error: in `/tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0':
  68. configure: error: cannot run C compiled programs.
  69. If you meant to cross compile, use `--host'.
  70. See `config.log' for more details
  71. ==> ERROR: A failure occurred in build().
  72.     Aborting...
  73.  
  74. ###############################################################
  75. $ cat src/freeglut-2.6.0/config.log
  76. ###############################################################
  77.  
  78. This file contains any messages produced by compilers while
  79. running configure, to aid debugging if configure makes a mistake.
  80.  
  81. It was created by freeglut library configure 2.6.0, which was
  82. generated by GNU Autoconf 2.68.  Invocation command line was
  83.  
  84.   $ ./configure --prefix=/usr --libdir=/usr/lib32
  85.  
  86. ## --------- ##
  87. ## Platform. ##
  88. ## --------- ##
  89.  
  90. hostname = minea
  91. uname -m = x86_64
  92. uname -r = 3.0-ARCH
  93. uname -s = Linux
  94. uname -v = #1 SMP PREEMPT Fri Oct 7 11:35:34 CEST 2011
  95.  
  96. /usr/bin/uname -p = unknown
  97. /bin/uname -X     = unknown
  98.  
  99. /bin/arch              = x86_64
  100. /usr/bin/arch -k       = unknown
  101. /usr/convex/getsysinfo = unknown
  102. /usr/bin/hostinfo      = unknown
  103. /bin/machine           = unknown
  104. /usr/bin/oslevel       = unknown
  105. /bin/universe          = unknown
  106.  
  107. PATH: /usr/local/bin
  108. PATH: /usr/bin
  109. PATH: /bin
  110. PATH: /usr/local/sbin
  111. PATH: /usr/sbin
  112. PATH: /sbin
  113. PATH: /usr/share/java/apache-ant/bin
  114. PATH: /usr/bin/site_perl
  115. PATH: /usr/bin/vendor_perl
  116. PATH: /usr/lib/perl5/vendor_perl/bin
  117. PATH: /usr/bin/core_perl
  118. PATH: /opt/qt/bin
  119. PATH: /usr/local/bin
  120. PATH: /home/conan/bin
  121. PATH: /home/conan/bin/logicalis
  122. PATH: /usr/local/bin
  123. PATH: /home/conan/bin
  124. PATH: /home/conan/bin/logicalis
  125.  
  126.  
  127. ## ----------- ##
  128. ## Core tests. ##
  129. ## ----------- ##
  130.  
  131. configure:2253: checking for a BSD-compatible install
  132. configure:2321: result: /bin/install -c
  133. configure:2332: checking whether build environment is sane
  134. configure:2382: result: yes
  135. configure:2523: checking for a thread-safe mkdir -p
  136. configure:2562: result: /bin/mkdir -p
  137. configure:2575: checking for gawk
  138. configure:2591: found /usr/bin/gawk
  139. configure:2602: result: gawk
  140. configure:2613: checking whether make sets $(MAKE)
  141. configure:2635: result: yes
  142. configure:2772: checking for gcc
  143. configure:2799: result: gcc -m32
  144. configure:3028: checking for C compiler version
  145. configure:3037: gcc -m32 --version >&5
  146. gcc (GCC) 4.6.2
  147. Copyright (C) 2011 Free Software Foundation, Inc.
  148. This is free software; see the source for copying conditions.  There is NO
  149. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  150.  
  151. configure:3048: $? = 0
  152. configure:3037: gcc -m32 -v >&5
  153. Using built-in specs.
  154. COLLECT_GCC=gcc
  155. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
  156. Target: x86_64-unknown-linux-gnu
  157. Configured with: /build/src/gcc-4.6.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --enable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release
  158. Thread model: posix
  159. gcc version 4.6.2 (GCC)
  160. configure:3048: $? = 0
  161. configure:3037: gcc -m32 -V >&5
  162. gcc: error: unrecognized option '-V'
  163. gcc: fatal error: no input files
  164. compilation terminated.
  165. configure:3048: $? = 1
  166. configure:3037: gcc -m32 -qversion >&5
  167. gcc: error: unrecognized option '-qversion'
  168. gcc: fatal error: no input files
  169. compilation terminated.
  170. configure:3048: $? = 1
  171. configure:3068: checking whether the C compiler works
  172. configure:3090: gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c  >&5
  173. configure:3094: $? = 0
  174. configure:3142: result: yes
  175. configure:3145: checking for C compiler default output file name
  176. configure:3147: result: a.out
  177. configure:3153: checking for suffix of executables
  178. configure:3160: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c  >&5
  179. configure:3164: $? = 0
  180. configure:3186: result:
  181. configure:3208: checking whether we are cross compiling
  182. configure:3216: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c  >&5
  183. configure:3220: $? = 0
  184. configure:3227: ./conftest
  185. ./configure: line 3229: ./conftest: No such file or directory
  186. configure:3231: $? = 127
  187. configure:3238: error: in `/tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0':
  188. configure:3240: error: cannot run C compiled programs.
  189. If you meant to cross compile, use `--host'.
  190. See `config.log' for more details
  191.  
  192. ## ---------------- ##
  193. ## Cache variables. ##
  194. ## ---------------- ##
  195.  
  196. ac_cv_env_CC_set=set
  197. ac_cv_env_CC_value='gcc -m32'
  198. ac_cv_env_CFLAGS_set=set
  199. ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
  200. ac_cv_env_CPPFLAGS_set=
  201. ac_cv_env_CPPFLAGS_value=
  202. ac_cv_env_CPP_set=
  203. ac_cv_env_CPP_value=
  204. ac_cv_env_LDFLAGS_set=set
  205. ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
  206. ac_cv_env_LIBS_set=
  207. ac_cv_env_LIBS_value=
  208. ac_cv_env_XMKMF_set=
  209. ac_cv_env_XMKMF_value=
  210. ac_cv_env_build_alias_set=
  211. ac_cv_env_build_alias_value=
  212. ac_cv_env_host_alias_set=
  213. ac_cv_env_host_alias_value=
  214. ac_cv_env_target_alias_set=
  215. ac_cv_env_target_alias_value=
  216. ac_cv_path_install='/bin/install -c'
  217. ac_cv_path_mkdir=/bin/mkdir
  218. ac_cv_prog_AWK=gawk
  219. ac_cv_prog_ac_ct_CC='gcc -m32'
  220. ac_cv_prog_make_make_set=yes
  221.  
  222. ## ----------------- ##
  223. ## Output variables. ##
  224. ## ----------------- ##
  225.  
  226. ACLOCAL='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/missing --run aclocal-1.11'
  227. AMDEPBACKSLASH=''
  228. AMDEP_FALSE=''
  229. AMDEP_TRUE=''
  230. AMTAR='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/missing --run tar'
  231. AR=''
  232. AUTOCONF='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/missing --run autoconf'
  233. AUTOHEADER='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/missing --run autoheader'
  234. AUTOMAKE='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/missing --run automake-1.11'
  235. AWK='gawk'
  236. CC='gcc -m32'
  237. CCDEPMODE=''
  238. CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
  239. CPP=''
  240. CPPFLAGS=''
  241. CYGPATH_W='echo'
  242. DEFS=''
  243. DEPDIR=''
  244. DLLTOOL=''
  245. DSYMUTIL=''
  246. DUMPBIN=''
  247. ECHO_C=''
  248. ECHO_N='-n'
  249. ECHO_T=''
  250. EGREP=''
  251. EXEEXT=''
  252. EXPORT_FLAGS=''
  253. FGREP=''
  254. GL_LIBS=''
  255. GREP=''
  256. HEADER=''
  257. INSTALL_DATA='${INSTALL} -m 644'
  258. INSTALL_PROGRAM='${INSTALL}'
  259. INSTALL_SCRIPT='${INSTALL}'
  260. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  261. LD=''
  262. LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
  263. LIBM=''
  264. LIBOBJS=''
  265. LIBRARY=''
  266. LIBS=''
  267. LIBTOOL=''
  268. LIBTOOL_DEPS=''
  269. LIBXI=''
  270. LIBXXF86VM=''
  271. LIPO=''
  272. LN_S=''
  273. LTLIBOBJS=''
  274. MAKEINFO='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/missing --run makeinfo'
  275. MANIFEST_TOOL=''
  276. MKDIR_P='/bin/mkdir -p'
  277. NM=''
  278. NMEDIT=''
  279. OBJDUMP=''
  280. OBJEXT=''
  281. OTOOL64=''
  282. OTOOL=''
  283. PACKAGE='freeglut'
  284. PACKAGE_BUGREPORT='freeglut-bugs@lists.sourceforge.net'
  285. PACKAGE_NAME='freeglut library'
  286. PACKAGE_STRING='freeglut library 2.6.0'
  287. PACKAGE_TARNAME='freeglut'
  288. PACKAGE_URL=''
  289. PACKAGE_VERSION='2.6.0'
  290. PATH_SEPARATOR=':'
  291. RANLIB=''
  292. SED=''
  293. SET_MAKE=''
  294. SHELL='/bin/sh'
  295. STRIP=''
  296. VERSION='2.6.0'
  297. VERSION_INFO=''
  298. XMKMF=''
  299. X_CFLAGS=''
  300. X_EXTRA_LIBS=''
  301. X_LIBS=''
  302. X_PRE_LIBS=''
  303. ac_ct_AR=''
  304. ac_ct_CC='gcc -m32'
  305. ac_ct_DUMPBIN=''
  306. am__EXEEXT_FALSE=''
  307. am__EXEEXT_TRUE=''
  308. am__fastdepCC_FALSE=''
  309. am__fastdepCC_TRUE=''
  310. am__include=''
  311. am__isrc=''
  312. am__leading_dot='.'
  313. am__quote=''
  314. am__tar='${AMTAR} chof - "$$tardir"'
  315. am__untar='${AMTAR} xf -'
  316. bindir='${exec_prefix}/bin'
  317. build=''
  318. build_alias=''
  319. build_cpu=''
  320. build_os=''
  321. build_vendor=''
  322. datadir='${datarootdir}'
  323. datarootdir='${prefix}/share'
  324. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  325. dvidir='${docdir}'
  326. exec_prefix='NONE'
  327. host=''
  328. host_alias=''
  329. host_cpu=''
  330. host_os=''
  331. host_vendor=''
  332. htmldir='${docdir}'
  333. includedir='${prefix}/include'
  334. infodir='${datarootdir}/info'
  335. install_sh='${SHELL} /tmp/yaourt-tmp-conan/aur-lib32-freeglut/src/freeglut-2.6.0/install-sh'
  336. libdir='/usr/lib32'
  337. libexecdir='${exec_prefix}/libexec'
  338. localedir='${datarootdir}/locale'
  339. localstatedir='${prefix}/var'
  340. mandir='${datarootdir}/man'
  341. mkdir_p='/bin/mkdir -p'
  342. oldincludedir='/usr/include'
  343. pdfdir='${docdir}'
  344. prefix='/usr'
  345. program_transform_name='s,x,x,'
  346. psdir='${docdir}'
  347. sbindir='${exec_prefix}/sbin'
  348. sharedstatedir='${prefix}/com'
  349. sysconfdir='${prefix}/etc'
  350. target_alias=''
  351.  
  352. ## ----------- ##
  353. ## confdefs.h. ##
  354. ## ----------- ##
  355.  
  356. /* confdefs.h */
  357. #define PACKAGE_NAME "freeglut library"
  358. #define PACKAGE_TARNAME "freeglut"
  359. #define PACKAGE_VERSION "2.6.0"
  360. #define PACKAGE_STRING "freeglut library 2.6.0"
  361. #define PACKAGE_BUGREPORT "freeglut-bugs@lists.sourceforge.net"
  362. #define PACKAGE_URL ""
  363. #define PACKAGE "freeglut"
  364. #define VERSION "2.6.0"
  365.  
  366. configure: exit 1
  367.  
  368.  
  369.  
  370.  
clone this paste RAW Paste Data