Installing AMC with MacPorts on macOS
Version 1 (Joël Brogniart, 03/23/2024 09:13 am)
1 | 1 | h1. Building AMC for MAC OSX |
|
---|---|---|---|
2 | 1 | ||
3 | 1 | ||
4 | 1 | This is a translation of the original wiki entry by Joël Brogniart. Any spelling or translation errors are either mine or Google translate's. |
|
5 | 1 | ||
6 | 1 | (This installation is running OS X 10.7.5 and OS X 10.8.3 with Xcode 4.6.2 and MacPorts 2.1.3) |
|
7 | 1 | ||
8 | 1 | Auto Multiple Choice (AMC) is a software to manage questionnaires and multiple choice exams. It allows, from the definition of the multiple choice questions to generate sheets of questionnaires. |
|
9 | 1 | The question types can be one only choice, multiple choices, question, right / wrong answers etc. |
|
10 | 1 | Once the completed questionnaires are digitized, AMC automatically corrects the questionnaires. This software runs in a graphical environment X Window System on Linux and OS X. |
|
11 | 1 | Linux is used as the develop environment, so it probably runs best there. Your mileage may vary. |
|
12 | 1 | ||
13 | 1 | It is possible to install the pre-compiled version 1.1.1 , but you would miss the newest developments happening in this active project. You can also install from the source, directly from the development |
|
14 | 1 | repository. This will give you the bleeding edge version. |
|
15 | 1 | ||
16 | 1 | For the moment, this installation guide is quite technical and involves only OS X 10.8 (and 10.7.5 with the latest version of XCode). |
|
17 | 1 | ||
18 | 1 | You will need "MacPorts":http://www.macports.org, a little understanding of the dependencies between different tools (Subversion, MacPorts, PERL, X11, port ...) and the OS X-architecture. |
|
19 | 1 | ||
20 | 1 | You should also have administrative rights on the computer. This manual is therefore unfortunately not for everyone. There is a little problem for communication with the printing tools and the installed version can not print directly, so you might miss some comfort compared to the Linux version. (But you will be producing pdf files which can be handled by your mac quite well). Documents generated by AMC will be printed from OS X. |
|
21 | 1 | ||
22 | 1 | ||
23 | 1 | For this installation you will create a local MacPort repository. In this repository you will add macports description files unknown to macports. The procedure will create a port file for AMC and some additional port files for tools needed to run AMC. Once these files are installed by macport, the installation of AMC can de started. |
|
24 | 1 | ||
25 | 1 | h2. Prerequisites |
|
26 | 1 | ||
27 | 1 | The requirements are the same as the installation of version 1.1.1 AMC. To work with the interface, AMC requires the graphical environment X Window System and X11 font Linux Libertine characters and and installation MacPorts system. |
|
28 | 1 | ||
29 | 1 | OS X does not contain the standard X11 graphical environment. It is possible to fill this gap by installing XQuartz, an X Windows System environment running OS X. You can download the application on the XQuartz site. "XQuartz":http://xquartz.macosforge.org. |
|
30 | 1 | ||
31 | 1 | Linux Libertine font |
|
32 | 1 | ||
33 | 1 | Linux Libertine font is a free font that covers code pages for Latin languagesââ, Greek, Cyrillic languagesââ, Hebrew, the International Phonetic Alphabet (and other). You need to download the package "OTF" on LinuxLibertine.org site. "LinuxLibertine.org":http://www.linuxlibertine.org. |
|
34 | 1 | ||
35 | 1 | *Attention* : The current version of XQuartz (2.7.4) does not recognize the fonts installed in the user's folder. You must install the fonts by moving in the "/ Library / Fonts" folder. |
|
36 | 1 | ||
37 | 1 | h3. MacPorts |
|
38 | 1 | ||
39 | 1 | MacPorts is a system to build, install and manage open source software. You need to download the installation package Mountain Lion on the site "MacPorts" http://www.macports.org and install MacPorts. |
|
40 | 1 | ||
41 | 1 | h2. MacPorts files installation (port) files |
|
42 | 1 | ||
43 | 1 | The MacPorts port file contains information that allows a program to be installed into the MacPorts system. It shows what tools are needed for installation and operation of the program and how to install the program. |
|
44 | 1 | MacPorts contains "many ports"http://www.macports.org/ports.php but it does not contain a port describing the AMC installation from the source code of the program. Some tools required for installation and operation of AMC are absent from MacPorts. So we have to create the files to port these tools and file port for the development version of AMC. |