[m-users.] Support installing Mercury
charles.shuller at gmail.com
Thu Mar 29 04:32:25 AEDT 2018
Failures during an install on linux are usually because you don't have root
Most typically you do something like: "sudo make install" which makes the
process run as root.
If you are using Debian (and possibly ubuntu) you will probably have better
luck with the package found at: http://dl.mercurylang.org/deb/
Otherwise, the following should get you want you want: "./configure
--prefix=/usr/local && make && sudo make install"
Which will install mercury in the system path so everything works correctly
from the command line without any extra work. If you install it in
"/usr/local/mercury-<version>" you will need to adjust the path yourself.
On Wed, Mar 28, 2018 at 9:03 AM, Astrid Garcia <mellgarcia0397 at gmail.com>
> My name is Astrid. I am trying to install Mercury in my Linux machine but
> it seems like it is not installing properly. I downloaded the package,
> unzipped it and put it in my Documents. Then I open the "Install" document
> to follow the steps. Using the command line I did "sh configure". It said
> that I needed 2 other packages, Bisno was one of them and I install them
> and it ran, then I run "make" and it worked fine, the next step was to run
> "make install" and it gave me an error when it tried to process the script
> "mkdir -p /usr/local/mercury-14.01/bin " so I created the bin directory
> using my path, the path of my computer where the directory of mercury is
> located. I typed "mkdir -p /home/astrid/Documents/mercury-14.01/bin",
> then it made the directory but nothing else ran. The next step was to run
> "make clean" so I did it and it ran everything. I am unsure if it install
> correctly since it gave me an error in the "make install" step and I
> created the directory in a different way. Then the process ended but I
> created a testing file with ".m" and I don't know how to call the compiler
> to test the file.
> This is the first time that I use Mercury for a college project and I
> appreciate your time,
> Astrid Garcia
> users mailing list
> users at lists.mercurylang.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users