LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2003, 01:05 PM   #46
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15

>>The only thing I would ever be embarassed about when it comes
to this stuff is giving up. . .
Ok, that'll do.. I'll stick with it, hoping to get maya up and running some day *G*

Here's the output:
Code:
[root@localhost too-install]# ls -l /usr/bin/rpm2tgz
-rwxrwxrwx    1 root     root         2381 Jan  7 17:58 /usr/bin/rpm2tgz
I still got the error (maybe because I'm using su at the terminal, 'cause I
can't log in as root right know because I'm getting an upload from a good friend) but your second command
Code:
cd /path/to/maya_openmotif
sh /usr/bin/rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
solved it.

Update:
********
Ok ok.... I was a bit hasty this time... it didn't work as expected:
Code:
[root@localhost too-install]# sh /usr/bin/rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
/usr/bin/rpm2tgz: rpmoffset: command not found

gzip: stdin: unexpected end of file
/usr/bin/rpm2tgz: gz6626/openmotif-2.1.30-2_ICS.i386.cpio: No such file or directory
/usr/bin/rpm2tgz: openmotif-2.1.30-2_ICS.i386.cpio: No such file or directory

Last edited by Faeroon; 01-07-2003 at 01:09 PM.
 
Old 01-07-2003, 01:18 PM   #47
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: 48
copy the file from:
http://linuxmafia.com/pub/linux/utilities-general/

put it in /usr/bin/
chmod +x /usr/bin/rpmoffset
Did you use "su -" to become root? if not, do so.

I don't know why redhat doesn't have this, since it's the creator of
RPM. Blah, this is one of many reasons why rpm-based distros
suck. (ignore that, just a recurring complaint of mine).
 
Old 01-07-2003, 01:41 PM   #48
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Code:
[root@localhost too-install]# sh /usr/bin/rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
/usr/bin/rpm2tgz: /usr/bin/rpmoffset: No such file or directory

gzip: stdin: unexpected end of file
/usr/bin/rpm2tgz: gz7397/openmotif-2.1.30-2_ICS.i386.cpio: No such file or directory
/usr/bin/rpm2tgz: openmotif-2.1.30-2_ICS.i386.cpio: No such file or directory
Dammit... this is harder as french kissin' with a cobra!
What's wrong now? Did I forget to say the magic word?
*tries to see it funny, otherwise he would go crazy*

Here's what file rpmoffset says:
Code:
[root@localhost bin]# file rpmoffset
rpmoffset: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

Last edited by Faeroon; 01-07-2003 at 01:43 PM.
 
