[Mono-dev] Building Mono trunk on FreeBSD
pablosantosluac at terra.es
pablosantosluac at terra.es
Tue Feb 9 19:05:53 EST 2010
Actually the problem was that the script for webbrowser assumes
/bin/bash but in FreeBSD it's /usr/local/bin/bash... ouch!
On 10/02/2010 0:36, Zoltan Varga wrote:
> Hi,
>
> Its possible that we depend on the behavior of some system utils as
> well, I don't known which, since the file list is stored in a file and
> read from there.
>
> Zoltan
>
> On Wed, Feb 10, 2010 at 12:29 AM, pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es> <pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es>> wrote:
>
> Using gmake it went much further but...
>
> Creating the per profile list
> ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources ...
> ./../../tools/gensources.sh net_2_0_System.ServiceModel.Web.dll.sources
> > ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources
> env: bash: No such file or directory
> Creating
> ../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.response ...
> Creating
> ../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.makefrag ...
> gmake[7]: Leaving directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> gmake[7]: Entering directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> Creating
> ../../build/deps/net_2_0_System.ServiceModel.Web.dll.makefrag ...
> gmake[7]: Leaving directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> gmake[7]: Entering directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> gmake all-local
> gmake[8]: Entering directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> MCS [net_2_0] System.ServiceModel.Web.dll
> error CS2008: No files to compile were specified
> gmake[8]: *** [../../class/lib/net_2_0/System.ServiceModel.Web.dll]
> Error 1
> gmake[8]: Leaving directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> gmake[7]: *** [do-all] Error 2
> gmake[7]: Leaving directory
> `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
> gmake[6]: *** [all-recursive] Error 1
> gmake[6]: Leaving directory `/usr/home/pablo/monosrc/mcs/class'
> gmake[5]: *** [all-recursive] Error 1
> gmake[5]: Leaving directory `/usr/home/pablo/monosrc/mcs'
> gmake[4]: *** [profile-do--net_2_0--all] Error 2
> gmake[4]: Leaving directory `/usr/home/pablo/monosrc/mcs'
> gmake[3]: *** [profiles-do--all] Error 2
> gmake[3]: Leaving directory `/usr/home/pablo/monosrc/mcs'
> gmake[2]: *** [all-local] Error 2
> gmake[2]: Leaving directory `/usr/home/pablo/monosrc/mono/runtime'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/home/pablo/monosrc/mono'
> gmake: *** [all] Error 2
>
>
>
>
> On 09/02/2010 21:17, pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es> wrote:
> > Ok, I'll give it a try
> >
> > On 09/02/2010 20:04, Zoltan Varga wrote:
> >> Hi,
> >>
> >> I'm pretty sure mono requires GNU make, and might not work with
> bsd's
> >> own make.
> >>
> >> Zoltan
> >>
> >> On Tue, Feb 9, 2010 at 6:19 PM, pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es>
> >> <mailto:pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es>> <pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es>
> >> <mailto:pablosantosluac at terra.es
> <mailto:pablosantosluac at terra.es>>> wrote:
> >>
> >> Hi there,
> >>
> >> I'm trying to build trunk on FreeBSD.
> >>
> >> Here's what I got. I'm not an expert on FreeBSD so I might be
> doing
> >> something wrong.
> >>
> >> $ uname -a
> >> FreeBSD freebox.codicesoftware.com
> <http://freebox.codicesoftware.com>
> >> <http://freebox.codicesoftware.com> 8.0-RELEASE-p2 FreeBSD
> >> 8.0-RELEASE-p2
> >> #0: Tue Jan 5 16:02:27 UTC 2010
> >>
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
> >>
> >>
> >>
> >>
> >> (cd .libs && rm -f libMonoSupportW.la && ln -s
> ../libMonoSupportW.la
> >> libMonoSupportW.la)
> >> Making all in data
> >> Making all in net_2_0
> >> Making all in Browsers
> >> Making all in runtime
> >> d=`cd ../support && pwd`; sed
> >>
> 's,target="libMonoPosixHelper[^"]*",target="'$d/libMonoPosixHelper.la'",'
> >> ../data/config
> >> > etc/mono/configt
> >> if test -z ""; then :; else sed 's,<configuration>,& <dllmap
> >> dll="gdiplus.dll" target="" />,' etc/mono/configt >
> etc/mono/configtt;
> >> mv -f etc/mono/configtt etc/mono/configt; fi
> >> mv -f etc/mono/configt etc/mono/config
> >> /bin/sh ../mkinstalldirs _tmpinst/bin
> >> mkdir -p -- _tmpinst/bin
> >> cp mono-wrapper _tmpinst/bin/mono
> >> echo '#! /bin/sh' > _tmpinst/bin/ilasm ; r=`pwd`; m=`cd
> ../../mcs &&
> >> pwd`; echo 'exec "'"$r/_tmpinst/bin/mono"'"
> "'"$m/ilasm/ilasm.exe"'"
> >> "$@"' >> _tmpinst/bin/ilasm ; chmod +x _tmpinst/bin/ilasm
> >> echo '#! /bin/sh' > _tmpinst/bin/gmcs ; r=`pwd`; m=`cd
> ../../mcs &&
> >> pwd`; echo 'exec "'"$r/_tmpinst/bin/mono"'"
> >> "'"$m/class/lib/net_2_0/gmcs.exe"'" "$@"' >>
> _tmpinst/bin/gmcs ; chmod
> >> +x _tmpinst/bin/gmcs
> >> echo '#! /bin/sh' > _tmpinst/bin/al2 ; r=`pwd`; m=`cd
> ../../mcs &&
> >> pwd`; echo 'exec "'"$r/_tmpinst/bin/mono"'"
> >> "'"$m/class/lib/net_2_0/al.exe"'" "$@"' >> _tmpinst/bin/al2 ;
> chmod +x
> >> _tmpinst/bin/al2
> >> if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
> >> cd ../../mcs && make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5
> >> net_2_1_raw ' CC='gcc' all-profiles
> >> "Makefile", line 66: Need an operator
> >> "Makefile", line 68: Need an operator
> >> "Makefile", line 70: Need an operator
> >> "Makefile", line 72: Need an operator
> >> "build/rules.make", line 45: Need an operator
> >> "build/rules.make", line 47: Need an operator
> >> "build/rules.make", line 55: Need an operator
> >> "build/rules.make", line 56: Need an operator
> >> "build/rules.make", line 57: Need an operator
> >> "build/rules.make", line 58: Need an operator
> >> "build/rules.make", line 59: Need an operator
> >> "build/rules.make", line 60: Need an operator
> >> "build/rules.make", line 61: Need an operator
> >> "build/rules.make", line 62: Need an operator
> >> "build/rules.make", line 63: Need an operator
> >> "build/rules.make", line 64: Need an operator
> >> "build/rules.make", line 65: Need an operator
> >> "build/rules.make", line 66: Need an operator
> >> Error expanding embedded variable.
> >> *** Error code 2
> >>
> >> Stop in /usr/home/pablo/monosrc/mono/runtime.
> >> *** Error code 1
> >>
> >> Stop in /usr/home/pablo/monosrc/mono.
> >> *** Error code 1
> >>
> >> Stop in /usr/home/pablo/monosrc/mono.
> >> _______________________________________________
> >> Mono-devel-list mailing list
> >> Mono-devel-list at lists.ximian.com
> <mailto:Mono-devel-list at lists.ximian.com>
> >> <mailto:Mono-devel-list at lists.ximian.com
> <mailto:Mono-devel-list at lists.ximian.com>>
> >> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>
> >>
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> <mailto:Mono-devel-list at lists.ximian.com>
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> <mailto:Mono-devel-list at lists.ximian.com>
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
More information about the Mono-devel-list
mailing list