Signal: 6 (Unknown Signal) - Problems running a program
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
PS: Can someone tell me how I up the resolution of my
desktop? Somehow the RH7.3 install only gave me 1024x768 as maximum, RH8 gave me the real max (1600x1200)
Everything's so...big
Originally posted by Faeroon PS: Can someone tell me how I up the resolution of my
desktop? Somehow the RH7.3 install only gave me 1024x768 as maximum, RH8 gave me the real max (1600x1200)
Everything's so...big
So you want 1600x1200? Try this first as it would be the easiest *quick* way:
CTRL ALT and the +/- keys
[faeroon@localhost bin]$ ldd /usr/aw/maya4.5/bin/maya
not a dynamic executable
Hm... strange... maya.bin is DEFINITELY inside the directory?
After that:
[code]
[faeroon@localhost bin]$ ./mayald
c++: /usr/aw/maya4.0/lib: No such file or directory
[code]
Wtf?? Why is he searching for the old 4.0 directory?
Some sort of wrong link? Not from me - never installed 4.0
There IS a maya directory
Hm...ok.. how do I get the path into the $PATH var?
Damn...sorry for all this... :-/
PS: For the resolution thing:
Seems that the driver that 7.3 got for my screen (siemens mcm21p1)
are only from 640x480 - 1024x768 (if i use CTRL+ALT +/- it jumps from 1024 to 800 or 640, no matter what I do )
The long lasting way (there's probably a specific RH way of doing, maybe Xconfigurator, but here's a non-specific way):
Open up your /etc/X11/XF86Config-4 file and locate the portion dealing with resolutions (you'll see the entries: 1024x768, 600x800 and so on) find the default color depth entry (which should be stated at the beginning of the section where you find the resolutions) and edit it to have the 1600x1200 as the first entry (this probably means you'll need to reverse the order the displays are listed in).
Honestly I have no clue how to edit your PATH, it doesn't seem to be the same distro to distro, and my generic way sometimes seems to jack things up... Usually I will say:
locate the entry in /etc/profile for your PATH. Add the new entry into that line, and it should add to your PATH.
But this seems to jack up some distro's PATH's. Here's another idea from a Mandrake how-to:
Make a file in /etc/profile.d called maya.sh (as root) then open up that new file and:
maya_home=/usr/aw/maya4.5
export maya_home
PATH=$PATH:maya_home/bin
export PATH
Then save this new file. Make it executable:
chmod +x /etc/profile.d/maya.sh
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Do the following:
Code:
file /usr/aw/maya4.5/bin/maya
my guess is that this will turn out to be a shell script of some sort.
If that's the case, it's probably a wrapper for the actual binary
executable.
*IF* it is a shell script, and it's relatively short, post its contents.
What a day... I've installed RH7.3 side by side with RH8
and that somehow screwed up my bootloader - at the end
I've deleted everything and installed R7.3 again...
I don't know how often I did install Linux in the past 2 weeks...
20 times? 30.... damn...
The system runs smoothly (only that, if I copy something from a cd
to hd the systems goes REAL SLOW and I can't do anything else? Why? Any ideas?) but the maya error's still there...
I'm no again at the same state as my last posting - the libs are
being found by maya, but still there's this error 6 and ...I'm out of ideas.
If this is not going to be solved in the next 24hours it's "bye bye Linux"
I'm going to try this $PATH thing in a few minutes, but here's what
I've got with file /usr/aw/maya4.5/bin/maya
Code:
[faeroon@localhost faeroon]$ file /usr/aw/maya4.5/bin/maya
/usr/aw/maya4.5/bin/maya: symbolic link to Maya4.5
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Ok,
What kind of file is Maya4.5?
If it's a binary executable, run
Code:
ldd /path/to/Maya4.5
If it's a shell script, and isn't too long, post it.
(side note: Reinstalling the OS will almost never solve your
problems, you'll just have to go back through solving whatever
probs. you had up to the point of reinstallation.)
Your CD copy problem probably has to do with the parameters
of the hard drive not being set to take advantage of its
capabilities, search this site for hdparm.
Maya4.5 is a C shell script text executable
Here's the content of this file:
Code:
#!/bin/csh -f
#Tag 0x00C98a00
#*
#*+***********************************************************************
#*
#* Module:
#* maya
#*
#* Copyright (c) 1996-2001 by Alias|Wavefront, Inc., and Alias|Wavefront,
#* a division of Silicon Graphics Canada Ltd. All rights reserved.
#*
#*-***********************************************************************
#*
set maya_exec = maya.bin
#
# Determine if launched from the desktop or a shell. This will tell
# us how to display error messages later.
#
set tty = 1
set OSname = `/bin/uname -s`
switch ("$OSname")
case Linux:
set lib = lib
set lsFlags = '-l'
breaksw
case IRIX*:
set lib = lib32
set libn32 = 1
set lsFlags = '-Hl'
if ( -x /bin/tty ) then
if ( "`tty`" !~ /dev/* ) then
set tty = 0
endif
endif
set OSversion = `/bin/uname -r`
switch ( "$OSversion")
case 5.3:
case 6.[234]:
set errMsg = "This version of Maya will not run on Irix Operating Systems prior to 6.5"
if ( $tty == 1 ) then
echo "$errMsg"
else
xconfirm -c -t "$errMsg" -icon warning>&/dev/null
endif
exit 1
breaksw
case 6.5:
# this is ok
default:
# let this go without an error also. There is no 6.6 yet, but
# there might be someday and it should run Irix 6.5 binaries.
breaksw
endsw
breaksw
default:
echo "Maya is not supported on $OSname."
exit 1
breaksw
endsw
#
# Parse the argument list
#
set mayaArgs = ""
set mayaApp = ""
set debuggerArgs = ""
while ( $#argv > 0 )
switch ( "$1" )
case -data:
# This is a supported maya flag which we have to differentiate from -d.
set mayaArgs = "${mayaArgs} '$1'"
breaksw
#
# Check to see if we should launch under a debugger
#
case -d:
if ( $#argv <= 1 ) then
if ( $tty == 1 ) then
echo "No debugger specified."
else
xconfirm -c -t "No debugger specified." -icon warning>&/dev/null
endif
exit 1
endif
shift
set dbgApp = $1
breaksw
case -default:
set mayaArgs = "${mayaArgs} '$1'"
breaksw
case -dbgArg:
shift
set debuggerArgs = "${debuggerArgs} '$1'"
breaksw
case -d*:
set dbgApp = `echo $1 | cut -c3-`
breaksw
case -lic=*:
if ( ! $?MAYA_LICENSE ) setenv MAYA_LICENSE
setenv MAYA_LICENSE "${MAYA_LICENSE}`echo $1 | cut -c6-`"
breaksw
default:
# See if the user specified an executable
set mayaSpecified = `expr "$1" : '.*\(maya\.bin\).*' \| ''`
if ($mayaSpecified == "maya.bin") then
set mayaApp = $1
else
set mayaArgs = "${mayaArgs} '$1'"
endif
endsw
shift
end
#
# If the MAYA_LOCATION is set, use it. Otherwise, determine it.
#
if ( $?MAYA_LOCATION ) then
if ( -x "${MAYA_LOCATION}/bin/${maya_exec}" ) then
set maya = "${MAYA_LOCATION}/bin/${maya_exec}"
else
unsetenv MAYA_LOCATION
endif
endif
#
# Need to determine where Maya resides based on how this shell was
# invoked. Determine full pathname, follow soft link, and extract
# directory. If "maya" is not in a "bin" directory, bail.
#
if ( ! $?MAYA_LOCATION ) then
#
# Create the full pathname of the invoked binary.
#
if ( "$0" =~ /* ) then
set me = "$0"
else
set me = `pwd`/$0
endif
#
# If it's a link, find the actual file.
#
while ( -l "$me" )
set linkdirname = `dirname "$me"`
set me = `/bin/ls $lsFlags "$me" | tr ' ' '\012' | tail -1`
if ( "$me" !~ /* ) then
set me = "$linkdirname/$me"
endif
end
#
# Binary should be in $MAYA_LOCATION/bin. Verify that.
#
set bindir = `dirname "$me"`
if ( -d "$bindir" ) then
set bindir = `cd "$bindir"; echo $cwd`
endif
set binfile = `basename "$bindir"`
if ( "$binfile" =~ "bin" ) then
# We cannot call setenv directly if there are spaces in the Path.
# We must use a temp variable.
set maya_loc = `dirname "$bindir"`
setenv MAYA_LOCATION "$maya_loc"
if ( -x "${MAYA_LOCATION}/bin/${maya_exec}" ) then
set maya = "${MAYA_LOCATION}/bin/${maya_exec}"
else
unsetenv MAYA_LOCATION
endif
endif
endif
#
# This allows Maya to save SGI format image files with matte.
setenv WF_IMF_SGI_MATTE
#
# 101914: color correction needed for Cineon files.
setenv WF_IMF_CIN_CORRECTION both
setenv WF_IMF_CIN_WHITE_POINT 685
# Determine the location of the A|W Common Utilties
#
# - If AW_COMMON is set and the directory does not exist, unset AW_COMMON.
# - If AW_COMMON not set and MAYA_LOCATION is set and exists, then set
# AW_COMMON relative to MAYA_LOCATION
# - if AW_COMMON is still not set, then use the default location
if ( $?AW_COMMON ) then
if ( ! -d "${AW_COMMON}/COM/bin" ) then
echo "Warning: Invalid AW_COMMON location (${AW_COMMON}), redefining"
unsetenv AW_COMMON
endif
endif
if ( ! $?AW_COMMON && $?MAYA_LOCATION) then
if (-d "$MAYA_LOCATION/../COM/bin") then
setenv AW_COMMON "$MAYA_LOCATION/.."
endif
endif
if ( ! $?AW_COMMON) then
setenv AW_COMMON /usr/aw
endif
#
# Set up the location of the DSO's and run
#
if ( $?MAYA_LOCATION ) then
if ( $?libn32 && $?LD_LIBRARYN32_PATH ) then
setenv LD_LIBRARYN32_PATH "$MAYA_LOCATION/lib:${AW_COMMON}/COM/${lib}:$LD_LIBRARYN32_PATH"
else if ( $?LD_LIBRARY_PATH ) then
setenv LD_LIBRARY_PATH "$MAYA_LOCATION/lib:${AW_COMMON}/COM/${lib}:$LD_LIBRARY_PATH"
else
setenv LD_LIBRARY_PATH "$MAYA_LOCATION/lib:${AW_COMMON}/COM/${lib}"
endif
if ( $?NLSPATH ) then
if ( ! -r $NLSPATH ) then
setenv NLSPATH "$MAYA_LOCATION/app-defaults/MayaCatalog"
endif
else
setenv NLSPATH "$MAYA_LOCATION/app-defaults/MayaCatalog"
endif
if ("$mayaApp" != "") set maya = "${mayaApp}"
if ( -x "$maya" ) then
if ( $?dbgApp ) then
#echo "debugging: ${maya}"
setenv AW_DEBUGGING F
setenv MAYA_DEBUG_NO_SIGNAL_HANDLERS 1
if ( "${mayaArgs}" !~ "" ) then
echo "Executing: ${dbgApp} ${debuggerArgs} ${maya}"
echo "Maya args: ${mayaArgs}"
endif
eval "${dbgApp}" ${debuggerArgs} ${maya}
exit $status
else
#echo "running: ${maya}"
set noSpaceMaya = `echo $maya | sed -e 's/ /\\ /g'`
eval $noSpaceMaya ${mayaArgs}
exit $status
endif
endif
endif
if ( ! $?maya ) set maya = "${maya_exec}"
if ( $tty == 1 ) then
echo The Maya executable \(\`${maya}\'\) cannot be found
else
xconfirm -c -t "The Maya executable \(\`${maya}\'\) cannot be found" \
-icon warning >&/dev/null
endif
exit 1
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Ok.
First make sure you have the license in the correct/expected
place, or use the "-lic" option to specify where the license file is
located.
maya allows debug options, I'd try that next. Do you have the
manual? It should tell you which debuggers will work with Maya.
try:
Hope it helps, because I've never debugged a program
before and honestly , I think I wouldn't see the error
if its red and blinking
The text looks like total chaos...hope I've saved it the right way
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.