[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  addon to the compiling and such
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

addon to the compiling and such

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


Pages: 1 2  3  

Posted by Walker   (21 posts)
Date Sat 30 Aug 2003 11:26 AM (UTC)
Message
Unzip the file using "tar" and confirm the new directory is there by typing "ls":

$ tar xzf smaug1.4a_mxp.tgz
$ ls
smaug smaug1.4a_mxp.tgz

If you want to see the names of each file as they are unzipped use "tar xvzf" rather than "tar xzf". The extra "v" tells tar to be "verbose", and it will list the names of each file and directory as they are processed.


That is the info you have on the How to complie screen yet the smaug1.4a_mxp.tgz is errored in some way. So even though i am new at compiling would you happen to know anywhere to find a working file? And maybe more sorces for helping me to compile?

I might be new in this but if happenly enough if say someone maybe would take a small few mins to go through the steps they made in their first compiling of the smaug server stuff, mxp, etc. That and maybe some helpful links to more compiling sorces.
[Go to top] top

Posted by Walker   (21 posts)
Date Reply #1 on Sat 30 Aug 2003 11:37 AM (UTC)

Amended on Tue 20 Nov 2007 04:25 AM (UTC) by Nick Gammon

Message
It seems as additive info for those that will be kindly enough to send through steps to resolve my problem I have found that in messing with CYGWIN going all the way down the the above step in Nicks guide has i guess gottem me a dist folder with the folders src, area, etc.

The question about that is that when i extracted the file, smaug1.4a i did that on my desktop and it created its own folder smaug.
Then following yalls directions on the smaug1.4a.sce score file zip extracted that into a made folder src in my already created smaug folder. Mind be it that this is pre-cygwin.

Then after downloading cygwin in following nicks guide on compiling i put the smaug1.4a_mxp file in my C:\cygwin\home\Sean Hodges directory, then in turn i went ahead and added in the smaug1.4a zip file and the smaug1.4a.sce zip file in the same place. And right now all i am looking at in that C:\cygwin\home\Sean Hodges directory is this:
folder - dist
files - ftpgame.org
- .bash_profile
- .bashrc
- .inputrc
zips/tars - smaug1.4a
- smaug1.4a.sce
- smaug1.4a_mxp


Thats all in my home/Sean Hodges directory folder of my cygwin. That leads me to the question did i need to extract smaug1.4a by itself or use cygwin with it, or rather simpler question should i have just used cygwin in all cases in messing with the 3 zips/tars?

But anyway as i stated a step by step maybe from anyone would could give it would help (possibly starting from the beginning when they first decided to get smaug) I want to make sure i have what i need, and did the right things.
[Go to top] top

Posted by Walker   (21 posts)
Date Reply #2 on Sat 30 Aug 2003 11:43 AM (UTC)
Message
Okay this should be the last post right now considering cygwin. When i first downloaded and setup the files following the guide i went ahead and used the C:\cygwin directory and just added \filesDLed\dledfiles for the local package directory. Yet then when i found the pdf users guide on the site it says this:

2.1.3. Local Package Directory
The Local Package Directory is the cache where setup.exe stores the packages
before they are installed. The cache must not be the same folder as the Cygwin root.
Within the cache, a separate directory is created for each Cygwin mirror, which allows
setup.exe to use multiple mirrors and custom packages. After installing Cygwin, the
cache is no longer necessary, but you may want to retain the packages as backups, for
installing Cygwin to another system, or in case you need to reinstall a package.

I was wondering would what I did effect performance or anything about smaug or cygwin? I am pretty sure someones done the same thing.
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sat 30 Aug 2003 09:18 PM (UTC)

Amended on Sat 30 Aug 2003 09:19 PM (UTC) by Nick Gammon

Message
Quote:

That is the info you have on the How to complie screen yet the smaug1.4a_mxp.tgz is errored in some way.


In some way? In what way? Can you give the error message?

How did you unzip the files? Did you use tar?

Quote:

When i first downloaded and setup the files following the guide i went ahead and used the C:\cygwin directory and just added \filesDLed\dledfiles for the local package directory.


I suggested in my downloading Cygwin page that you use C:\cygwin for the Cygwin directory - as that is easy to remember - and C:\cygwin_install for where the downloaded files are to go. (I actually used D:\Cygwin_Install because I had more disk spaces free there), but you can see they are supposed to be separate directories.

You have not followed these instructions, I gather, but put them all into C:\cygwin, but now are wondering if you did the right thing? In a nutshell, no.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Walker   (21 posts)
Date Reply #4 on Sun 31 Aug 2003 12:36 AM (UTC)
Message
(mynamehere) ~
$ tar xzf smaug1.4a_mxp.tgz
tar <child>: smaug1.4a_mxp.tgz: Cannot open: No such file or directory
tar <child>: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

thats the error.

As for the cygwin all i am wondering if it will affect cygwin or not if not i dont care.
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Sun 31 Aug 2003 12:51 AM (UTC)
Message
Quote:

tar <child>: smaug1.4a_mxp.tgz: Cannot open: No such file or directory


Yes, I see. What do you suppose that error message means? How would you fix it?

Quote:

As for the cygwin all i am wondering if it will affect cygwin or not if not i dont care.


Don't know. If it seems to work, perhaps it is OK.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Walker   (21 posts)
Date Reply #6 on Sun 31 Aug 2003 04:01 AM (UTC)
Message
Dude, if i freaking knew how to answer the question i wouldnt be asking here. You obviously know whats wrong so whats going on? I followed your dang how to guide of compiling and thats what i ended up with on that step.
[Go to top] top

Posted by Walker   (21 posts)
Date Reply #7 on Sun 31 Aug 2003 04:03 AM (UTC)
Message
And before you try getting smart again on this I am adding the fact the files IS THERE, the area you described in your guide of where its supposed to be.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #8 on Sun 31 Aug 2003 04:33 AM (UTC)

Amended on Sun 31 Aug 2003 05:09 AM (UTC) by Zeno

Message
Nicks only trying to help, and his compiling guide worked for me. I never did use cygwin, so I'm not really sure where the file should be located. I'm sure someone else will know what do to exactly.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Sun 31 Aug 2003 06:18 AM (UTC)
Message
Here is my Cygwin directory. I check the file is there by doing "ls" ...



$ ~
$ ls
Dystopia           run-swr  smaug1.4a_mxp.tgz  swr-2_0a2.tar.gz
SMAUG1.4a_win_mxp  smaug    swr-2.0



There it is. Now I tar it ...



$ ~
$ tar xzf smaug1.4a_mxp.tgz
$ ~


No error message.

Now I rename it ...


$ mv smaug1.4a_mxp.tgz some_other_name
$ ~


Now I tar it again. I get your error message ...



$ tar xzf smaug1.4a_mxp.tgz
tar (child): smaug1.4a_mxp.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

$ ~



Quote:

You obviously know whats wrong so whats going on?


What is wrong is that the file is not there. Sorry, but if you keep insulting us here you can take your questions to another forum.



- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Walker2   (19 posts)  [Biography] bio
Date Reply #10 on Sun 31 Aug 2003 09:12 AM (UTC)
Message
If you get an error message along the lines of:


/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lregex
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/nick/smaug/dist/src'
make: *** [all] Error 2

... you may need to edit the file "Makefile" and comment-out the line regarding regexp, like this:


#Uncomment the line below if you are getting undefined re_exec errors #NEED_REG = -lregex

None the less i got it to go even further into your guide. Along the lines that it gets to this problem. I saw that come up and edited the Makefile through notepad (should I have done that?). Then fell into another problem, i dont have the Smaug.exe file in the
$ cd ../area
$ ../src/smaug.exe
part of the guide. Would that mean i have to do something along the lines of simply just adding the smaug.exe there or extracting the smaug1.4a in the src directory or what?

Also I dont know whats with banning my old name Walker, but id like to know why, cause i didnt even get a chance to post.
[Go to top] top

Posted by Boborak   USA  (228 posts)  [Biography] bio
Date Reply #11 on Sun 31 Aug 2003 10:26 AM (UTC)
Message
Here's my two cents. You ask for help. We offer help. You complain when the help we give isn't working. We try to correct you. You have a cow as if we are insulting you. Nick was pointing out the obvious. If it said the file wasn't there. IT WASN'T THERE. What "answer" was Nick suppose to give you? It told you what was wrong. It wasn't lying and it wasn't being sarcastic. There was nothing else that could have been said. You simply didn't follow the guide to the letter like it needs to be followed. Believe it or not you are NOT the first person to use that guide and it works for everyone else. I believe Nick banned you as a helpful little hint that you carry an attitude that isn't appreciated. The help provided at these forums is free of charge by people willing to volunteer their time to help others. Instead of being grateful for the help we provide, you are everything but. "You know the answer! So tell me!" Case in point, the first thing you do is create another user and complain about being banned. Why not apologize? Even if you don't think you were wrong. Obviously if the owner of a web site banned you, then you must have did SOMETHING wrong. I imagine you likely have one more chance to post an apology for your ungrateful attitude before Nick site bans you. Such a pity.

-Bobo
[Go to top] top

Posted by Walker2   (19 posts)  [Biography] bio
Date Reply #12 on Sun 31 Aug 2003 11:15 AM (UTC)
Message
A few things come to light/factor here upon looking at this.

One thing being the factor that I stated that i was totally new to the admin factor of smaug, so thus that creates a need for more of a patience factor.

Second thing being that I cleared that what was where and what I did. Even if i didnt fully put it and when asked i placed it on a post. Such as this below:
zips/tars - smaug1.4a
- smaug1.4a.sce
- smaug1.4a_mxp
stated perfectly that i had the file downloaded and was there.

Third saying "Yes, I see. What do you suppose that error message means? How would you fix it?" isnt really totally needed to be said to a newbie at compiling. Though the post after that did explain it for me after i had to ask, so that much i am greatful for.

As for an apology i would have placed one along with a thanks to nick and was doing that when i started to try to post boom "This user is no longer able to post" came up. So that brought up the question of the banning part. Banning someone before they can even reply with a thanks or a sorry for being rough doesnt really get the apology or thanks said.

And into moving into the question i had posted before:
If you get an error message along the lines of:


/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lregex
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/nick/smaug/dist/src'
make: *** [all] Error 2

... you may need to edit the file "Makefile" and comment-out the line regarding regexp, like this:


#Uncomment the line below if you are getting undefined re_exec errors #NEED_REG = -lregex

None the less i got it to go even further into your guide. Along the lines that it gets to this problem. I saw that come up and edited the Makefile through notepad (should I have done that?). Then fell into another problem, i dont have the Smaug.exe file in the
$ cd ../area
$ ../src/smaug.exe
part of the guide. Would that mean i have to do something along the lines of simply just adding the smaug.exe there or extracting the smaug1.4a in the src directory or what?

Would be thankful for whoever can answer that.
[Go to top] top

Posted by Boborak   USA  (228 posts)  [Biography] bio
Date Reply #13 on Sun 31 Aug 2003 01:35 PM (UTC)

Amended on Sun 31 Aug 2003 02:40 PM (UTC) by Boborak

Message
Quote:

One thing being the factor that I stated that i was totally new to the admin factor of smaug, so thus that creates a need for more of a patience factor.


Patience has nothing to do with being ungrateful. Most of the people who post questions here are "totally new" to the administration of SMAUG. Keep this in mind. You are not alone in your quest to run a mud.

Quote:

Second thing being that I cleared that what was where and what I did. Even if i didnt fully put it and when asked i placed it on a post. Such as this below:
zips/tars - smaug1.4a
- smaug1.4a.sce
- smaug1.4a_mxp
stated perfectly that i had the file downloaded and was there.

The more specific you are about what you have did and what you have tried, the better. When coding and when using cygwin the problem could be as small as a period or even a capital 's' over a lowercase 's'. You can't assume we know exactly what you typed. But posting EXACTLY what you typed helps tremendously. The above only illustrates you downloaded the file. It doesn't say what directory you put it in or even what your current working directory was when you tried to untar it. Stop assuming and things will move smoother for you.

As for your compiling problem. You don't have a smaug.exe yet, because it is the product of a successful compilation. What happens when you type 'make' while you are in the smaug/src/directory? Also, you should never edit anything from the smaug distro with notepad. Notepad doesn't properly read or write a unix formatted file. There are a number of editors online that will edit a unix formatted file.

While in the smaug/src/ directory type 'make clean' then post the last 5-10 lines here.
[Go to top] top

Posted by Walker2   (19 posts)  [Biography] bio
Date Reply #14 on Sun 31 Aug 2003 01:45 PM (UTC)
Message
Okay, I can go back a bit and reinstall the makefile and redo that step. But as for an editor of it where could i find one? Have maybe a link to one or something?
[Go to top] 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.


18,577 views.

This is page 1, subject is 3 pages long: 1 2  3  [Next page]

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]