우분투에서 마야셋업 [Ubuntu]

 
header image
 

Installing Maya 7.x, 8.x or 2008 in Ubuntu

This articles is based over a How-To of Ubuntu forums. This it’s tested from Ubuntu 5.04 to 7.04.

In first step, you need Alien to convert these RPM packets to DEB:

apt-get install csh alien

Copy over all rpm installation files to a local directory.
We need to convert the rpm-packages to debian format using alien. Change to the directory that holds your rpms and run:

for i in *.rpm; do sudo alien -cv $i; done

This will take some time.
(I listen that runing Alien over a FAT filesystem create some problems, so better don’t try that.)
To make Maya install without problems later, we need to create the following link, even though /usr/aw doesn’t exist yet:

sudo ln -s /usr/aw /aw

For Maya 8.0 / 8.5 / 2008 , you also need to run

sudo ln -s /usr/autodesk /autodesk

Now we’re ready to install the Maya packages:
(Change the filenames according to your version.)

sudo dpkg -i awcommon-server_9.5-2_i386.deb

For Maya 8.0 / 8.5 / 2008, you can ignore the warning about chkconfig not being found. Now, run

sudo dpkg -i awcommon_9.5-2_i386.debsudo dpkg -i maya7-0_7.0-375_i386.deb

Now you need to install your license file (aw.dat).
Copy it over to /var/flexlm (create this directory if it doesn’t exist):

sudo cp aw.dat /var/flexlm

Make sure Maya has read-access to this file.
I didn’t need to install aksusbd*.deb.
To stop Maya from complaining at startup about not being able to create a log file, run

sudo mkdir /usr/tmpsudo chmod 777 /usr/tmp

You should be able to run Maya now by running:

maya

In case you get the error “Can’t Find libXp.so.6″, you need to install libxp6

apt-get install libxp6

Should you get the error “/aw/COM/bin/installKey: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory”:

apt-get install libmotif3

If you get this error :

/aw/maya7.0/bin/maya.bin: /aw/maya7.0/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

you need to create some symlinks (only if you get the error above!):

sudo ln -sf /usr/lib/libstdc++.so.5 /usr/aw/maya/lib/libstdc++.so.5sudo ln -sf /lib/libgcc_s.so.1 /usr/aw/maya/lib/libgcc_s.so.1

To install the documentation files (optional step), run:

sudo dpkg -i maya7-0-docs-en-us_7.0-381_i386.debsudo dpkg -i maya7-0-docserver_7.0-381_i386.deb

You can start up and shut down the documentation server using

/usr/aw/maya/docs/startDocServer.sh/usr/aw/maya/docs/shutdownDocServer.sh

To make the documentation server start up at boot time, create the script /etc/init.d/maya-doc-server (as root) with the following content:

#! /bin/sh## maya-doc-server## Starts and stops the Maya Documentation Server#set -ePATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binPATH=$PATH:/usr/aw/maya/docsDESC=”Maya Documentation Server”NAME=maya-doc-serverSCRIPTNAME=/etc/init.d/$NAMEcase “$1″ instart)echo -n “Starting $DESC”startDocServer.shecho “.”;;stop)echo -n “Stopping $DESC”shutdownDocServer.shecho “.”;;restart|force-reload)echo -n “Restarting $DESC”shutdownDocServer.shstartDocServer.shecho “.”;;*)echo “Usage: $SCRIPTNAME {start|stop|restart|force-reload}” >&2exit 1;;esacexit 0

Now run

sudo chmod +x /etc/init.d/maya-doc-serversudo update-rc.d maya-doc-server defaults

That should basically be all you need for a proper Maya installation on Ubuntu.

There people that get problems witch “Composition” X11 extension and Maya . If is your case, you can disable modifying or adding the following section to /etc/X11/xorg.conf:

Section "Extensions"  Option "Composite" "Disable"EndSection

You need to restart your X server to use these new settings. Compiz / Beryl /AWN won’t work anymore because of this.

By default, [Alt] + mouse moves windows in Gnome. However, for Maya you need the Alt-key for rotation, zooming etc.
You can change the key binding to move windows in the Gnome settings. For example, set it to the Super-key, which corresponds to the Windows-key (In Windows section).

If you get font errors (e.g. “Error: Failed trying to load font : -*-helvetica-bold-r-normal–10-*-*-*-*-*-iso8859-”), you might want to check your xorg.conf; especially if you’ve got an ATI driver installed: some users reported that this driver messes up the font paths.
If Maya segfaults on startup, you should double-check your license file.

3 comentarios to “Installing Maya 7.x, 8.x or 2008 in Ubuntu”

  1. very interesting.
    i’m adding in RSS Reader

  2. very useful tips! but :-)
    i get an error after doing everything according to your suggestions.

    grzegorz@dell:~$ maya
    bash: /usr/local/bin/maya: /bin/csh: bad interpreter: No such file or directory

    launching from “Applications” gives error too :-/
    Failed to execute child process /usr/autodesk/maya/bin/maya” (No such file or directory)

    but file exists !

  3. Estrange … I suggest that ask in the origin of this info .. in the Ubuntu Forums… In my case works well…

Escribe un comentario




 
_qmeta="qc:adt=0;bti=ZardoZ%2C+The+TechnoMage;lan=es";_qacct="p-18-mFEk4J448M";quantserve();st_go({blog:'1111087',v:'wpcom',post:'59',subd:'zardoztechmage'});ex_go({x_theme:'chaoticsoul',x_lang:'es',x_dc:'sat',x_adt:'0',x_public:'1',x_gl:'',x_mapped:'0',x_loggedin:'0',x_noads:'seen,wrongtype',x_ads:'no',x_pagetype:'page',x_widget:'songspot,boxnet'});addLoadEvent(function(){linktracker_init(1111087,59);});

트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://hoholife.egloos.com/tb/1507814 [도움말]

덧글

  • 최병찬 2008/03/14 12:25 # 삭제 답글

    와, 복잡하네요..^^ 저도 우분투 써보려고 하는데..
    그리고, 알고보니 제가 명저로 꼽는 책의 저자셨군요.
    뭐, 지금도 많이 배우고 있지만..맥스책 보면서 정말 많은걸 배웠습니다.
    조금 신기합니다..
  • 호호아줌마 2008/03/14 23:03 # 답글

    명저라니요...과찬이십니다..흐흐

    리눅스가 좀 삽질하는 시간이 있긴 하지만 나름 재미있네요..ㅎㅎ
덧글 입력 영역


메모장