Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ PennMUSH ➜ Compiling the server ➜ Fedora 6 compile

Fedora 6 compile

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by ERoseland   (6 posts)  Bio
Date Tue 19 Aug 2008 02:32 PM (UTC)
Message
I'm trying to install pennmush 1.8.2 on my XO (using linux, fedora core 6 based), when I run 'sh Configure' I get the following message:

./getfile: line 73: UU/myread: No such file or directory

If I delete UU and then run 'sh Configure -d', it'll run until:

Configure: line 2554: testcpp.c: No such file or directory
No dice. I can't find a C preprocessor. Name one:

If I delete UU and try AGAIN, I get:

./getfile: line 73: UU/myread: No such file or directory

{rinse and repeat}

Any assistance would be fantastic. I don't plan on running the thing for people to connect to. It's so that I can have pennmush available whever I am so I can do coding while at work were I don't have the internet.

Thanks.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 20 Aug 2008 12:08 AM (UTC)
Message
Not sure, you could try asking on the PennMUSH forum / mailing list.

http://download.pennmush.org/Source/pennmush-1.8.2p8.tar.gz

I tried compiling the above file on my Mac OS/X and it compiled without problems. Not sure what is causing yours, possibly need to install more of the development packages.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by ERoseland   (6 posts)  Bio
Date Reply #2 on Wed 20 Aug 2008 09:09 AM (UTC)
Message
If you mean the mail list at http://www.pennmush.org/mailman/listinfo/pennmush, it hasn't updated since July, so I figured that wouldn't be the place to go.

Any other ideas?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Wed 20 Aug 2008 12:32 PM (UTC)
Message
Quote:
Configure: line 2554: testcpp.c: No such file or directory
No dice. I can't find a C preprocessor. Name one:

That looks like it's not finding the gcc preprocessor. Have you installed the development tools like gcc, make, automake, etc.?

I think the Fedora command would be e.g.:
yum install gcc
(as root)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by ERoseland   (6 posts)  Bio
Date Reply #4 on Wed 20 Aug 2008 08:23 PM (UTC)
Message
Yes, I have installed the development tools, like gcc and mail. It does begin to install (that's how it gets to line 2554), but after that it's like it forgets where the command is
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Wed 20 Aug 2008 08:41 PM (UTC)
Message
You shouldn't have to be deleting anything at all, assuming that the PennMUSH distribution is remotely sane. In fact, deleting a directory of files could very well be causing it to fail later on. When you take an absolutely fresh copy, unzipped using Fedora and not WinZip, what errors do you see?

What are the contents of UU/myread? the first few lines and a general description would suffice.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #6 on Wed 20 Aug 2008 09:29 PM (UTC)
Message
Can you report what version of gcc you have? and make?


gcc --version
make --version



- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by ERoseland   (6 posts)  Bio
Date Reply #7 on Sun 24 Aug 2008 04:42 PM (UTC)
Message
gcc --version
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
make --version
GNU Make 3.81

As for the UU business... well you ever get the feeling that you'd just be better off deleting everyhing and starting over? Yeah, I did that... now the problem is a make error. I'll have to retry the install to get the exact working but it didn't like make, or make didn't like something and it barfed everytime.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #8 on Sun 24 Aug 2008 08:11 PM (UTC)
Message
Generally returning to a clean slate is your best bet, especially when things have been done without full understanding of the problem. What make error are you getting?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by ERoseland   (6 posts)  Bio
Date Reply #9 on Tue 26 Aug 2008 12:29 AM (UTC)
Message
>aspace make first

[olpc@xo-0D-69-0B aspace]$ make
gcc -I. -I.. -I../hdrs -DPENNMUSH -DASPACE -g -w -c space_alert.c -o obj/space_alert.o
In file included from ../hdrs/conf.h:13,
from space.h:27,
from space_alert.c:4:
../hdrs/mushtype.h:10:25: error: openssl/ssl.h: No such file or directory
In file included from ../hdrs/conf.h:13,
from space.h:27,
from space_alert.c:4:
../hdrs/mushtype.h:138: error: expected specifier-qualifier-list before ‘SSL’
In file included from space_alert.c:4:
space.h:44:25: error: mysql/mysql.h: No such file or directory
space.h:45:26: error: mysql/errmsg.h: No such file or directory
make: *** [obj/space_alert.o] Error 1

==========================
>pennmush make

./Configure -d
Ok
make

Making netmud.
mv -f netmud netmud~
mv: cannot stat `netmud': No such file or directory
make[1]: [netmud] Error 1 (ignored)
cc -L/usr/local/lib -L../aspace -g -I.. -I../hdrs -I../aspace -D__USE_POSIX -I/usr/local/include -o netmud access.o atr_tab.o attrib.o boolexp.o bsd.o bufferq.o chunk.o cmdlocal.o cmds.o command.o compress.o conf.o cque.o create.o db.o destroy.o extchat.o extmail.o filecopy.o flaglocal.o flags.o funcrypt.o function.o fundb.o funlist.o funlocal.o funmath.o funmisc.o funstr.o funtime.o funufun.o game.o help.o htab.o ident.o local.o lock.o log.o look.o malias.o match.o memcheck.o move.o mycrypt.o mymalloc.o mysocket.o myrlimit.o myssl.o notify.o parse.o pcre.o player.o plyrlist.o predicat.o privtab.o ptab.o rob.o services.o set.o shs.o sig.o speech.o sql.o strdup.o strtree.o strutil.o tables.o timer.o unparse.o utils.o version.o warnings.o wild.o wiz.o -lnsl -lm -lc -lcrypt -lresolv -laspace
/usr/bin/ld: cannot find -laspace
collect2: ld returned 1 exit status
make[1]: *** [netmud] Error 1
make[1]: Leaving directory `/media/disk/Iain/pennmush/src'
make: *** [all] Error 2
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #10 on Tue 26 Aug 2008 12:48 AM (UTC)
Message
You need to install openssl and mysql - that is why you are getting the error messages.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by ERoseland   (6 posts)  Bio
Date Reply #11 on Tue 26 Aug 2008 01:33 AM (UTC)
Message
Bleh. I was hoping it was just 'plug 'n play' style and I wouldn't have to install any other crazy thing. Oh well, thanks for the help.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #12 on Tue 26 Aug 2008 04:18 PM (UTC)
Message
Very few large systems are completely free of dependencies. In fact, it's arguably a good thing that a MUD relies on another database system, instead of trying to roll their own. I learned that lesson with scripting engines the hard way. :-)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


39,219 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.