Douglas,

I am not a fan of the Gregorio .pkg for Mac OSX. While it makes installation 
easy, it is from last June and does not contain the latest version of Gregorio. 
Even more importantly, perhaps, it installs things in non-standard locations. 
For example, it installs things in /usr/bin, which is reserved for system level 
routines, not optional software. This non-standard location is perhaps why I’ve 
have never gotten it to work on any of my OSX machines that I’ve tested it on, 
though some others have and not had issues.

That all aside, setting up to compile Gregorio on OSX is not all that hard. It 
involves quite a few initial steps, but one you’ve done that, it is easy to get 
any future Gregorio updates, recompile and install the latest versions.

That said, I will walk you through what needs to be done.

A) Remove the detritus from the .pkg:
        A) In a Terminal Window, using an admin account:
                sudo rm /usr/bin/gregorio
                sudo rm -r /usr/include/gregorio
                sudo rm /usr/lib/pkconfig/gregorio.pc
        Note: If you see a sudo below, it’s to by typed in the terminal window.

B) Make sure the following are installed and up to date:

        1) Latest TexLive (2013) from http://www.tug.org/mactex/
Download and install, if necessary.
Open the Tex Live Utility in /Applications/Tex and run it to make sure all 
packages are up to date. (For Tex users, you should do this weekly/monthly).

        2) Xcode - latest Xcode, 5.0.2
                Via the Mac App Store

        3) Command line tools for October 2013
If not, open Xcode and navigate to the menu Xcode -> Open Developer Tool -> 
More Developer’s Tools and download the latest command line utilities (October) 
for Mavericks and install them. Note, you may need to create a developer 
account. Just use your iTunes account. Developer accounts are free. MAKE SURE 
you download the CLT that is for you OS (Mavericks, Mountain Lion, etc).

        4) Latest MacPorts needs to be installed (2.2.1)
Note: If you upgraded to Mavericks from an older OSX and did not recompile 
Macports, then you need to do so. The most expedient it to simply delete 
/opt/local, download the newest and install it.

If MacPorts is already installed, make sure you have the latest sw releases via:
sudo port selfupdate
sudo port upgrade -u outdated
(this last command may do nothing if you haven’t installed anything or all is 
up to date)

        5) In MacPorts, make sure you’ve installed: libtool autoconf automake 
flex bison libxml2
                sudo port install libtool autoconf automake flex bison libxml2

        6) Next find a home for Gregorio. I recommend in the Documents folder, 
so:
                mkdir -p ~/Documents/gregorio
                cd ~/Documents/gregorio

        7) Get the svn version:
                mkdir -p ~/Documents/gregorio
                cd ~/Documents/gregorio
                svn co svn://svn.gna.org/svn/gregorio/trunk gregorio-svn
                cd gregorio-svn

        8) Now you are ready to compile and install gregorio.

                autoreconf -f -i
./configure CFLAGS='-I/opt/local/include' CPPFLAGS='-I/opt/local/include' 
LDFLAGS='-L/opt/local/lib'
                make
                sudo make install
                cd fonts
                sudo make install
                rehash

And you should have a working Gregorio. The good news is that as updates come 
out, all you will need to do is:
        cd ~/Documents/gregorio/gregorio-svn
        svn up
        — and then repeat step 7

Try the above and let me know if you have a problem. I don’t think I’ve let 
anything out.


---------------------------------------------------------------------
                          Michael Martin
                     [email protected]
                    Thesaurus Precum Latinarum
                 http://www.preces-latinae.org
----------------------------------------------------------------------






_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users

Reply via email to