Mental ray on slackware

Hallo,
i am installed Maya 4.5 on my favorite Linux Ditribution everything is fine. Now i want to use the Mentalray renderer on my computer too, but: I have a Problem, after the License question, that im answered with agree the shell tell me:
/bin/sh is needed by mental _ray_for_Maya

i dont want belive this message, any Ideas.
I try to substract the rpm Part out of the exe file but it will be not well done

sorry for my bad english

Just make a symlink to bash;

# ln -s /bin/bash /bin/sh

One of my older slackware boxes (7.1) does this anyway, don’t know why yours doesn’t.

  • Gef

exactly this is my Problem a have a symlink to my bash, every other Programm or script will work fine with it…

lrwxrwxrwx 1 root root 4 Jun 26 18:18 sh → bash<<
i am dont know why MR make here a Problem??
I guess the easiest Way is when anybody can send me the files in the /usr/aw/mrfm1.5 directory via email (traffic is not a Problem for me) i will installed the Files by Hand and hope that works!
Or have anybody another Idea?

try using tcsh instead of bash.

mmm i try now every shell i have, tcsh, ksh, zcsh but mr dont like any of my options:(
i try now to install mr on my old notebook with a faked maya installation, when this will work i go on and copy the Files to my Computer.
Why is the mr.rpm not a Standalone Version?
make this sense?

this has nothing to do with you not properly configuring /bin/sh. It has all to do with rpm. I succeded to do this once, I believe I used alien to transfer the file into tgz. Try that.

Yep thats right, I think now too, this is a Problem with the RPM File. I go on and try to make a tgz File on the exe with alien but I guess it will not work with it because it is an exe File.
I try to extract the RPM of the exe before but the exe Script will not work on any Changes i made.

call alias; maybe they have some insight

there’s no such thing as .exe in unix, there are binary and source files. This one is binary archive, you need to try and do
alien -t mrmayaFile.exe mrmayaFile.tgz
I’m not sure if it will work but its worth a try. If not try and rename the file into .rpm and do rpm -Uvh --nodeps blabla.rpm. All wild guessing here but I know i did it before don’t have the package anymore

the problem is that the file has a license agreement proggie built into an autoscript which runs rpm and installes your file after you “agree” to the terms and conditions.. The whole deal is to find a way to bypass the agreement and than rpm --nodeps because its the only way you can install with rpm on slackware since its kinda screwed up it doesn’t see /bin/sh and stuff like that. I wish someone could point me into what config file rpm uses to look for these most basic system files.

right, now any days ago with my Problem i know the hole Script
I try to make changes in the Script but the Proggy quit this with errors.
I try to pipe anything of the Output ..no chance
i try rpm2tgz but it quits with errors
i try next alien but i guess it quits with errors to, because the RPM is a Part of the hole File.
I have no Problemes with the license agreement. but i think it would be better when the License Agreement is a part of the downloading Process and not another try for build own solutions of Software installations.
I Like Linux because the Standards of this OS are Stable and working good.
Now im little bit frustratet about MR

Hey,

You’re really a mess.

1-Uninstall your MentalRay program.
2-Go to check /etc/passwd (what’s there? bash? tcsh? zsh?). Change to /bin/sh
3-rpm -ivh --nodeps --force your_program_.bla_bla_bla.rpm
4…Baby tell me what happened now.

P.S. Don’t take personally but this kind of Linux is a hard-hacking type (if you have no previous BSD experience), so better you flock to some easier distros like RedHat or better (4U) Windoze

Bye

“grmpfl”
oh yes you are the Man!
I hope the Problem of the Communication here is my bad English,
i hope so!
this Problem is not happend with the standard Shell of the User root, because i am root and i can change to every Shell and use it.
(and i try it under many Shells)
The MR-Package is not a RPM Pakage the command rpm will not work on it (no matter how many parameter i use)
The RPM Pakage is include an exe file

please read the earlier Posts bevor reaply!

P.S. Thank you for your tip.

P.S.S. ups i am work now 4 Years ago with Linux …and 2Years without Windows

Hello,

Please tell me WHAT EXACTLY HAPPENS AFTER YOU RUN THE INSTALLER OR WHATEVER IT IS.?

WHAT KIND OF FILE TYPE IS (.rpm, .bin, .tgz) the program before unpacking?

MENTAL RAY NEEDS SH, wich is not tcsh or kcsh or csh or bash, but it only SH. So try to reboot your system with changing the defualt shell to SH and run the program.

Bye,

P.S Sorry , but reading your previous posts I’ve just understood you’re not able to deal with very simple configuring problems (hmm, 4 years with Linux? doing what?).

hi oran68,
If you look at /bin/sh you’ll find that its nothing but a symlinked /bin/bash. In Linux systems bash is the default shell, its a free version of Kourn-shell (which usually is /bin/ksh, /bin/sh being symlinked ksh).
Mental ray package that he’s talking about is neither a .bz .bz2 tar.gz or anything, its a self extracting file that after its done automatically runs the included .rpm through a rpm- Uvh script, not allowing you to add “–nodeps”. Thats it.

Jup!
no rpm tgz tar.gz tar.bz or so only a exe File
(and i try the Original sh shell too)

@oran68 what i did with Linux ?.. all what other people do with her MS or Mac Machines

Hello Cosmo4,

The problem is that Mental Ray in your machine is not able to “look” at your symlinks (sh, tcsh, …), because, as you know, was builded for looking at System V hierarchy (like in RedHat).

So try to make /bin/sh the DEFAULT SHELL. You can do it by changing the first line of your /etc/passwd file (root…/bin/sh).

Bye

Hi oran68,
Yes i set my Standard-shell to the sh Shell, but the Problem is the same!

Have nowbody a standalone rpm Pakage from Mentalray on his System?

Yo

As you are running the ./exe for Mental Ray right after you accept the license agreement you can hit crtl-c and if you do it at the right time you can find the rpm file stranded in /var/tmp

Pretty snazzy trick but its what I had to do on my debian system to run MR.. too bad it doesn’t work, check this error.

/usr/aw/maya4.5/bin/maya.bin: relocation error: /usr/aw/mrfm1.5/lib/mayabase.so: undefined symbol: mi_info

Ever encoutered/fixed this problem? I have it with version 4.5, besides this problem I can’t get 5 going at all :/, oh well I’ll keep trying.

Christian

also, you might wanna try this link:

http://rpm.pbone.net/index.php3/idpl/35199…a/351999/stat/4

its a dummy /bin/sh for rpm. Rpm is so stupid that it doesn’t see ANY packages whatsoever unless they have been installed by rpm (!) (talk about THE package manager, has RH ever heard of compiling your own stuff? jeez…). Anyway, i’ve been successful in installing some stuff I otherwise couldn’t without --nodeps with this little thingie.

hope it helps