[Mono-dev] problem compiling 1.9.1 on OpenBSD

pablosantosluac at terra.es pablosantosluac at terra.es
Fri Jul 4 17:57:22 EDT 2008


Were you able to build it?

pablo

Andreas Färber escribió:
> Hello,
>
> Try configuring --with-gc=none first. Then try --with-gc=boehm and use  
> a recent Boehm GC such as 7.1 or 7.0 (with appropriate CPPFLAGS and  
> LDFLAGS if necessary). If the "sigaltstack" feature is enabled by  
> default, try --with-sigaltstack=no. That's some of the things I needed  
> to do on Solaris.
>
> libgdiplus has definitely nothing to do with this.
>
> Andreas
>
> Am 17.06.2008 um 18:53 schrieb Genadijus Paleckis:
>
>   
>> Forgot to mention that when build freezes when mini-mono compiling
>> something it consumes 100% CPU.
>>
>> Genadijus Paleckis wrote:
>>     
>>> Hello list.
>>>
>>> I have a problem while compiling 1.9.1 on OpenBSD 4.3.
>>>
>>> I must say that I am compiling it without having libgdiplus (because
>>> /Compiling_Mono says I must have it as other dependencies, I think  
>>> it is
>>> not big deal because I don't want to have any drawing support,  
>>> well...
>>> at least for now).
>>>
>>> because it is running from OpenBSD ports subsystem I will display  
>>> what
>>> ENV it is using now.
>>>
>>> configure script is running with environment:
>>> CC="cc"
>>> ac_cv_path_CC="cc"
>>> CFLAGS="-O2 -pipe"
>>> CXX="c++"
>>> ac_cv_path_CXX="c++"
>>> CXXFLAGS="-O2 -pipe"
>>> INSTALL="/usr/bin/install -c -o root -g bin"
>>> ac_given_INSTALL="/usr/bin/install -c -o root -g bin"
>>> INSTALL_PROGRAM="install -c -s -o root -g bin -m 555
>>> INSTALL_MAN="install -c -o root -g bin -m 444"
>>> INSTALL_SCRIPT="install -c -o root -g bin -m 555"
>>> INSTALL_DATA="install -c -o root -g bin -m 444"
>>> YACC="yacc"
>>> CFLAGS="-O2 -pipe  -ggdb -I/usr/local/include"
>>> LDFLAGS=" -L/usr/local/lib"
>>> CONFIG_SITE='/usr/ports/infrastructure/db/config.site"
>>> LIBTOOL="/usr/local/bin/libtool "
>>> PATH=/home/rwx/works/ports/mystuff/lang/mono/w-mono-1.9.1/bin:/usr/ 
>>> bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin
>>>
>>> arguments for configure script is following: ./configure
>>> --prefix='/usr/local' --sysconfdir='/etc' --mandir='/usr/local/man'
>>> --infodir='/usr/local/info'
>>>
>>> configure output can be found http://84.32.234.78/mono.configure.gz
>>>
>>> and build output can be found http://84.32.234.78/mono.build.gz
>>>
>>> compressed port (skeleton with patches adopted for OpenBSD build)  
>>> can be
>>> found http://84.32.234.78/mono.tar.gz
>>>
>>> at some point build stops and ps shows me that mono is trying to
>>> compile? something? anyway I've tried to attach gdb into process and
>>> that's what I've got:
>>>
>>> GNU gdb 6.3
>>> Copyright 2004 Free Software Foundation, Inc.
>>> GDB is free software, covered by the GNU General Public License,  
>>> and you are
>>> welcome to change it and/or distribute copies of it under certain
>>> conditions.
>>> Type "show copying" to see the conditions.
>>> There is absolutely no warranty for GDB.  Type "show warranty" for  
>>> details.
>>> This GDB was configured as "i386-unknown-openbsd4.3"...
>>> Attaching to program:
>>> /home/rwx/works/ports/mystuff/lang/mono/w-mono-1.9.1/mono-1.9.1/ 
>>> mono/mini/mono,
>>> process 16986
>>> Reading symbols from /usr/lib/libpthread.so.9.0...done.
>>> Loaded symbols for /usr/lib/libpthread.so.9.0
>>> Reading symbols from /usr/local/lib/libgthread-2.0.so.1400.3...done.
>>> Loaded symbols for /usr/local/lib/libgthread-2.0.so.1400.3
>>> Reading symbols from /usr/local/lib/libglib-2.0.so.1400.3...done.
>>> Loaded symbols for /usr/local/lib/libglib-2.0.so.1400.3
>>> Reading symbols from /usr/local/lib/libpcre.so.2.1...done.
>>> Loaded symbols for /usr/local/lib/libpcre.so.2.1
>>> Reading symbols from /usr/local/lib/libintl.so.4.0...done.
>>> Loaded symbols for /usr/local/lib/libintl.so.4.0
>>> Reading symbols from /usr/local/lib/libiconv.so.4.0...done.
>>> Loaded symbols for /usr/local/lib/libiconv.so.4.0
>>> Symbols already loaded for /usr/lib/libpthread.so.9.0
>>> Reading symbols from /usr/lib/libm.so.2.3...done.
>>> Loaded symbols for /usr/lib/libm.so.2.3
>>> Reading symbols from /usr/lib/libc.so.43.0...done.
>>> Loaded symbols for /usr/lib/libc.so.43.0
>>> Reading symbols from /usr/libexec/ld.so...done.
>>> Loaded symbols for /usr/libexec/ld.so
>>> 0x1c0d3d13 in GC_mark_from (mark_stack_top=0x3c0ac000,
>>> mark_stack=0x3c0ac000, mark_stack_limit=0x3c0b4000) at mark.c:759
>>> 759               deferred = *limit;
>>> (gdb)
>>>
>>>
>>> So, any pointing's where to look would be very appreciated.
>>>
>>> --
>>> GP
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>       
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>     
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>   


More information about the Mono-devel-list mailing list