Old 01-07-2003, 02:00 PM   #49
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: 48
Where is rpmoffset? is it executable? did you do "su -" before
running rpm2tgz?
Edit the rpm2tgz file and change the rpmoffset command to point
directly to the rpmoffset program
e.g.
dd ibs=`/usr/bin/rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $TMPDIR/rpm2targz$$/$ofn
 
Old 01-07-2003, 02:26 PM   #50
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
I DONT UNDERSTAND IT!!
Why is the system telling me the file isn't there???
It IS there - I post a screenshot if I must, but the system doesn't find it!
I copied both rpmoffset and rpmoffset.c from the link you've posted and
copied them into /usr/bin, chmoded them , even changed the link in the rpm2tgz!
But look at this:
Code:
[root@localhost too-install]# sh /usr/bin/rpm2tgz openmotif-2.1.30-2_ICS.i386.rpm
/usr/bin/rpm2tgz: /usr/bin/rpmoffset: No such file or directory

gzip: stdin: unexpected end of file
/usr/bin/rpm2tgz: gz8148/openmotif-2.1.30-2_ICS.i386.cpio: No such file or directory
/usr/bin/rpm2tgz: openmotif-2.1.30-2_ICS.i386.cpio: No such file or directory
[root@localhost too-install]# locate rpmoffset
[root@localhost too-install]#
But both files are THERE:
Code:
[root@localhost bin]# file rpmoffset
rpmoffset: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
[root@localhost bin]# file rpmoffset.c
rpmoffset.c: ASCII C program text
Is RH7.3 playing fun with me??
*dances on the edge and is just one inch away from loosing his nerves and deinstalling linux*
 
Old 01-07-2003, 04:09 PM   #51
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: 48
I think it's giving you an error because of the required library for rpmoffset
is missing from your system.
Why don't you just post the openmotif RPM on your website (the one
from maya's install disc), I'll convert it and put it somewhere for you to
download. If you want to spend more time figuring out how to administer
your system, that can be done, but I sense a lot of frustration, and don't
want you to quit. . .
 
Old 01-07-2003, 04:14 PM   #52
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
can you try --force and --nodeps
 
Old 01-07-2003, 04:17 PM   #53
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: 48
I don't think he wants to replace the installed motif, he just needs the libs
for maya. . .
 
Old 01-07-2003, 05:03 PM   #54
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
@moses:

Could you send me a pm or maybe email?
I would like to send you the download link and don't know how to
reach you other than over this board.
 
Old 01-08-2003, 01:44 AM   #55
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Don't give up, although it seems bad now, we were all there once. It's a different day, different problem, but nonetheless, we were there too.

As long as someone is willing to learn, there are those of us who are always willing to help. Lucky for you, one of the best I've seen took this one on for you.

Good Luck, and don't give up!

-Chad
 
Old 01-08-2003, 02:43 AM   #56
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: 48
I sent an email to you, and am waiting for a reply, but in the
meantime, if the package that came with Maya is:
openmotif-2.1.30-2_ICS.i386
Then I'll download that from the web and put it up on a website
as a tarball. . .

http://pirlwww.lpl.arizona.edu/~mmil...1.30-2_ICS.tgz
http://pirlwww.lpl.arizona.edu/~mmil...1.30-2_ICS.tgz
Download these two files, put them in your maya_open_motif
directory, unpack them, copy or symlink the libs to your maya
lib directory, and try again. . .
 
Old 01-08-2003, 03:02 AM   #57
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Huh? I did mail you last night?!?
Didn't you get the mail?
Hm... but those links look good, downloading at this moment, but let me
ask if I understood everything right:

Unpack the both into /usr/aw/maya_open_motif
Copy (symlink?) the files into /usr/aw/maya4.5/lib
Start maya and see what happends.
If not this here'll come:
>>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

ok *waits for the download to finish*

@MasterC:
Thx - but honestly the memories of windows let me hold onto linux anyway (brrrrr....
cruel windows...brrrrr.....*frightened*)

Last edited by Faeroon; 01-08-2003 at 03:26 AM.
 
Old 01-08-2003, 03:15 AM   #58
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: 48
Nope, didn't get the email.

symlink/move/copy the libraries into the maya lib dir, and then
run ldconfig and then try maya.
When you unroll the files, they'll all be put into a usr subdirectory.
Traverse down that tree until you come to the lib directory, then
mv * /usr/aw/maya4.5/lib
Don't delete the tarballs just yet.
 
Old 01-08-2003, 04:03 AM   #59
Faeroon
Member
 
Registered: Jan 2003
Location: Germany
Distribution: right now: Vector Linux4
Posts: 96

Original Poster
Rep: Reputation: 15
Sorry that it took so long for this short answer.
This is what I've got:

Code:
[root@localhost root]# ldconfig
ldconfig: /usr/aw/maya4.5/lib/libXm.so.2 is not a symbolic link
Update:
********
Ah , forgot this:
Code:
[root@localhost root]# file /usr/aw/maya4.5/lib/libXm.so.2
/usr/aw/maya4.5/lib/libXm.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped

Last edited by Faeroon; 01-08-2003 at 04:18 AM.
 
Old 01-08-2003, 04:16 AM   #60
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: 48
Yeah, because I'm giving bad information (it's late/early). You
NEED to use mv, not cp or symlinks (well, I guess that would work,
but just use mv).
You should end up with a directory listing that looks something
like this:
Code:
/usr/X11R6/lib/libXm.a
/usr/X11R6/lib/libXm.la
/usr/X11R6/lib/libXm.so -> libXm.so.2.0.1
/usr/X11R6/lib/libXm.so.2 -> libXm.so.2.0.1
/usr/X11R6/lib/libXm.so.2.
You may have to create some of the symlinks. . .

Before you do any of that, though, if there are only a few files
in /usr/aw/maya4.5/lib/, post the listing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:05 AM
Getting AP signal strength via C program ... toships Linux - Wireless Networking 5 01-07-2009 03:35 AM
program cpp0 got fatal signal 11 cellist Debian 2 10-22-2004 06:25 PM
Signal 6: Unknown Signal <=> Error with MAYA4.X under Linux SOLVED!!!! Faeroon Linux - Software 9 05-09-2003 02:57 PM
Signal handling in Multithreaded program souvik Programming 4 08-23-2002 08:28 AM


All times are GMT -5. The time now is 04:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration