[Mono-list] /usr/include vs /usr/local/include

WC -Sx- Jones lists@insecurity.org
Sat, 10 May 2003 04:15:39 -0400


On Friday, May 9, 2003, at 09:51  PM, Gonzalo Paniagua Javier wrote:

> For mcs directory, make install prefix=YOURINSTALLPREFIX will do.


:)  I have tried many variations.  Regardless, I always get the same 
error:

# gmake install prefix=/usr/local
if test x = xWindows_NT; then make windowsinstall; else make -f 
makefile.gnu install; fi
if test x$prefix = x; then \
         echo Usage is: make -f makefile.gnu install prefix=YOURPREFIX; \
         exit 1; \
fi;
for i in jay mcs class mbas nunit20 monoresgen ilasm tools ; do \
         gmake -C $i -f makefile.gnu install || exit 1; \
done
gmake[2]: Entering directory `/mono/mcs-0.24/jay'
gmake -f makefile linux
gmake[3]: Entering directory `/mono/mcs-0.24/jay'
gmake[3]: Nothing to be done for `linux'.
gmake[3]: Leaving directory `/mono/mcs-0.24/jay'
gmake[2]: Leaving directory `/mono/mcs-0.24/jay'
gmake[2]: Entering directory `/mono/mcs-0.24/mcs'
mkdir -p /usr/bin/
/usr/bin/install -m 755 mcs.exe /usr/bin/
install: mcs.exe was not found anywhere!
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/mono/mcs-0.24/mcs'
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /mono/mcs-0.24
gmake: *** [install] Error 1



>
> See also mcs/README.building
>

Regarding the README.building file notes -

While I had seen that already and looked the site - I spent sometime 
wondering if the code required CYG-WIN (or some Windows kernel 
emulator?)  The mcs.exe I got from your site is just about identical to 
the mcs.exe I built on my Solaris 9 Ultrasparc -- I just cannot seem to 
move it into place with the previously mentioned command.

I believe I have mono installed in various places off of /usr/local:
# find / -name 'mono*' -print |more
/usr/local/bin/monosn
/usr/local/bin/monodis
/usr/local/bin/monograph
/usr/local/bin/monoresgen.exe
/usr/local/lib/pkgconfig/mono.pc
/usr/local/man/man1/monoburg.1
/usr/local/man/man1/monodis.1
/usr/local/man/man1/mono.1
/usr/local/man/man1/monostyle.1
/usr/local/man/man5/mono-config.5
/usr/local/man/cat1/monodis.1
/usr/local/share/terminfo/m/mono-emx
/usr/local/share/mono
/usr/local/etc/mono
/usr/local/include/mono
/usr/local/include/mono/utils/monobitset.h
/usr/local/include/mono/utils/mono-digest.h
/usr/local/include/mono/utils/mono-hash.h
/usr/local/include/mono/io-layer/mono-mutex.h
/usr/local/include/mono/metadata/mono-endian.h
/usr/local/include/mono/metadata/mono-debug.h
/usr/local/include/mono/metadata/mono-debug-debugger.h

Where, in all of that, would you mv the various DLLs and/or EXE files 
to?

I apologize for being so dense, but I find this build process about as 
hard as when I had to make GCC from scratch years ago.  LOL  =)

Thx/Sx  :)