makefile - mono make install fails with "Error 1" -
i've managed mono build sources, make install invoked top build directory fails @ following point:
make[6]: entering directory `/bld/mono/mono-4.0.0/mcs/class/system' make install-local warning: generic atexit() called legacy shared library make[7]: entering directory `/bld/mono/mono-4.0.0/mcs/class/system' mono_path="./../../class/lib/build:$mono_path" /bld/mono/mono-4.0.0/runtime/mono-wrapper ./../../class/lib/build/gacutil.exe /i ./../../class/lib/net_4_5/system.dll /f /root /usr/mono/lib /package 4.5 make[7]: *** [install-local] error 1 make[7]: leaving directory `/bld/mono/mono-4.0.0/mcs/class/system' make[6]: *** [do-install] error 2
error 1 error thrown.
i can run command without errors
mono_path="./../../class/lib/build:$mono_path" /bld/mono/mono-4.0.0/runtime/mono-wrapper ./../../class/lib/build/gacutil.exe /i ./../../class/lib/net_4_5/system.dll /f /root /usr/mono/lib /package 4.5
and can run final command in mono-wrapper without errors
/bld/mono/mono-4.0.0 $ /bld/mono/mono-4.0.0/libtool --verbose --mode=execute "mono/mini/mono" --config "/bld/mono/mono-4.0.0/runtime/etc/mono/config" "mcs/class/lib/build/gacutil.exe" /i mcs/class/lib/net_4_5/system.dll /f /root /usr/mono/lib /package 4.5
but running 'make install' fails. ideas?
running
make --debug=v install
revealed failing when attempting execute line 197 of mcs/build/library.make, is:
196 install-local: $(gacutil) 197 $(gacutil) /i $(the_lib) /f $(gacdir_flag) /root $(gacroot) $(package_flag)
removing $(package_flag) variable allowed build complete successfully. caveat: i'm not sure if doing breaks install in other ways. in case...for future reference...here's relevant entry in 'man gacutil':
commands -i <assembly_path> [-check_refs] [-package name] [-root rootdir] [-gacdir gacdir] installs assembly global assembly cache. <assembly_path> name of file contains assembly manifest -package option can used create directory in in pre- fix/lib/mono name name, , symlink created name/assembly_name assembly on gac. used devel- opers can reference set of libraries @ once. -root option used specify "libdir" value of installa- tion prefix differs prefix of system gac. typical automake usage "-root $(destdir)$(prefix)/lib". access assem- blies installed prefix other mono prefix, necessary set mono_gac_prefix environment variable. -gacdir option included backward compatibility not recommended new code. use -root option instead.
basically, -package appears optional.
feel free edit corrections if necessary.
Comments
Post a Comment