Fedora 6 compile

Posted by ERoseland on Tue 19 Aug 2008 02:32 PM — 13 posts, 44,715 views.

#0
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.
Australia Forum Administrator #1
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.
#2
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?
USA #3
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)
#4
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
USA #5
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.
Australia Forum Administrator #6
Can you report what version of gcc you have? and make?


gcc --version
make --version


#7
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.
USA #8
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?
#9
>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
Australia Forum Administrator #10
You need to install openssl and mysql - that is why you are getting the error messages.
#11
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.
USA #12
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. :-)