Re: Missing "Unix" inside of "Mono"

Timotheus Pokorra <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAJ0=nQe3WvHrh4aii6SHMOUTktumUAp4ugCzrh_YZ=MbJvMrUA@mail.gmail.com>
Hello Baltasar,

I have fired up a Ubuntu 14.04 machine, with Xamarin mono packages.
locate Mono.Posix
shows
/usr/lib/mono/2.0/Mono.Posix.dll
/usr/lib/mono/4.0/Mono.Posix.dll
/usr/lib/mono/4.5/Mono.Posix.dll
/usr/lib/mono/gac/Mono.Posix
/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll

dpkg-query -S /usr/lib/mono/gac/Mono.Posix
shows:
libmono-posix4.0-cil: /usr/lib/mono/gac/Mono.Posix

So if you install apt-get install libmono-posix4.0-cil from the
Xamarin repo, and you run the sed commands on your extracted pinta
tarball (https://github.com/PintaProject/Pinta/releases/download/1.6/pinta-1.6.tar.gz):

find . -name "*.sln" -print -exec sed -i 's/Format Version
10.00/Format Version 11.00/g' {} \;
find . \( -name "*.csproj" -o -name "*.proj" \) -print -exec sed -i
's#ToolsVersion="3.5"#ToolsVersion="4.0"#g;
s#<TargetFrameworkVersion>.*</TargetFrameworkVersion>##g;
s#<PropertyGroup>#<PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>#g;
s#Mono.Posix, Version.*"#Mono.Posix"#g' {} \;

then you should be able to run configure and make.

I only referenced the git of Pinta in Fedora, because of these lines
in the spec file.

Hope this helps,
 Timotheus

On 20 May 2015 at 14:53, Baltasar García Perez-Schofield
<[email protected]> wrote:
> Hi,
>
>> Have a look at how we solved the problem for Fedora, to build pinta with
>> Mono4:
>> http://pkgs.fedoraproject.org/cgit/pinta.git/
>
>
> Sorry, but don't know how to make heads and tails of this. Also, the issue
> is a missing dll... can this be solved by fixing the sources?
>
> -- baltasar
>



-- 
Kontaktdaten:
in Plauen: 03741 7424995
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.