Maya 2011

From Gentoo-en
Jump to: navigation, search

Installation

Installing necessary tools from portage

At first we need to install some deps of maya: libpng-1.2, tiff, openssl, tcsh, fam (or gamin, but not tested), flexlm, rpm2targz:

emerge libpng:1.2 tiff openssl tcsh fam rpm2targz flexlm

Also it is unlikely, that Maya will run without qt.

Downloading the last official release of Maya 2011

At write time the last hotfix of Maya 2011 is hotfix 3, officially avalable at this location: http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=15407662&linkID=9242259
Maya Linux available only for amd64.
Right filename is "autodesk_maya_2011_hotfix3_linux_64bit.tgz"

Manual Installation of Maya files

Unpack and convert rpm files with maya and adlmapps into tar.gz archive and then unpack *.tar.gz files in / directory:

tar -xzf autodesk_maya_2011_hotfix3_linux_64bit.tgz rpm2targz Maya2011_0_64-2011.0-372.x86_64.rpm rpm2targz adlmapps-1.3.34-0.x86_64.tar.gz tar -xzf Maya2011_0_64-2011.0-372.x86_64.tar.gz -C / tar -xzf adlmapps-1.3.34-0.x86_64.tar.gz -C /

Adding library path

Maya needs to load libraries of adlmapps from non-standart location.
Add /opt/Autodesk/Adlm/R1/lib64 to /etc/ld.so.conf:

echo /opt/Autodesk/Adlm/R1/lib64 >> /etc/ld.so.conf

Running Installer

Let's start setup utility:

./setup

Accept licence, check "Autodesk Maya 2011" for installation and uncheck others, enter serial and key.
Installation fails, but will create 2 necessary files /var/opt/Autodesk/Adlm/Maya2011/install.env and /var/opt/Autodesk/Adlm/.config/ProductInformation.pit (the last is binary).

Symlinks to maya executables

ln -s /usr/autodesk/maya2011-x64/bin/maya2011 /usr/local/bin/maya ln -s /usr/autodesk/maya2011-x64/bin/fcheck /usr/local/bin/ ln -s /usr/autodesk/maya2011-x64/bin/imgcvt /usr/local/bin/ ln -s /usr/autodesk/maya2011-x64/bin/Render /usr/local/bin/

Broken libraries

Maya linked to some system libraries of specific versions. We can create symbolic links to current versions of such libraries.

cd /usr/lib64 ln -s libtiff.so libtiff.so.3 ln -s libssl.so libssl.so.6 ln -s libcrypto.so libcrypto.so.6

Uninstallation

Remove some directories recursively:

rm -fr /usr/autodesk /var/opt/Autodesk /opt/Autodesk

Remove string '/opt/Autodesk/Adlm/R1/lib64' from /etc/ld.so.conf
And at last remove links to libraries and executables:

cd /usr/lib64 rm libtiff.so.3 libssl.so.6 libcrypto.so.6 cd /usr/local/bin rm maya fcheck imgcvt Render