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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Errors Gallor

Errors Gallor

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


Pages: 1  2 

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #15 on Sun 04 Feb 2007 02:47 AM (UTC)
Message
This is actually very similar to the previous error; you are missing the development files for a library.

Go back into the package manager, and search for zlib. You will be looking for the zlib library's development files; the package happens to be called zlib1g-dev. (I'm not sure why they chose that particular name.) If the package zlib1g itself isn't installed either, you'll want to grab that.

By the way, I'm running Ubuntu myself, the Edgy Eft version. I've become fairly familiar with the system internals over the several months I've been running it, and in fact I ran into some of these issues myself (like the zlib one).

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Gothalyptic   (18 posts)  [Biography] bio
Date Reply #16 on Sun 04 Feb 2007 02:51 AM (UTC)
Message
Ok, installed zlib stuff via synaptics.

So far so good, more compiled than previously.

I'm curious though what clues you two found to know what libs I was missing... I know this isn't smaug related question but it's a newb linux question :P.


SMAUGfuss compiled with 0 errors now. I'm in business... not really, but figuratively.


You two rock major mud butt (and linux).

Thanks so much.
[Go to top] top

Posted by Gothalyptic   (18 posts)  [Biography] bio
Date Reply #17 on Sun 04 Feb 2007 02:53 AM (UTC)
Message
Ok maybe I'm not in business.

I do ./startup & and this is what it returns.

/Desktop/SmaugFUSS/src$ ./startup &
[1] 4001
jeremy@fuckoff:~/Desktop/SmaugFUSS/src$ bash: ./startup: /bin/csh: bad interpreter: No such file or directory


I can't telnet localhost 4000 it says unable to connect to localhost connection refused.
[Go to top] top

Posted by Gothalyptic   (18 posts)  [Biography] bio
Date Reply #18 on Sun 04 Feb 2007 03:03 AM (UTC)
Message
ah Ha! I th ink I got it... another lib wasn't installed haha.

I'm good for real this time, I was able to telnet in.

Thanks again guys!
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #19 on Sun 04 Feb 2007 03:04 AM (UTC)
Message
Well, this line tipped us off:
Quote:
In file included from comm.c:29:
mccp.h:18:18: error: zlib.h: No such file or directory

The fact that it couldn't find zlib.h means that you didn't have that package installed.


As for your new problem: go back into synaptic, and install the packages 'tcsh' and 'csh'. (They should be under the category "Shells", or you can always search for them.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #20 on Sun 04 Feb 2007 03:05 AM (UTC)
Message
Ah, I see that you figured it out -- great. :-)

Actually csh isn't a library, it's a shell. A shell is a program that takes commands and does something -- the console you type into is running a shell, probably bash. (Personally, I run zsh, which is similar to bash.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Indrid   (2 posts)  [Biography] bio
Date Reply #21 on Sat 06 Oct 2007 03:55 AM (UTC)

Amended on Sat 06 Oct 2007 03:56 AM (UTC) by Indrid

Message
Im haveing the exact same error, and have been trying to compile any codebase i can get my hands on, but every single one of them seem to error out.

gcc -c -O -g3 -Wuninitialized -DSMAUG act_move.c
act_move.c:393:15: warning: trigraph ??> ignored, use -trigraphs to enable
act_move.c: In function ‘generate_exit’:
act_move.c:604: error: invalid lvalue in assignment
make[1]: *** [act_move.o] Error 1
make[1]: Leaving directory `/home/edgar/Desktop/smaug/src'
make: *** [all] Error 2

is my make error from smaug.

forgot to mention:

Running Ubuntu fiesty fawn. (for now) the main machine ill prob be running it on will be opensuse or mepis 7 when its released.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #22 on Sat 06 Oct 2007 04:10 AM (UTC)
Message
Search for "invalid lvalue in assignment", I'm pretty sure this has been answered.

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

Posted by Indrid   (2 posts)  [Biography] bio
Date Reply #23 on Sat 06 Oct 2007 04:24 AM (UTC)
Message
I checked synaptic PM to check and it claims the zlib is installed.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #24 on Sat 06 Oct 2007 05:22 AM (UTC)
Message
I don't understand. I don't think that error has anything to do with zlib.

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

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #25 on Sun 07 Oct 2007 02:49 AM (UTC)
Message
This lvalue bit has indeed been answered many times, and has nothing to do with zlib. If you go back in the post history, I said the following about the original poster's lvalue problem:
Quote:
The invalid lvalue error has come up several times in these forums, I think a quick search should find it. (It has to do with newer versions of gcc being stricter and not allowing you to do things that aren't quite right.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[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.


48,056 views.

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

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 HostDash]