[Mono-list] Building Mono 3 on SLES11

Mat Arge argemat1010 at gmail.com
Thu Jun 20 08:51:12 UTC 2013


On Wednesday 19. June 2013 21:15:13 you wrote:
> Hello Mat,
> 
> Can you post the output of configure?   And the config.log would be useful.

Sure. Here is the content of config.log:

http://pastebin.com/xqJXVpwN

And here is the output from configure:

+ ./configure --host=i686-suse-linux-gnu --build=i686-suse-linux-gnu --
target=i586-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --
bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --
includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --
localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --
infodir=/usr/share/info --with-sgen=yes --with-ikvm=yes --with-moonlight=no
checking build system type... i686-suse-linux-gnu
checking host system type... i686-suse-linux-gnu
checking target system type... i586-suse-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking host platform characteristics... ok
checking for i686-suse-linux-gnu-gcc... no
checking for gcc... gcc
checking for i686-suse-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for i686-suse-linux-gnu-g++... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for i686-suse-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-suse-linux-gnu-ar... no
checking for ar... ar
checking for i686-suse-linux-gnu-strip... no
checking for strip... strip
checking for i686-suse-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
./configure: line 16394: ./libtool: No such file or directory
checking for ld used by gcc... (cached) /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... (cached) yes
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
char * *outbuf, size_t *outbytesleft);
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking linux/rtc.h usability... yes
checking linux/rtc.h presence... yes
checking for linux/rtc.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking libproc.h usability... no
checking libproc.h presence... no
checking for libproc.h... no
checking for sys/param.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking asm/sigcontext.h usability... yes
checking asm/sigcontext.h presence... yes
checking for asm/sigcontext.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for linux/netlink.h... yes
checking for linux/rtnetlink.h... yes
checking for sys/user.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
Using system zlib
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for isinf... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking size of void *... 4
checking for -Wdeclaration-after-statement option to gcc... yes
checking for -Wno-unused-but-set-variable option to gcc... no
checking for clang... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
checking for msgfmt... yes
checking for pkg-config... /usr/bin/pkg-config
checking for -mno-tls-direct-seg-refs option to gcc... yes
checking for visibility __attribute__... yes
checking for deprecated __attribute__... yes
checking whether gcc supports zero length arrays... yes
checking for library containing clock_gettime... -lrt
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getresuid... yes
checking for setresuid... yes
checking for kqueue... no
checking for backtrace_symbols... yes
checking for mkstemp... yes
checking for mmap... yes
checking for madvise... yes
checking for getrusage... yes
checking for getpriority... yes
checking for setpriority... yes
checking for dl_iterate_phdr... yes
checking for dladdr... yes
checking for sysconf... yes
checking for sched_setaffinity... yes
checking for sched_getcpu... yes
checking for sched_setaffinity from glibc < 2.3.4... no
checking if off_t is 64 bits wide... no
checking if _FILE_OFFSET_BITS=64 gives 64 bit off_t... ok
checking for socket in -lsocket... no
checking for MSG_NOSIGNAL... yes
checking for SOL_IP... yes
checking for SOL_IPV6... yes
checking for SOL_TCP... no
checking for IP_PKTINFO... yes
checking for IPV6_PKTINFO... yes
checking for IP_DONTFRAGMENT... no
checking for IP_MTU_DISCOVER... yes
checking for struct ip_mreqn... yes
checking for gethostbyname2_r... yes
checking for gethostbyaddr... yes
checking for inet_pton... yes
checking for inet_aton... yes
checking size of sockaddr_un.sun_path... 108
checking for main in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking for pthread_mutex_timedlock... yes
checking for pthread_getattr_np... yes
checking for pthread_attr_get_np... no
checking for pthread_kill... yes
checking for PTHREAD_MUTEX_RECURSIVE... ok
checking for pthread_attr_setstacksize... yes
checking for pthread_attr_getstack... yes
checking for pthread_attr_getstacksize... yes
checking for pthread_get_stacksize_np... no
checking for pthread_get_stackaddr_np... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sigaction... yes
checking for working __thread... yes
checking for working sigaltstack... yes
checking for library containing sem_init... none required
checking for library containing shm_open... none required
checking for shm_open... yes
checking for tm_gmtoff in struct tm... yes
checking for library containing sqrtf... -lm
checking for finite... yes
checking for isfinite... no
checking for isfinite in math.h... yes
checking for poll... yes
checking for signbit... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for epoll_ctl... yes
checking for kqueue... (cached) no
checking for kqueue in sys/event.h... checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for net/if.h... yes
checking for ifreq... yes
checking for sockaddr_in.sin_len... no
checking for sockaddr_in6.sin6_len... no
checking for getifaddrs... yes
checking for if_nametoindex... yes
checking checklist.h usability... no
checking checklist.h presence... no
checking for checklist.h... no
checking pathconf.h usability... no
checking pathconf.h presence... no
checking for pathconf.h... no
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/vfstab.h usability... no
checking sys/vfstab.h presence... no
checking for sys/vfstab.h... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking for sys/mount.h... yes
checking for sys/mount.h... (cached) yes
checking for confstr... yes
checking for seekdir... yes
checking for telldir... yes
checking for getdomainname... yes
checking for setdomainname... yes
checking for endgrent... yes
checking for getgrent... yes
checking for fgetgrent... yes
checking for setgrent... yes
checking for setgroups... yes
checking for endpwent... yes
checking for getpwent... yes
checking for fgetpwent... yes
checking for setpwent... yes
checking for getfsstat... no
checking for lutimes... yes
checking for futimes... yes
checking for mremap... yes
checking for remap_file_pages... yes
checking for posix_fadvise... yes
checking for posix_fallocate... yes
checking for posix_madvise... yes
checking for vsnprintf... yes
checking for sendfile... yes
checking for gethostid... yes
checking for sethostid... yes
checking for sethostname... yes
checking for statfs... yes
checking for fstatfs... yes
checking for statvfs... yes
checking for fstatvfs... yes
checking for stime... yes
checking for strerror_r... yes
checking for ttyname_r... yes
checking for psignal... yes
checking for getlogin_r... yes
checking for lockf... yes
checking for swab... yes
checking for setusershell... yes
checking for endusershell... yes
checking size of size_t... 4
checking for blksize_t... yes
checking for blkcnt_t... yes
checking for suseconds_t... yes
checking for struct flock... yes
checking for struct pollfd... yes
checking for struct stat... yes
checking for struct timespec... yes
checking for struct timeval... yes
checking for struct timezone... yes
checking for struct utimbuf... yes
checking for struct dirent.d_off... yes
checking for struct dirent.d_reclen... yes
checking for struct dirent.d_type... yes
checking for struct passwd.pw_gecos... yes
checking for struct statfs.f_flags... no
checking for lsetxattr... yes
checking for struct kinfo_proc.kp_proc... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/param.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for term.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for socklen_t... yes
checking for array element initializer support... yes
checking for trunc... yes
checking for aintl in -lsunmath... no
checking for round... yes
checking for rint... yes
checking for execvp... yes
checking if usage of random device is requested... yes
checking for random device... yes
checking if inter-process shared handles are requested... yes
checking if big-arrays are to be enabled... no
configure: error: Cross compiling is not supported for target i586-suse-linux-
gnu
error: Bad exit status from /var/tmp/rpm-tmp.38030 (%build)


> 
> On Tue, Jun 11, 2013 at 10:36 AM, Mat Arge <argemat1010 at gmail.com> wrote:
> > Hello!
> > 
> > Has anyone succeeded in building the mono-core-3.0.4-0.src.rpm from
> > http://download.mono-project.com/archive/ on SLES11?
> > I always get the strange configure error
> > 
> > configure: error: Cross compiling is not supported for target
> > i586-suse-linux-
> > gnu
> > 
> > regards
> > Mat
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list