LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-06-2003, 06:03 PM   #31
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50

Ok, since maya.bin is being called by the wrapper, we need to
figure out why maya.bin is segfaulting. It's segfaulting because you
you have the wrong library (assuming the same compiled file works
on other machines, which I think is a fair assumption). We need to find out which one.

(I think.)
=-}

Last edited by moses; 01-06-2003 at 06:07 PM.
 
Old 01-06-2003, 06:18 PM   #32
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Unfortunately, the strace isn't as useful as usual, since maya starts
up a couple of child processes, and it looks like one of those has
crashed. strace doesn't (by default) follow child processes. You
can enable this by using the "-f" option to strace. This may prove
useful, so please run the strace command again, with the -f option,
and post it on your website (don't overwrite you other strace).
 
Old 01-06-2003, 11:13 PM   #33
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
How did you install this? did you use Maya's installer (I'm assuming
it has one)? did it produce any errors? did the RH install produce
any errors? did you install all of the development packages that
should come with RH?
 
Old 01-07-2003, 06:08 AM   #34
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Sorry for the late reply but here in german it was REALLY late and now I'm back.

>>How did you install this?
Mayas Linux cd comes with several rpm packages which I've all installed,
with no errors. The license was found and everythings fine - there's only one
thing that I COULD not install, because the system didn't let me: openmotif

The system tells me that a newer version is allready installed and if that
is so - why install an older one? In a board @ aliaswavefront.com someone said:

" While this is an unqualified config. make sure that all of the rpms from the Maya 4.5 cd have been installed. particularly openmotif-2.1.30-2_ICS.i686.rpm

I suspect this one could be missing (you may have to force it)."

I can't find this particular version anywhere , because there's just an older rpm on the install cd - if someone can point me to a download link, I would be glad.

Now to the full strace of maya, with a child processes.
I've archived the txt file, which is packed 300kb, unpacked 7MB (whoooho)

Here's the archive
Strange.... I've made the archive several times and each time RHs ARK
says there's nothing in it, but if I choose "Extract here..." the txt file pops up?!?
If you have any problems with it - let me know

Hope this helps to find the god damn problem... *has lost all his nerves about this whole thing*
 
Old 01-07-2003, 06:34 AM   #35
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
ftp://ftp.sgi.com/other/motifzone/li...2_ICS.i386.rpm

Only difference should be which platform it was optimized for (I would think).



Cool
 
Old 01-07-2003, 07:00 AM   #36
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
That's what I was talking about - it won't let me install
Not with --force and not with --replacefiles

Code:
[root@localhost too-install]# rpm -ihv --replacefiles openmotif-2.1.30-2_ICS.i386.rpm
error: failed dependencies:
        openmotif < 2.2.2 conflicts with openmotif21-2.1.30-1
[root@localhost too-install]# rpm -ihv --force openmotif-2.1.30-2_ICS.i386.rpm
error: failed dependencies:
        openmotif < 2.2.2 conflicts with openmotif21-2.1.30-1
 
Old 01-07-2003, 07:22 AM   #37
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
rpm -e openmotif

Then:
rpm -Ivh openmotif-2.1.30-2_ICS.386.rpm

Cool
 
Old 01-07-2003, 07:33 AM   #38
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
*laughs* Was there yet anything on linux that worked without errors
or strange messages which noone understands?

Code:
[root@localhost too-install]# rpm -e openmotif
error: removing these packages would break dependencies:
        openmotif is needed by ddd-3.3.1-13
        openmotif is needed by nedit-5.2-2
        libMrm.so.3   is needed by openmotif-devel-2.2.2-5
        libXm.so.3   is needed by ddd-3.3.1-13
        libXm.so.3   is needed by openmotif-devel-2.2.2-5
        libXm.so.3   is needed by nedit-5.2-2
 
