I recently just switched to a new dedicated server (going from CentOS to Ubuntu) and trying to get Anope installed onto the new server. But I keep encountering a few errors on the last bit of the configuration.
When Anope prompts me to enter make or gmake. I get the following error:
All done! Now run "make" (or possibly "gmake") to compile Anope.
See the INSTALL, README and FAQ files if you have any problems.
~/anope-1.7.8$ make
(cd lang ; make 'CFLAGS=-pipe -g -O2 -pthread -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl -l dl' 'LDFLAGS=' 'BINDEST=/home/irc/services' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include ' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/home/irc/service s' 'RUNGROUP=' 'MODULE_PATH=/home/irc/services/modules/' 'RDB=' 'MYSQL=' 'IRCDFILE=unreal31.c ' all language.h ; cp language.h ../include/)
make[1]: Entering directory `/home/irc/anope-1.7.8/lang'
gcc -pipe -g -O2 -pthread -export-dynamic langcomp.c -o langcomp
langcomp.c:118:7: error: conflicting types for âgetlineâ
/usr/include/stdio.h:675:20: note: previous declaration of âgetlineâ was here
make[1]: *** [langcomp] Error 1
make[1]: Leaving directory `/home/irc/anope-1.7.8/lang'
cp: cannot stat `language.h': No such file or directory
make: *** [language] Error 1
I'm running Unreal3.2.9. I also noticed Anope is asking me to select which version of IRC during configuration which never did this on CentOS.
Any advice or suggestions to what's wrong would be grateful.