Page 1 of 1

make: Permission denied

Posted: Mon Feb 28, 2005 6:29 am
by Silver-enchat
i have installed Unrwal many times ... 3 times on our current FreeBSD Server... but now i am getting this error on Make:

Configuration summary
=====================

TRE is now configured as follows:

* Compilation environment

CC = gcc
CFLAGS = -g -O2 -Wall
CPP = gcc -E
CPPFLAGS =
LD = /usr/libexec/elf/ld
LDFLAGS =
LIBS =
Use alloca(): yes

* TRE options

Development-time debugging: no
System regex ABI compatibility: no
Wide character (wchar_t) support: no (disabled with --disable-wchar)
Multibyte character set support: no (disabled with --disable-multibyte)
Approximate matching support: yes
Build and install agrep: no

compiling TRE regex library
make: Permission denied
installing TRE regex library
make: Permission denied
ELF interpreter /libexec/ld-elf.so.1 not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/modules/Makefile
config.status: creating unreal
config.status: creating ircdcron/ircdchk
config.status: creating include/setup.h
config.status: include/setup.h is unchanged

[enchat@phoenix:~/Unreal3.2] $ make
Building src
gcc -I../include -I/home/psa/vhosts/enchatment.com/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic -c auth.c
In file included from auth.c:21:
../include/struct.h:68: tre/regex.h: No such file or directory
In file included from auth.c:21:
../include/struct.h:804: syntax error before `regex_t'
In file included from auth.c:21:
../include/struct.h:1210: syntax error before `regex_t'
../include/struct.h:1292: syntax error before `regex_t'
*** Error code 1

Stop in /usr/home/psa/vhosts/enchatment.com/Unreal3.2/src.
*** Error code 1

Stop in /usr/home/psa/vhosts/enchatment.com/Unreal3.2.
[enchat@phoenix:~/Unreal3.2] $


fyi ... pwd returns the following:
/home/psa/vhosts/enchatment.com/Unreal3.2

Please help if anyone Can ... ty
Silver

Posted: Mon Feb 28, 2005 6:31 am
by Stealth

Posted: Mon Feb 28, 2005 6:37 am
by Silver-enchat
ty for that reference, my Date is correct ....


i'm concerned about the Errors during ./Config

just at the end i see the following:

compiling TRE regex library
make: Permission denied
installing TRE regex library
make: Permission denied
ELF interpreter /libexec/ld-elf.so.1 not found

i think this is why the Make is failing ..

any ideas .?

Posted: Mon Feb 28, 2005 9:57 am
by Dukat

Posted: Mon Feb 28, 2005 8:48 pm
by codemastr
What version of Unreal is this?

Posted: Mon Feb 28, 2005 9:11 pm
by Silver-enchat
HISTOR of Problem:
./unreal stop command gave me a no permission error
so i Killed IRCD
i tried restarting it ./unreal start ..but got the no permission error
i figured the Kill Corupted Unreal
i then removed it completely
Re-Installed using unrealircd3.2.2b
Same Server and same unreal file that i used a week ago, and it worked fine
i am getting errors running the ./Config

i tried using an older version .. Unreal3.2.1.tar.gz
but same errors as version Unreal3.2.2b.tar.gz

here is what i have done:

[enchat@phoenix:~/Unreal3.2] $ rm -rf Unreal3.2
[enchat@phoenix:~/Unreal3.2] $ tar zxfv Unreal3.2.2b.tar.gz
[enchat@phoenix:~/Unreal3.2] $ cd Unreal3.2
[enchat@phoenix:~/Unreal3.2] $ ./Config

###ERRORS at end of ./Config output:

compiling TRE regex library
make: Permission denied
installing TRE regex library
make: Permission denied
ELF interpreter /libexec/ld-elf.so.1 not found ( i checked .. file is there )
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/modules/Makefile
config.status: creating unreal
config.status: creating ircdcron/ircdchk
config.status: creating include/setup.h

Next step is to run make
here is the make output:

[enchat@phoenix:~/Unreal3.2] $ make
Building src
gcc -I../include -I/home/psa/vhosts/enchatment.com/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic -c auth.c
In file included from auth.c:21:
../include/struct.h:68: tre/regex.h: No such file or directory
In file included from auth.c:21:
../include/struct.h:804: syntax error before `regex_t'
In file included from auth.c:21:
../include/struct.h:1210: syntax error before `regex_t'
../include/struct.h:1292: syntax error before `regex_t'
*** Error code 1

Stop in /usr/home/psa/vhosts/enchatment.com/Unreal3.2/src.
*** Error code 1

Stop in /usr/home/psa/vhosts/enchatment.com/Unreal3.2.

#####help from Unreal Fourm is:
Check if your unreal root directory is writeable.

[enchat@phoenix:~] $ ls -a -l
total 6046
drwxr-x--x 19 enchat wheel 512 Feb 28 05:33 .
drwxr-x--x 27 root wheel 1024 Feb 22 14:51 ..
drwx------ 12 enchat wheel 1536 Feb 28 13:02 Unreal3.2

Thank you,
Silver (Michael)