[Mono-list] /usr/include vs /usr/local/include

James Gosnell James Gosnell" <abhorevil@hotmail.com
Fri, 9 May 2003 19:57:43 -0400


I had a similar problem with a FreeBSD build. Can you not set environment
variables in Solaris?

In FreeBSD I set before I ran the ./configure:
CPPFLAGS="-I/usr/local/include"; export CPPFLAGS
LDFLAGS="-L/usr/local/lib"; export LDFLAGS


when you want to compile GTK#, make sure to turn off GC before running the
./configure by setting:
GC_DONT_GC="yes"; export GC_DONT_GC

I got weird exceptions from the GTK# build, that why I shut it off. I'm
using Boehm 6.2alpha by the way.

----- Original Message ----- 
From: "WC -Sx- Jones" <lists@insecurity.org>
To: <mono-devel-list@lists.ximian.com>
Cc: <mono-list@lists.ximian.com>
Sent: Friday, May 09, 2003 8:05 PM
Subject: [Mono-list] /usr/include vs /usr/local/include


> [Please excuse the cross post]
>
>
> Another small FYI concerning building on Solaris 9 Ultrasparc:
>
> GC is installed into /usr/local/include/gc*.h files...  But mono is
> looking in:
> /usr/include/gc/*  (Note the gc directory requirement...)
>
>
> Either way I had to manually copy the correct header files and then:
>
> # ln -s /usr/include/gc /usr/local/include/gc
>
>
> Also, the gc* installation procedure DOES NOT copy all the required
> header files to the correct *include* director(y|ies) ...
>
>
> All of this is from the go-mono.com/download.html "Get Sources" page
> and using the Manual install methods...
>
> I should be a few steps closer to success on Solaris 9 ... I hope...
>
> PS - It is compiling now, but it is generating a ton of:
> warning: cast increases required alignment of target type
>
>
> Cheers  :)
> _Sx____________________
>   ('>    iudicium ferat
>   //\   Have Computer -
>   v_/_    Will Hack...
>
>                \|/ ____ \|/
>                "@'/ .. \`@"
>                /_| \__/ |_\
>                   \__U_/
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>