Old 01-07-2003, 09:38 AM   #39
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Don't replace the openmotif that is currently on there, do the
following:
get rpm2tgz (if you don't already have it)
make a open_motif sub directory in the Maya tree
change the openmotif from the Maya CD to a tarball and unpack
the tarball in the open_motif sub directory just mentioned.
Link/copy the open_motif libraries in that sub directory to the
Maya lib dir that you previously added to /etc/ldconfig.conf.
Now here is where it gets tricky. You need to make sure these
openmotif libs are statted before the newer ones, but ONLY for
Maya. This is most easily done by using the
LD_LIBRARY_PATH environment variable, and making sure
the Maya libs are first on the list. This is supposedly done
in the Maya4.5 shell script. Try installing the openmotif libs as
described above, and starting maya again. If this doesn't work,
we'll take the next step.

Oh, and the reason you don't always want to use newer libs is
because they aren't always backward compatible, and worse, they
sometimes redefine functions with the same name. This can cause
things such as a segfault.

Last edited by moses; 01-07-2003 at 09:40 AM.
 
Old 01-07-2003, 10:23 AM   #40
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Ok, going to try that right now.
Wish me luck

Update:
******************
I didn't even start and the first problem's there...
I can't find something like rpm2tgz (or rpm2targz) if I search @google.
I found something like a script but everywhere I look it tells me this is
for slackware (what ever that is) and ....yeah... I don't know... maybe
I SHOULD go back to windows, looks like I've got not enough linux
knowledge to survive this...

Last edited by Faeroon; 01-07-2003 at 10:48 AM.
 
Old 01-07-2003, 11:06 AM   #41
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Here's the script:

Code:
#!/bin/sh
# Copyright 1997, 1998 Patrick Volkerding, Moorhead, Minnesota USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

if [ "$TMPDIR" = "" ]; then
  TMPDIR=/tmp
fi
if [ "$1" = "" ]; then
  echo "$0:  Converts RPM format to standard GNU tar + GNU zip format."
  echo "            (view converted packages with \"less\", install and remove"
  echo "            with \"installpkg\", \"removepkg\", \"pkgtool\", or manually
"
  echo "            with \"tar\")"
  echo
  echo "Usage:      $0 <file.rpm>"
  if [ "`basename $0`" = "rpm2tgz" ]; then
    echo "            (Outputs \"file.tgz\")"
  else
    echo "            (Outputs \"file.tar.gz\")"
  fi
  exit 1;
fi
for i in $* ; do
  if [ ! "$1" = "$*" ]; then
    echo "Processing file: $i"
  fi
  rm -rf $TMPDIR/rpm2targz$$ # clear the way, just in case of mischief
  mkdir $TMPDIR/rpm2targz$$
  ofn=`basename $i .rpm`.cpio
  dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $TMPDIR/rpm2tar
gz$$/$ofn
  ( cd $TMPDIR/rpm2targz$$
    cpio --extract --preserve-modification-time --make-directories < $ofn 1> /de
v/null 2> /dev/null
    rm -f $ofn
    find . -type d -perm 700 -exec chmod 755 {} \;
    tar cf - . ) > `basename $i .rpm`.tar
    gzip -9 `basename $i .rpm`.tar
    if [ "`basename $0`" = "rpm2tgz" ]; then
      mv `basename $i .rpm`.tar.gz `basename $i .rpm`.tgz
    fi
  ( cd $TMPDIR ; rm -rf rpm2targz$$ )
done
Copy this to a file called rpm2targz or rpm2tgz, put it in your
/sbin directory, chmod +x rpm2tgz, and you should be good to
go. It requires cpio, and I don't know if that exists on the RH
system. I don't know why it wouldn't.
 
Old 01-07-2003, 11:24 AM   #42
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Done everything the way you explained, but I'm getting:

Code:
[root@localhost too-install]# ./rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
bash: ./rpm2tgz: /bin/sh: bad interpreter: Permission denied
Wouldn't it be better if I just let go and go back to windows?
Remember - I'm using linux since last week... I don't know it very well yet :-/
This is getting pretty rough... *has headaches*
 
Old 01-07-2003, 11:30 AM   #43
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
After creating the file, you need to make it executable:

Code:
chmod +x rpm2tgz
Also, it should reside in /usr/bin/, but having it in your working
directory is fine for now.

In my opinion, there is never a reason to go to windows. You are
free to do as you choose, but I think that if you stick it out for
this, you'll be much better off. Also, you've only been using it
for a week, I don't see a reason to give up so soon. . .

Last edited by moses; 01-07-2003 at 11:33 AM.
 
Old 01-07-2003, 11:41 AM   #44
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
I've put it into /sbin first, as you told me.
I did the chmod +x rpm2tgz command, as it didn't work I've tried chmod 777 rpm2tgz
Now I moved it into /usr/bin and still get the exact same error.

Why going back to windows? Isn't that obviously? I'm posting in this thread like every 5min with another prob of which I've never heard...
I find it a bit embarassing... if it's ok with you I stick with it and try to work on it,
but I realized that, without help I'll get nowhere!
That's why I'm thinking about going back, posting again and again and again for every non-working command is ....:-/
 
Old 01-07-2003, 11:47 AM   #45
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Are you running as root? You need to be. Post the output of:
Code:
ls -l /usr/bin/rpm2tgz
I know I told you /sbin, and I was wrong, sorry. Having the file in
/usr/bin allows non root users to use it. . .
If you keep getting the error, do this:
Code:
cd /path/to/maya_openmotif
sh /usr/bin/rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
It should never be embarassing to be learning something new.
Look around on the site, everyone has had problems before, but
most people here are here because they know someone else
has had a similar problem and want to know how it was solved.
If you keep reading this site, you'll soon realize that you've
already dealt with problems and can answer others' questions.
The only thing I would ever be embarassed about when it comes
to this stuff is giving up. . .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid stops due to signal 6 and signal 25 simplyrahul Linux - Software 3 05-28-2011 01:05 AM
Getting AP signal strength via C program ... toships Linux - Wireless Networking 5 01-07-2009 02:35 AM
program cpp0 got fatal signal 11 cellist Debian 2 10-22-2004 05:25 PM
Signal 6: Unknown Signal <=> Error with MAYA4.X under Linux SOLVED!!!! Faeroon Linux - Software 9 05-09-2003 01:57 PM
Signal handling in Multithreaded program souvik Programming 4 08-23-2002 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration