That's exactly what I'm doing on my Linux box.

I have mono in /opt/mono/{bin,lib}, nant in /opt/nant/{bin,doc} and nant
shell script in "/usr/local/bin". The last part is my own idea and I don't
think we should do it in general.

We could have

$ ./configure --prefix=/opt/nant --with-mono=/opt/mono

(this would write the appropriate makefile containing paths: /opt/mono and
/opt/nant + a shell script:

------
#!/bin/sh
export PATH=/opt/mono/bin:$PATH
exec /opt/mono/bin/mono /opt/nant/bin/NAnt.exe $*
-------

$ make (this would rebuild nant using the appropriate mono)
# make install (this would copy *.exe, *.dll, *.html + shell script to the
appropriate directories under /opt/nant)

I'm not a unix guru, but this looks like a traditional way of doing Linux
installs today. I wouldn't use autoconf for this purpose. Is it acceptable?

Jarek

----- Original Message ----- 
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: "Nicklas Norling" <[EMAIL PROTECTED]>; "Nant-Developers (E-mail)"
<[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 11:44 AM
Subject: Re: [nant-dev] Windows setup contribution


> Why not just add an install target to nant.build and have the current
> make file call it. So you could just do:
>
> make install prefix=/usr/local
>
> actually come to think of it NAnt shouldn't put all its binaries in
> /usr/local/bin or similar as that would break the assembly scanning
> code. It should really put everything in a /nant directory somewhere and
> put a bootstrap shellscript in /usr/local/bin.
>
> Ian
>
> >1. We should do something about the linux installation really soon. I've
> >heard voices that "NAnt is very complicated to install on Linux because
you
> >cannot do ./configure --prefix=... && make && make install". Maybe a
simple
> >configure script that would setup the mono paths in the config file would
> >do?
> >
> >Awaiting your comments.
> >
> >Jarek
> >
> >----- Original Message ----- 
> >From: "Nicklas Norling" <[EMAIL PROTECTED]>
> >To: "Nant-Developers (E-mail)" <[EMAIL PROTECTED]>
> >Sent: Tuesday, March 23, 2004 4:10 PM
> >Subject: [nant-dev] Windows setup contribution
> >
> >
> >
> >
> >>Hi all.
> >>
> >>I always package up NAnt in a setup for my developers so I thought
> >>I could as well contribute the iss script file I use in case there are
> >>
> >>
> >more
> >
> >
> >>out there that would like it.
> >>
> >>It uses InnoSetup 4.2.0 http://www.jrsoftware.org/isdl.php which is a
> >>
> >>
> >totaly
> >
> >
> >>free and awsome setup tool.
> >>
> >>The iss file is designed to be in the root or the release togther with
> >>the NAnt.sln file. From there is will zipp up .\bin\*.
> >>
> >>During install it installs this in a directory, optionally adds a
program
> >>group and leaves standard uninstall entry in add/remove programs.
> >>
> >>It does not currently alter the PATH variable, but I hope to find some
> >>
> >>
> >free
> >
> >
> >>prog that will do that.
> >>
> >>The installer file will be called NAntInstaller.exe and will be placed
at
> >>the root of the release.
> >>
> >>I added licence file reference and copyrights as best I could. Hope I
got
> >>
> >>
> >it
> >
> >
> >>right.
> >>
> >>/Nicke
> >>
> >>
> >>
> >>
> >
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by: IBM Linux Tutorials
> >Free Linux tutorial presented by Daniel Robbins, President and CEO of
> >GenToo technologies. Learn everything from fundamentals to system
> >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> >_______________________________________________
> >nant-developers mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/nant-developers
> >
> >
>
>
> -- 
> Ian MacLean, Developer,
> ActiveState, a division of Sophos
> http://www.ActiveState.com
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to