Compilación MAC OS X

Pasos para poder realizar todo el proceso:
.Instalar XCode
.Instalar el Command Line Tools.
..XCode > Preferences > Downloads > Components > Command Line Tools

Dependencias
.SCA
.brew
.glib
.gettext
*(http://wiki.documentfoundation.org/Development/Install_Mac_OS_X_Dependencies)
> brew install glib
> brew link glib
.autoconf
.automake
.libtool
> brew install libtool
> brew link libtool
*(Es posible que hay linkar tmb el fichero libltdl.dylib con la version mas nueva de libltdl)
.pkgconfig

*(uso: brew install name)


COMPILAR LIBASUAN
> mkdir dist
> ./configure --prefix=`pwd`/dist
> make
> make install

COMPILAR OPENSC FNMT
> ./_configureOSX.sh
> make
> make install

GENERAR Instalable
> ./_configureOSX.sh
> make
> make install
> perl ./OSX/packit.pl


------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
Guia de instalacion de OpenSC FNMT: (HomeBrew)

Instalar Homebrew: (http://mxcl.github.com/homebrew/)
 Abrir terminal y pegar la siguiente comanda
   > ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)
   Pulse aceptar e introduzca la contraseña en caso que se lo pida.
   
Instalar GLIB2:
  > brew install glib
  > brew link glib

Instalar OpenSCFnmt:
 Ejecutar instalador "opensc.fnmt-2.0.0-1.dmg"

------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
Guia de instalacion de OpenSC FNMT: (MacPort)

Instalar Xcode:
 Ir a App Store e instalar Xcode.
 Ejecutar Xcode para continuar con la instalación.
 Ir a Xcode > Preferences > Downloads e instalar el COmmand Line Tools.

Instalar MacPorts: (http://www.macports.org/install.php)
 Descargar segun version.
   Mountain Lion --> https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg
   Lion --> https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.7-Lion.pkg
   Snow Leopard --> https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.6-SnowLeopard.pkg
   Leopard --> https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.5-Leopard.dmg
 > sudo port -v selfupdate
 
 
Instalar GLIB2:
 > sudo port install glib2
 Crear softlinks a carpeta /usr/local
   > ln -s /opt/local/lib/libintl.8.dylib /usr/local/opt/gettext/lib/libintl.8.dylib
   > ln -s /opt/local/lib/libglib-2.0.0.dylib /usr/local/lib/libglib-2.0.0.dylib
   > ln -s /usr/lib/libltdl.7.dylib libltdl.dylib

------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
