Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: compile Problems  (Read 3781 times)

0 Members and 1 Guest are viewing this topic.

Flo

  • Anope User
  • Offline Offline
  • Posts: 10
compile Problems
« on: June 03, 2009, 01:21:53 PM »

Hello, i got some errors during the compile.

first after the "./Config"
is doing "make"
Quote
epona2anope.c:521: warning: ignoring return value of âfwriteâ, declared with attribute warn_unused_result
make[1]: Leaving directory `/home/irc-service/src/tools'
*** All done, now (g)make install to install Anope/Modules/Tools
(cd src/modules ; ./configure ; make 'CFLAGS=-pipe -g -O2 -I/usr/include/mysql -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl ' 'LDFLAGS=-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto' '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-services' 'RUNGROUP=' 'MODULE_PATH=/home/irc-services/modules/' 'RDB=rdb.c ' 'MYSQL=mysql.c ' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all; )
/bin/sh: ./configure: Permission denied
make[1]: Entering directory `/home/irc-service/src/modules'
make[1]: Leaving directory `/home/irc-service/src/modules'
*** All done, now (g)make install to install Anope/Modules

"configure" got alle permissions (0777) and is owned correctly by user of this current directory
Why he gives me "Permission denied"?

second is (i guess it results from the "permission denied" of the configure, but not sure)
after typing the "make install"
Quote
ln /home/irc-services/services /home/irc-services/listchans
(cd ../lang ; make install)
make[2]: Entering directory `/home/irc-service/lang'
test -d /home/irc-services/languages || mkdir /home/irc-services/languages
make[2]: Leaving directory `/home/irc-service/lang'
/bin/cp ../data/* /home/irc-services
/usr/bin/install bin/mydbgen /home/irc-services/mydbgen
test -d /home/irc-services/backups || mkdir /home/irc-services/backups
test -d /home/irc-services/logs || mkdir /home/irc-services/logs
make[2]: Entering directory `/home/irc-service/src/modules'
/bin/cp ./*.so /home/irc-services/modules/
/bin/cp: cannot stat `./*.so': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/irc-service/src/modules'
make[2]: Entering directory `/home/irc-service/src/protocol'
/bin/cp ./*.so /home/irc-services/modules/
/bin/cp: cannot stat `./*.so': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/irc-service/src/protocol'
make[2]: Entering directory `/home/irc-service/src/core'
/bin/cp ./*.so /home/irc-services/modules/
/bin/cp: cannot stat `./*.so': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/irc-service/src/core'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/irc-service/src'
make: *** [install] Error 2

So this is a "Root-Server" with Linux SuSe 10 dualcore, mysql5.
I loaded Anope 1.8.0

Need help!
« Last Edit: June 03, 2009, 04:41:53 PM by Flo »
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: compile Problems
« Reply #1 on: June 03, 2009, 05:04:55 PM »

Check who owns "configure". It could be that you aren't the owner.
Logged

Stanko

  • Anope User
  • Offline Offline
  • Posts: 2
Re: compile Problems
« Reply #2 on: June 03, 2009, 05:19:02 PM »

Yes I had the same problem.
Was running it as a group user and didn't have full permissions. Updating to superuser/administrator or changing permissions of the folders will make it work.
Logged

Flo

  • Anope User
  • Offline Offline
  • Posts: 10
Re: compile Problems
« Reply #3 on: June 03, 2009, 07:47:13 PM »

i tried to run make as the owner "unreal-irc" ( logged in as root and used "su" )
and i tried it as root and every get "Permission denied" =(

just for your information:
directory tree looks like

/over-ordered<--owns root got "0755"
             |____/unreal-irc/ <---owns "unreal-irc" got "0700" and is home-directory of "unreal-irc"
             |____/irc-service(source) <----owns "unreal-irc" got "0777"
             |____/irc-services(destination) <---owns "unreal-irc" got "0775"
« Last Edit: June 03, 2009, 07:59:25 PM by Flo »
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: compile Problems
« Reply #4 on: June 04, 2009, 08:18:00 AM »

Can you get the output of "ls -l configure" please?
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Flo

  • Anope User
  • Offline Offline
  • Posts: 10
Re: compile Problems
« Reply #5 on: June 04, 2009, 02:31:20 PM »

Quote
-rwxrwxrwx 1 unreal-irc root 258567 Dec 31 20:41 configure
Logged

Flo

  • Anope User
  • Offline Offline
  • Posts: 10
Re: compile Problems
« Reply #6 on: June 07, 2009, 03:00:39 PM »

I got it. "configure" couldnt use/write/execute the src-files in /src cause they just had rw r r. so i used "chmod -R 755 /home/irc-service/ " to change and make/gmake wroks fine =)
Logged
Pages: [1]   Go Up