[Mono-bugs] [Bug 661877] New: Utilities fail to find Mono when built with a prefix or suffix

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 30 12:01:40 EST 2010



           Summary: Utilities fail to find Mono when built with a prefix
                    or suffix
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: holmesmich at googlemail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---

Description of Problem:
Mono utilities will fail to find and execute Mono on the path when built with a
prefix or suffix.

Steps to reproduce the problem:
1. Build and install Mono from source with a suffix or prefix. In this case,
the suffix used was 2.8, in order to prevent collision with existing system
installation of Mono.
2. Attempt to run mcs(suffix), or any other Mono utility. In this case, mcs is
called mcs2.8.

Actual Results:
mcs exits abnormally with "exec: 2: /usr/local/bin/mono: not found".

Expected Results:
mcs should find the Mono binary regardless of the prefix specified at build

How often does this happen? 

Additional Information:

Version Information
Mono JIT compiler version 2.8.1 (tarball Thu Dec 30 05:50:27 GMT 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          debugger softdebug 
    LLVM:          yes(2.8)
    GC:            Included Boehm (with typed GC and Parallel Mark)

This bug can be easily fixed by editing all the mono utilites in your favourite
text editor, or by using sed, to execute your named version of Mono instead,
but these shell scripts should be built on templates which do this at
build-time. Appears to affect all Mono utilities compiled to CIL.

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

More information about the mono-bugs mailing list