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

Gonzalo Paniagua Javier gonzalo@ximian.com
10 May 2003 11:30:11 +0200


El sáb, 10 de 05 de 2003 a las 10:15, WC -Sx- Jones escribió:
> 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

Mmmm. May be gmake does not pass on the prefix=xxx option?
Try make -f makefile.gnu install prefix=/usr/local

> 
> 
> 
> >
> > 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
[...]
> Where, in all of that, would you mv the various DLLs and/or EXE files 
> to?

>From the README.building file:

"3. Copy the dlls and mcs.exe from the latest monocharge tarball
(http://www.gnome-db.org/~gonzalo/mono/) to
/where/you/installed/mono/lib and
..../bin respectively."