[Mono-bugs] [Bug 644382] New: error CS0246: The type or namespace name `var' could not be found during compile CentOS 4.8

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 6 17:18:57 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=644382

https://bugzilla.novell.com/show_bug.cgi?id=644382#c0


           Summary: error CS0246: The type or namespace name `var' could
                    not be found during compile CentOS 4.8
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.6.x
          Platform: x86
        OS/Version: RHEL 4
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Other.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lucas at digitalus.co.nz
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.24 Safari/534.7

Hi
I'm trying to compile mono-2.6.7 on CentOS 4.8 using the following commands:
yum install gcc bison pkgconfig glib2-devel gettext make
/configure –prefix=/opt/mono; make; make install

I'm receiving this error:


MCS     [basic] mcs.exe
decl.cs(628,57): error CS0246: The type or namespace name `var' could not be
found. Are you missing a using directive or an assembly reference?
nullable.cs(81,45): warning CS0219: The variable `c' is assigned but its value
is never used
Compilation failed: 1 error(s), 1 warnings


Reproducible: Always

Steps to Reproduce:
1. Enter yum install gcc bison pkgconfig glib2-devel gettext make
2. wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.7.tar.bz2
3. untar and cd mono-2.6.7
4. Enter /configure –prefix=/opt/mono; make; make install

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list