Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Compile Error #2127

Closed
rofasindo opened this issue May 8, 2017 · 16 comments
Closed

Linux Compile Error #2127

rofasindo opened this issue May 8, 2017 · 16 comments

Comments

@rofasindo
Copy link

@rofasindo rofasindo commented May 8, 2017

Compile error, I'm using Linux Centos 6 32Bit with latest git rAthena today 2017/05/08 (svn 19694), error ./configure and cannot command make server

checking whether byte ordering is bigendian... yes
configure: error: bigendian is not supported... stopping

[root@vultr server]# make server
make: *** No rule to make target `server'. Stop.

error compile 1
error compile 2

@Jeybla
Copy link
Contributor

@Jeybla Jeybla commented May 8, 2017

Please retry it by using ./configure --disable-64bit

@rofasindo
Copy link
Author

@rofasindo rofasindo commented May 8, 2017

@Jeybla it same, problem on here

checking whether byte ordering is bigendian... yes
configure: error: bigendian is not supported... stopping

@Jeybla
Copy link
Contributor

@Jeybla Jeybla commented May 8, 2017

Mh.. This eventually is caused by 4a004ad .
Related: https://github.com/bitcoin/bitcoin/issues/5177
@secretdataz may has more info about this issue.

You could try to checkout a3282c1 .

@secretdataz
Copy link
Member

@secretdataz secretdataz commented May 8, 2017

Adding -fpermissive to the CXXFLAG define in src/common/Makefile.in could be a workaround.

@rofasindo
Copy link
Author

@rofasindo rofasindo commented May 8, 2017

adding like this?

CXXFLAG =-std=c++11-fpermissive

still not work, while I have try to ./configure --disable-64bit or ./configure and same error on

configure: error: bigendian is not supported... stopping

@secretdataz
Copy link
Member

@secretdataz secretdataz commented May 8, 2017

CXXFLAG =-std=c++11 -fpermissive

@rofasindo
Copy link
Author

@rofasindo rofasindo commented May 8, 2017

@secretdataz still same, configure not working.

@secretdataz
Copy link
Member

@secretdataz secretdataz commented May 8, 2017

@rofasindo Can you try installing g++ package?

@rofasindo
Copy link
Author

@rofasindo rofasindo commented May 8, 2017

@secretdataz thank you, just missing g++ package. Now fix, I can configure and make server. thanks again.

@yerunkar11
Copy link

@yerunkar11 yerunkar11 commented Oct 7, 2017

I am facing the same on centos, this time i have an gcc-c++ package installed.

@NandoPrates
Copy link

@NandoPrates NandoPrates commented Oct 19, 2017

i too same error in centos 6 but have Package gcc-c++-4.4.7-18.el6.x86_64 already installed and latest version

@NandoPrates
Copy link

@NandoPrates NandoPrates commented Oct 19, 2017

$ cat /etc/centos-release
CentOS release 6.7 (Final)

$ sudo yum install centos-release-scl
$ sudo yum install devtoolset-3-toolchain
$ scl enable devtoolset-3 bash

$ gcc --version
gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
...

$ g++ --version
g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
...

$ gfortran --version
GNU Fortran (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)
...

@NandoPrates
Copy link

@NandoPrates NandoPrates commented Oct 19, 2017

sudo yum install centos-release-scl
sudo yum install devtoolset-4-gcc*
scl enable devtoolset-4 bash
which gcc
gcc --version

for gcc 5.3.1

@lighta
Copy link
Member

@lighta lighta commented Oct 26, 2017

Did you manage to fix it @NandoPrates ?
Please try to rebuild the configure scripts. ie:
mv ./configure ./configure.bkp
autoconf ./configure.in > ./configure && chmod +x ./configure
./configure

Note:
From forum it seen it need : "yum install gcc-c++"
cf : https://rathena.org/board/topic/111058-error-linux-compile/

Let me know the result.
@Akkarinage how do I make that stupid code spinnet to not remove my whitespace nor newline ? grr

@Lemongrass3110
Copy link
Member

@Lemongrass3110 Lemongrass3110 commented Oct 26, 2017

@lighta use three ticks. ```

@Akkarinage
Copy link
Member

@Akkarinage Akkarinage commented Oct 28, 2017

I mean.. for starters, tell users to install GCC5 and G++5, like to we do on the forums for similar issues. CentOS 6 is unable to install version 5 of these tools as their repo doesn't have access to them by default, and there's no reason why users shouldn't be upgrading to CentOS 7 in order to access these packages anyway. We have these guides on the wiki.

@rathena rathena locked and limited conversation to collaborators Oct 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants