[yocto] [meta-mono] Mono XSP Issue
Davis, Michael
michael.davis at essvote.com
Mon Apr 25 12:37:00 PDT 2016
I am trying to build mono with the mono-xsp (fastcgi) package.
Compiling works fine, however on the final image all the scripts are incorrect.
For example /usr/bin/fastcgi-mono-server4 has the following contents.
#!/bin/sh
exec /build/product/tmp-glibc/sysroots/x86_64-linux/usr/bin/mono $MONO_OPTIONS
"/usr/lib/mono/2.0/mod-mono-server2.exe" "$@"
It is pointing to the mono binary on my build system instead of on the target
system.
I am currently running of meta-mono master with the latest version of jethro.
A grep of all files containing that incorrect path is below.
grep -r /build/monte/tmp-glibc/sysroots/x86_64-linux
usr/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll.config:
<add key="docPath" value="/build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/lib/monodoc" />
usr/bin/mod-mono-server:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/2.0/mod-mono-server2.exe" "$@"
usr/bin/asp-state2:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/xsp/2.0/asp-state2.exe" "$@"
usr/bin/fastcgi-mono-server:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/2.0/fastcgi-mono-server2.exe"
"$@"
usr/bin/xsp:exec /build/monte/tmp-glibc/sysroots/x86_64-linux/usr/bin/mono
$MONO_OPTIONS "/usr/lib/mono/2.0/xsp2.exe" "$@"
usr/bin/dbsessmgr2:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/xsp/2.0/dbsessmgr2.exe" "$@"
usr/bin/xsp4:exec /build/monte/tmp-glibc/sysroots/x86_64-linux/usr/bin/mono
$MONO_OPTIONS "/usr/lib/mono/4.5/xsp4.exe" "$@"
usr/bin/fastcgi-mono-server4:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/4.5/fastcgi-mono-server4.exe"
"$@"
usr/bin/mod-mono-server2:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/2.0/mod-mono-server2.exe" "$@"
usr/bin/mono-fpm:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/4.5/mono-fpm.exe" "$@"
usr/bin/mod-mono-server4:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/4.5/mod-mono-server4.exe" "$@"
usr/bin/dbsessmgr4:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/xsp/4.0/dbsessmgr4.exe" "$@"
usr/bin/xsp2:exec /build/monte/tmp-glibc/sysroots/x86_64-linux/usr/bin/mono
$MONO_OPTIONS "/usr/lib/mono/2.0/xsp2.exe" "$@"
usr/bin/asp-state4:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/xsp/4.0/asp-state4.exe" "$@"
usr/bin/asp-state:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/xsp/2.0/asp-state2.exe" "$@"
usr/bin/fastcgi-mono-server2:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/mono/2.0/fastcgi-mono-server2.exe"
"$@"
usr/bin/dbsessmgr:exec /build/monte/tmp-glibc/sysroots/x86_64-
linux/usr/bin/mono $MONO_OPTIONS "/usr/lib/xsp/2.0/dbsessmgr2.exe" "$@"
Thanks,
Mike Davis
More information about the yocto
mailing list