install erreur

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
berdes1
Peon
Peon
Posts: 3
Joined: 02 May 2008, 08:33

install erreur

Post by berdes1 »

Hello,
when I install tmw, I have this message of error:
gui/chatinput.h:29:37: erreur: guichan/focuslistener.hpp : Aucun fichier ou répertoire de ce type
gui/chatinput.h:35: erreur: expected class-name before «{" token
make[2]: *** [tmw-chat.o] Erreur 1
make[2]: quittant le répertoire « /home/bernard/Desktop/tmw-0.0.24/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/bernard/Desktop/tmw-0.0.24 »
make: *** [all] Erreur 2
What I must make to solve it?
Thank you
Berdes1er

PS: I am French and I am not sure that translation is good...
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: install erreur

Post by Bjørn »

Please make sure errors are reported in English before posting them here. If I remember correctly, you can do this by typing "export LANG=C" in your console before running the "make" command.

Since the error is about the guichan/focuslistener.hpp, introduced with Guichan 0.7, I suspect you're trying to compile 0.0.24 against Guichan 0.6. The 0.0.24 only works with Guichan 0.7 (so not with 0.8 either). Please note that there is a small update available as version 0.0.24.1.
User avatar
Shaggy
Novice
Novice
Posts: 132
Joined: 22 Apr 2008, 12:56
Location: Liverpool, England

Re: install erreur

Post by Shaggy »

Why does ./configure not check the version of guichan, then?
Enjoyed The Mana World? Then check out Aethyra (http://www.aethyra.com).
berdes1
Peon
Peon
Posts: 3
Joined: 02 May 2008, 08:33

Re: install erreur

Post by berdes1 »

Ok, I have installed The Mana world, but when I start tmw I have this error :
bernard@matthias-desktop:~$ tmw
Error: Couldn't load imageset!
bernard@matthias-desktop:~$
help me please
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: install erreur

Post by Crush »

Please post the content of the file "tmw.log" which can be found in the directory ".tmw" in your home directory (your filebrowser may hide the ".tmw" directory because a "." in front of a filename means that it is a hidden file).
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Re: install erreur

Post by Platyna »

berdes1
Peon
Peon
Posts: 3
Joined: 02 May 2008, 08:33

Re: install erreur

Post by berdes1 »

when I type : ./configure --prefix=$HOME/tmw
after : export CPPFLAGS="$CPPFLAGS -I$HOME/tmw/include"

I have this error : checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: WARNING: Cache variable ac_cv_env_LDFLAGS_value contains a newline.

Help me please
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: install erreur

Post by Bjørn »

Shaggy wrote:Why does ./configure not check the version of guichan, then?
Because so far we haven't been able to write such a check.
berdes1 wrote:
when I type : ./configure --prefix=$HOME/tmw
after : export CPPFLAGS="$CPPFLAGS -I$HOME/tmw/include"

I have this error : checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: WARNING: Cache variable ac_cv_env_LDFLAGS_value contains a newline.

Help me please
You're probably missing some of the dependencies, which is the first thing Platyna mentions in her post.
User avatar
Sanga
Novice
Novice
Posts: 70
Joined: 16 Mar 2008, 21:57

Re: install erreur

Post by Sanga »

berdes1 wrote:
when I type : ./configure --prefix=$HOME/tmw
after : export CPPFLAGS="$CPPFLAGS -I$HOME/tmw/include"

I have this error : checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: WARNING: Cache variable ac_cv_env_LDFLAGS_value contains a newline.

Help me please
That "... C++ compiler cannot create executables" message indicates that there's a serious problem with your build system.

If you're Debian Linux or one of it's derivatives (such as Ubuntu), try installing the "build-essential" package. ("sudo apt-get install build-essential" in a terminal window, or use the package manager of your choice). Doing this should correct this problem.
Post Reply