Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#11550 closed defect (invalid)

Build of Mono 1.2.3.1 fails if an older version of Mono is installed in /Library/Frameworks and /usr/bin

Reported by: frank.mcpherson@… Owned by: mww@…
Priority: Low Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

When trying to build Mono via sudo port install mono, I get an error which I've attached below. I believe this error is related to having an older (1.0.0.0) version of Mono installed via an installer package in /Library/Frameworks, with links to the executables from /usr/bin.

Once I removed this old version of Mono from /usr/bin and /Library/Frameworks, the macports mono build seems to be proceeding. However, the Mono build should specify Macports versions of the tools, not pick them up from my ${PATH}.

[frank@work frank]$ sudo port install mono
--->  Building mono with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_mono/work/mono-1.2.3.1" && make all" returned error 2
Command output: if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && make PROFILES='default net_2_0' CC='/usr/bin/gcc-4.0' all-profiles
make profile-do--default--all profile-do--net_2_0--all
make PROFILE=basic all
make all-local
make all-local
make[7]: Nothing to be done for `all-local'.
make all-local
mcs /codepage:65001   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug -target:exe -out:mcs.exe cs-parser.cs  @mcs.exe.sources
expression.cs(3651) error CS0572: Can't reference type `Modifier' through an expression; try `Mono.CSharp.Parameter+Modifier' instead
expression.cs(3694) error CS0572: Can't reference type `Modifier' through an expression; try `Mono.CSharp.Parameter+Modifier' instead
expression.cs(3695) error CS0572: Can't reference type `Modifier' through an expression; try `Mono.CSharp.Parameter+Modifier' instead
expression.cs(3695) error CS0572: Can't reference type `Modifier' through an expression; try `Mono.CSharp.Parameter+Modifier' instead
iterators.cs(358) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
iterators.cs(360) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
iterators.cs(362) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
iterators.cs(457) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
iterators.cs(458) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
iterators.cs(461) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
iterators.cs(591) error CS0572: Can't reference type `State' through an expression; try `Mono.CSharp.Iterator+State' instead
parameter.cs(488) error CS0572: Can't reference type `Modifier' through an expression; try `Mono.CSharp.Parameter+Modifier' instead
Compilation failed: 12 error(s), 0 warnings
make[7]: *** [../class/lib/basic/mcs.exe] Error 1
make[6]: *** [do-all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 17 years ago by jmpp@…

Milestone: MacPorts 1.4Available Ports

comment:2 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:3 Changed 16 years ago by mww@…

Resolution: invalid
Status: newclosed

current version of mono in the ports tree is 1.2.5.2 -- please re-open if problem persists with v1.2.5.2

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.