Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software > ARCHIVES - Games
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Games A place to chat about games

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-May-2008, 06:58
jumuraa
Guest
 
Posts: n/a
Default

I'm trying to install Kmuddy onto opensuse 10.2, but I keep getting strange errors. If I try to run the rpm through yast, it gives me one of two errors,

1st: the the file doesn't exist. Considering that I opened the file and then told it to install with yast, this strikes me as odd.

If I try again after that, it tells me that the installer is already in use. Which it was... but has since closed.

If I try to use the terminal:
dir
total 1044
-rw-r--r-- 1 Jumuraa users 1058418 2008-05-27 20:48 kmuddy-0.8-1.src.rpm

rpmbuild --rebuild kmuddy-0.8-1src.rpm
error: cannot open kmuddy-0.8-1src.rpm: No such file or directory

Any ideas?

  #2 (permalink)  
Old 27-May-2008, 10:31
ingocnito9
Guest
 
Posts: n/a
Default

just a wild guess, but try specifying a path i.e. rpmbuild ./kmuddy

otherwise, there are a few other decent mud clients floating around. I like alclient.
  #3 (permalink)  
Old 27-May-2008, 15:49
jumuraa
Guest
 
Posts: n/a
Default

same error
  #4 (permalink)  
Old 27-May-2008, 21:44
jumuraa
Guest
 
Posts: n/a
Default

So I tried install using the .src.rpm and got this error returned.

rpmbuild -rebuild kmuddy-0.8-1.src.rpm
rpmbuild: arguments to --root (-r) must begin with a /

what does that mean?
  #5 (permalink)  
Old 27-May-2008, 22:28
ingocnito9
Guest
 
Posts: n/a
Default

Were you root when you did this?
  #6 (permalink)  
Old 27-May-2008, 22:38
jumuraa
Guest
 
Posts: n/a
Default

Yes, did it again just to be sure. Same return.
  #7 (permalink)  
Old 27-May-2008, 22:48
jumuraa
Guest
 
Posts: n/a
Default

I tried it again with an extra "-"

rpmbuild --rebuild kmuddy-0.8-1.src.rpm
Installing kmuddy-0.8-1.src.rpm
warning: user tomas does not exist - using root
error: Legacy syntax is unsupported: copyright
error: line 16: Unknown tag: Copyright: GPL

I haven't installed anything that I am aware of, or changed any settings. So far I view this as an improvement. At least it is trying to install now.
  #8 (permalink)  
Old 29-May-2008, 06:12
jumuraa
Guest
 
Posts: n/a
Default

Update:

So I tried the binary rpm for opensuse 10.1:
rpm --install kmuddy-0.8-1.i586.rpm
error: Failed dependencies:
libexpat.so.0 is needed by kmuddy-0.8-1.i586
libmxp.so.0 is needed by kmuddy-0.8-1.i586
libslang-utf8.so.1 is needed by kmuddy-0.8-1.i586

I understand that this means that these files don't exist, or that it doesn't know where they are. I tried installing the libmxp from the site. I'm not sure if this is right, but if it's how you install the .src.rpm for kmuddy, I guessed it would work for the libmxp src.rpm.

This is what I got:
rpmbuild --rebuild libmxp-0.2.2-1.src.rpm
Installing libmxp-0.2.2-1.src.rpm
warning: user tomas does not exist - using root
warning: group tomas does not exist - using root
error: Legacy syntax is unsupported: copyright
error: line 8: Unknown tag: Copyright: LGPL

I don't even know where to begin with the other two missing packages. I haven't been able to find them, or what they are for.

Any ideas on what to try next?

  #9 (permalink)  
Old 29-May-2008, 07:57
jumuraa
Guest
 
Posts: n/a
Default

I was directed to this site as a possible solution:

http://www.fedoraforum.org/forum/archive/i...p/t-118593.html

I followed what it said about changing the "Copyright" to "license." And got this:

rpmbuild -ba libmxp.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.37997
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf libmxp-0.2.2
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/libmxp-0.2.2.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libmxp-0.2.2
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.37997
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /tmp/libmxp-0.2.2
++ dirname /tmp/libmxp-0.2.2
+ /bin/mkdir -p /tmp
+ /bin/mkdir /tmp/libmxp-0.2.2
+ cd libmxp-0.2.2
++ echo -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE
=2
++ sed -e 's/-m\(.86\)/-mcpu=i\1/g'
+ RPM_OPT_FLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTI
FY_SOURCE=2'
+ ./configure.good
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ comp iler cannot create executables
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.37997 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.37997 (%build)

I am completely out of my depth here. I have no clue what it's saying. Help?
  #10 (permalink)  
Old 29-May-2008, 09:43
ingocnito9
Guest
 
Posts: n/a
Default

I'm not sure if I ever got kmuddy to compile. I certainly haven;t played with it since before I moved to 10.3 from 10.2

Try just installing the srpm and then compiling the source?

./configure
make
su root
make install

seems like the problems you're having are with rpm, and not with gcc.
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2