Installation on Mac OS X 10.10.2 (Yosemite)

Added by Horst Hohberger about 9 years ago

I'm using a MacBookAir (2014 model) with Yosemite (10.10.2). TeXLive 2014 has already been installed on it. I did the following:

1) Installed Xcode via App Store

2) Installed MacPorts 2.3.3 for Yosemite

3) Opened terminal, typed "sudo port install auto-multiple-choice" (took overnight to install)

4) Typed "sudo port install p5-perlmagick" (took a few seconds)

Apparently, I now have the AMC files in a tree /Volumes/Macintosh HD/opt/local/ ... (lots of TeX trees)

Of course, the standard tree is in /opt/local/ ... and so on. In other words, the port program must have taken the wrong root directory. What can I do to rectify this?


Replies (7)

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Joël Brogniart about 9 years ago

Macports installed files should go under /opt/local, that's normal. You shouldn't have to install p5-perlmagick as the auto-multiple-choice installation should have installed needed dependances.

If you already have latex installed, instead of "sudo port install auto-multiple-choice" you should run "sudo port install auto-multiple-choice -latex".

I'm afraid that in order to have a correct installation, all installed port should be removed first with:

sudo port uninstall installed

and then reinstall AMC with:

sudo port install auto-multiple-choice -latex

(I never tested this configuration and I should give it a try.)

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Joël Brogniart about 9 years ago

In Macports, the actual port for auto-multiple-choice installation will install Texlive even when installed with the -latex option. This is due to, perhaps unneeded, dependance to dblatex port for amc doc generation.

I should do more tests…

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Horst Hohberger about 9 years ago

Thank you very much for letting me know! I had already uninstalled amc and was going to run the installation again tonight with the -latex switch. Will you tinker with the program in the near future to eliminate the duplicate TeXlive install? If so, I'll hold off installing again for a while.

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Joël Brogniart about 9 years ago

I'm doing some tests to avoid Macports texlive installation when -latex is selected and see if AMC works fine with MacTex. If that works the I'll submit a new version of the port to MacPorts.

As you already know, install, uninstall could take some time…

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Joël Brogniart about 9 years ago

I've submitted a new portfile version to Macports. As soon as it is available, I'll post the info here.

Once available, you'll have to update Macports to get the new description with:

sudo port selfupdate

Once Macport is up to date, you could install AMC with:

sudo port install auto-multiple-choice -latex

AMC installation should no longer install Macport version of texlive.

Once AMC is fully installed you should make AMC tell lexlive how they could work together with:

sudo auto-multiple-choice latex-link

After that, AMC should works fine.

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Joël Brogniart about 9 years ago

That's it, Macports is updated. With the new version, Macports version of texlive is no longer installed when installing AMC with the -latex option.

Don't forget to first update Macports before AMC installation.

RE: Installation on Mac OS X 10.10.2 (Yosemite) - Added by Horst Hohberger about 9 years ago

Thank you so much!

Just one comment: my TeXLive installation did not have a "texmf-local" folder, so a non-descript error message was generated by "sudo auto-multiple-choice latex-link" and amc complained about not finding the style file on starting up. After I added the texmf-local folder by hand and re-ran the amc latex-link, everything was fine.

(1-7/7)