Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: make: Permission denied  (Read 5474 times)

0 Members and 1 Guest are viewing this topic.

Lyhne1

  • Anope User
  • Offline Offline
  • Posts: 2
make: Permission denied
« on: June 24, 2008, 04:29:27 AM »

Could anyone tell me why I keep have this problem? I have went step by step. This is my first time try setup IRCD. I have been IRCop for many years and now I'm ready to advance myself to next level. Any help would be awesome.

|:(

 [size=-1]
Code: [Select]

Searching for a suitable compiler... (cached) using gcc.
Compiler flags: (cached) -O2 -D_REENTRANT -I/usr/local/include
Let's see what libraries are lying around... (cached) -pthread -L/usr/local/lib/mysql -lmysqlclient -lz
has RTLD_LOCAL
Looking for OS specific needs...
Looking for a 16-bit integer type... (cached) short
Looking for a 32-bit integer type... (cached) int
Checking for presence of include files (it's okay if some aren't there):
    strings.h... (cached) present
    sys/select.h... (cached) present
    sys/sysproto.h... (cached) present
Seeing if your system defines int16/int32... not found (this is good).
Figuring out how to call gethostbyname_r on your system... (cached) with 6 parameters.
How to complain when something goes wrong... (cached) strerror().
Looking for other routines we want that you don't have... (cached) none
Checking how to install files... (cached) this system's "install" works.
Checking how to copy directories... (cached) /bin/cp -pr
Creating sysconf.h... done.
Creating Makefile.inc... done.
Saving configuration results in config.cache... done.

All done!  Now run "make" (or possibly "gmake") to compile Services.
See the INSTALL, README and FAQ files if you have any problems.
[blacklotus.irc@zoidberg ~/anope-1.6.5]$ "make"
make: Permission denied
[blacklotus.irc@zoidberg ~/anope-1.6.5]$ make
make: Permission denied
[blacklotus.irc@zoidberg ~/anope-1.6.5]$
touch services.h
sh version.sh
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c actions.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c botserv.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c channels.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c chanserv.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c commands.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c compat.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c converter.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c config.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c datafiles.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c encrypt.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c hostserv.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c init.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c language.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c list.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c log.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c mail.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c main.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c memory.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c memoserv.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c messages.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c misc.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c news.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c nickserv.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c operserv.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c process.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c protocol.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c proxy.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c send.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c sessions.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c slist.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c sockutil.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c timeout.c
gcc  -O2 -D_REENTRANT -I/usr/local/include -Wall -g -c users.c
gcc  actions.o botserv.o channels.o chanserv.o commands.o compat.o converter.o config.o datafiles.o encrypt.o helpserv.o hostserv.o init.o language.o list.o log.o mail.o main.o memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o process.o protocol.o proxy.o send.o sessions.o slist.o sockutil.o timeout.o users.o  rdb.o mysql.o -pthread -L/usr/local/lib/mysql -lmysqlclient -lz -rdynamic -o services
(cd lang ; gmake CFLAGS=" -O2 -D_REENTRANT -I/usr/local/include -Wall -g")
gmake[1]: Entering directory `/home2/blacklotus.irc/anope-1.6.5/lang'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home2/blacklotus.irc/anope-1.6.5/lang'
All done!  Now run "make" (or possibly "gmake") to compile your modules.
See the INSTALL, README and FAQ files if you have any problems.
gmake[1]: Entering directory `/home2/blacklotus.irc/anope-1.6.5/modules'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home2/blacklotus.irc/anope-1.6.5/modules'
Now run "gmake install" to install Services.
[blacklotus.irc@zoidberg ~/anope-1.6.5]$ gmake install
(cd lang ; gmake CFLAGS=" -O2 -D_REENTRANT -I/usr/local/include -Wall -g")
gmake[1]: Entering directory `/home2/blacklotus.irc/anope-1.6.5/lang'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home2/blacklotus.irc/anope-1.6.5/lang'
install -g blacklotus.irc -m 750 services make/services
rm -f make/listnicks make/listchans
ln make/services make/listnicks
ln make/services make/listchans
(cd lang ; gmake install)
gmake[1]: Entering directory `/home2/blacklotus.irc/anope-1.6.5/lang'
mkdir -p make/languages
chgrp blacklotus.irc make/languages
chmod 770 make/languages
cp cat de en_us es fr gr nl pt tr it ru make/languages
chgrp blacklotus.irc make/languages/*
chmod 660 make/languages/*
gmake[1]: Leaving directory `/home2/blacklotus.irc/anope-1.6.5/lang'
/bin/cp -pr data/* make
test -d make/backups || mkdir make/backups
test -d make/logs || mkdir make/logs
gmake[1]: Entering directory `/home2/blacklotus.irc/anope-1.6.5/modules'
ld -shared hs_moo.o -o hs_moo.so
ld -shared ircd_catserv.o -o ircd_catserv.so
/bin/cp -pr ./*.so make/modules/
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... target_directory
gmake[1]: *** [install] Error 64
gmake[1]: Leaving directory `/home2/blacklotus.irc/anope-1.6.5/modules'
gmake: *** [install] Error 2
[blacklotus.irc@zoidberg ~/anope-1.6.5]$

[/size]|:(


THank's

[Edited on 23-6-2008 by Lyhne1]
Logged

Lyhne1

  • Anope User
  • Offline Offline
  • Posts: 2
(No subject)
« Reply #1 on: June 24, 2008, 04:48:28 AM »

Code: [Select]
[blacklotus.irc@zoidberg ~/anope-1.6.5]$ make
(cd lang ; make CFLAGS=" -O2 -D_REENTRANT -I/usr/local/include -Wall -g")
"Makefile", line 18: Need an operator
"Makefile", line 21: Need an operator
"Makefile", line 23: Need an operator
"Makefile", line 25: Need an operator
"Makefile", line 26: warning: duplicate script for target "ifdef" ignored
"Makefile", line 27: warning: duplicate script for target "ifdef" ignored
"Makefile", line 28: Need an operator
"Makefile", line 30: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /home2/blacklotus.irc/anope-1.6.5.
Logged
Pages: [1]   Go Up