Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: problem compiling anope 1.7.20  (Read 2977 times)

0 Members and 1 Guest are viewing this topic.

fr1ul^h4ck

  • Guest
problem compiling anope 1.7.20
« on: January 11, 2008, 09:25:52 PM »

Hi. I need to install anope in my dedicated server. My box is an ubuntu 7.10 release. When i type ./configure everything it's ok. but when i type make to compile anope...

root@none:~/anope-1.7.20 # make
(cd lang ; make 'CFLAGS=-pipe -g -O2 -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl -lresolv  -ldl' 'LDFLAGS=' 'BINDEST=' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=' 'RUNGROUP=' 'MODULE_PATH=' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all language.h ; )
make[1]: Entering directory `/root/anope-1.7.20/lang'
make[1]: Nothing to be done for `all'.
make[1]: `language.h' is up to date.
make[1]: Leaving directory `/root/anope-1.7.20/lang'
(cd include ; make 'CFLAGS=-pipe -g -O2 -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl -lresolv  -ldl' 'LDFLAGS=' 'BINDEST=' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=' 'RUNGROUP=' 'MODULE_PATH=' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' )
make[1]: Entering directory `/root/anope-1.7.20/include'
touch services.h
sh version.sh
make[1]: Leaving directory `/root/anope-1.7.20/include'
*** Building src
make[1]: Entering directory `/root/anope-1.7.20/src'
gcc -pipe -g -O2 -export-dynamic -I../include/ -c actions.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c base64.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c botserv.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c channels.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c chanserv.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c commands.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c compat.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c config.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c datafiles.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c encrypt.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c events.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c helpserv.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c hostserv.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c init.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c ircd.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c language.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c list.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c log.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c mail.c
gcc -pipe -g -O2 -export-dynamic -I../include/ -c main.c
main.c:37: error: 'SERVICES_DIR' undeclared here (not in a function)
main.c: In function 'services_restart':
main.c:257: error: 'SERVICES_BIN' undeclared (first use in this function)
main.c:257: error: (Each undeclared identifier is reported only once
main.c:257: error: for each function it appears in.)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/root/anope-1.7.20/src'
make: *** [build] Error 2


can someone help me??
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: January 11, 2008, 10:26:21 PM »

you need to run the ./Config script .. not ./configure Also you should upgrade to 1.7.21 which contains a very important bugfix.
Logged

fr1ul^h4ck

  • Guest
(No subject)
« Reply #2 on: January 11, 2008, 11:05:24 PM »

ok. i upgraded with the new version, and now everything it's ok. anope is installed, but i don't know wht to do now ...
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #3 on: January 12, 2008, 09:38:41 AM »

what else? just enjoy anope :D
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.
Pages: [1]   Go Up