Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Getting error when I type "make" or "gmake"  (Read 8390 times)

0 Members and 1 Guest are viewing this topic.

lola

  • Anope User
  • Offline Offline
  • Posts: 4
Getting error when I type "make" or "gmake"
« on: July 15, 2012, 12:18:42 AM »

Hey guys I'm using Shellmix shell and after i download anope-1.8.7,tar it and config it, i have to type make but when i type make or gmake i get this errors:

death(at)shellmix ~/anope-1.8.7> make
(cd lang ; make 'CFLAGS=-pipe -g -O2 -I/usr/local/include/mysql  -pipe  -fno-strict-aliasing -export-dynamic' 'CC=gcc' 'ANOPELIBS='  'LDFLAGS=-L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm' 'BINDEST=/homex/death/services' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp'  'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/homex/death/services'  'RUNGROUP=' 'MODULE_PATH=/homex/death/services/modules/' 'RDB=rdb.c' 'MYSQL=mysql.c' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all language.h ; )
`language.h' is up to date.
(cd include ; make 'CFLAGS=-pipe -g -O2 -I/usr/local/include/mysql  -pipe  -fno-strict-aliasing -export-dynamic' 'CC=gcc' 'ANOPELIBS='  'LDFLAGS=-L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm' 'BINDEST=/homex/death/services' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp'  'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/homex/death/services'  'RUNGROUP=' 'MODULE_PATH=/homex/death/services/modules/' 'RDB=rdb.c' 'MYSQL=mysql.c' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' )
*** Building src
make: don't know how to make ../include/language.h. Stop
*** Error code 2
----------------------------------------------------------------------------------
death(at)shellmix ~/anope-1.8.7> gmake
(cd lang ; gmake 'CFLAGS=-pipe -g -O2 -I/usr/local/include/mysql  -pipe  -fno-strict-aliasing -export-dynamic' 'CC=gcc' 'ANOPELIBS=' 'LDFLAGS=-L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm' 'BINDEST=/homex/death/services' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/homex/death/services' 'RUNGROUP=' 'MODULE_PATH=/homex/death/services/modules/' 'RDB=rdb.c ' 'MYSQL=mysql.c ' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all language.h ; )
gmake[1]: Entering directory `/homex/death/anope-1.8.7/lang'
gmake[1]: Nothing to be done for `all'.
gmake[1]: `language.h' is up to date.
gmake[1]: Leaving directory `/homex/death/anope-1.8.7/lang'
(cd include ; gmake 'CFLAGS=-pipe -g -O2 -I/usr/local/include/mysql  -pipe  -fno-strict-aliasing -export-dynamic' 'CC=gcc' 'ANOPELIBS=' 'LDFLAGS=-L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm' 'BINDEST=/homex/death/services' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/homex/death/services' 'RUNGROUP=' 'MODULE_PATH=/homex/death/services/modules/' 'RDB=rdb.c ' 'MYSQL=mysql.c ' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' )
gmake[1]: Entering directory `/homex/death/anope-1.8.7/include'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/homex/death/anope-1.8.7/include'
*** Building src
gmake[1]: Entering directory `/homex/death/anope-1.8.7/src'
gmake[1]: *** No rule to make target `../include/language.h', needed by `actions.o'.  Stop.
gmake[1]: Leaving directory `/homex/death/anope-1.8.7/src'
gmake: *** [build] Error 2

thats all the error that i get from "make" and "gmake", help please.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Getting error when I type "make" or "gmake"
« Reply #1 on: July 15, 2012, 01:35:45 PM »

Please paste everything you typed from tar all the way through to this point.

Did you use ./Config ?
Logged

lola

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Getting error when I type "make" or "gmake"
« Reply #2 on: July 25, 2012, 04:32:49 AM »

Ok heres a pastebin of everything http://pastebin.com/6gY1YA4f  and yes I did ./Config
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Getting error when I type "make" or "gmake"
« Reply #3 on: July 25, 2012, 04:36:15 AM »

Do you have perl? perl --version
Logged

lola

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Getting error when I type "make" or "gmake"
« Reply #4 on: July 25, 2012, 04:40:25 AM »

I don't think so. I sent a request already to get perl but they haven't replied me yet.

death(at)shellmix ~> perl --version
/usr/bin/perl: Permission denied.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Getting error when I type "make" or "gmake"
« Reply #5 on: July 25, 2012, 04:43:30 AM »

A workaround is build it on a different machine and then copy include/language.h over
Logged

lola

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Getting error when I type "make" or "gmake"
« Reply #6 on: July 25, 2012, 04:45:52 AM »

You mean that I should try to make it on other shell? and then then copy the /language.h to shellmix?
Logged
Pages: [1]   Go Up