Jump to content
  • 0

Erro rathena ./configure --enable-64bit


Badarosk0

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

I have a problem when compiling rathena in dedicated server CENTOS 6 server 64 bit. The following error is returning when I compile.

[spoiler=Erro configure][email protected] [~/emulador]# ./configure --enable-64bit

checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/teste/emulador':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details



How to solve this problem? Thank you.

Edited by badarosko1
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi badarosko1,

 

You need to install gcc in order to compile.

yum -y install gcc
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

On 30/09/2013 at 10:08 PM, Asura said:

Hi badarosko1,

 

You need to install gcc in order to compile.


yum -y install gcc

 

On 20/10/2013 at 10:59 PM, Dev Blaze said:

Install first gcc Edward is correct 

 

yum -y install gcc

 

or

 

yum install subversion make gcc mysql-devel pcre-devel zlib-devel

I use CentOS and I decided to do this:
 

scl enable devtoolset-4 bash
which gcc
gcc --version
./configure --enable-debug=gdb
ulimit -c unlimited
make server


Now one problem I'm having is when to turn on gdb. I am doing this:

gdb map-server
run



The problem is that it seems to me that it only binds the map-server and does not connect char and login. I get the error at the end of the build:

[Error]: make_connection: connect failed (socket #11, error 111: Connection refused)!

Is there any way to connect all 3 at once? How do I enable debug gdb? I searched everywhere and did not find anything.
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

Install first gcc Edward is correct 

 

yum -y install gcc

 

or

 

yum install subversion make gcc mysql-devel pcre-devel zlib-devel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...