Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: error with make install  (Read 6296 times)

0 Members and 1 Guest are viewing this topic.

childof

  • Guest
error with make install
« on: January 12, 2008, 10:09:18 AM »

hi,

when i configure anope without modules support no problem.
but when i try to set it up with modules support i have this error occuring when i make install it:

Code: [Select]
make[1]: Entering directory `/home/ichec/sd/irc/anope-1.6.5/modules'
ld -shared hs_moo.o -o hs_moo.so
ld: hs_moo.o: relocation R_X86_64_32 against `hs_moo_show' can not be used when making a shared object; recompile with -fPIC
hs_moo.o: ne peut lire les symboles: Bad value
make[1]: *** [hs_moo.s] Erreur 1
make[1]: Leaving directory `/home/ichec/sd/irc/anope-1.6.5/modules'
make: *** [install] Erreur 2


can somebody help me?

i've a Gentoo Base System version 1.6.14 and using unrealIRCd
Logged

adamluz

  • Anope User
  • Offline Offline
  • Posts: 1
Re: error with make install
« Reply #1 on: October 16, 2008, 09:47:31 PM »

Not sure if you still need help with this but here is what i did

I edited the Makefile


found the tag

MORE_CFLAGS = -Wall -g
and changed it to
MORE_CFLAGS = -Wall -g -fPIC

then I ran
make clean
make
make install

and it worked :)
Logged

Spike

  • Anope User
  • Offline Offline
  • Posts: 10
Re: error with make install
« Reply #2 on: October 22, 2008, 12:14:29 AM »

Not sure if you still need help with this but here is what i did

I edited the Makefile


found the tag

MORE_CFLAGS = -Wall -g
and changed it to
MORE_CFLAGS = -Wall -g -fPIC

then I ran
make clean
make
make install

and it worked :)



childof says he is a gentoo user. Assuming he used emerge to get anope, it won't allow him to edit Makefiles (unless you cancel the emerge process halfway and make your way to the temp work dir).

What you should be looking at is your /etc/make.conf where you could apply the changes that adamluz suggested. Documentation regarding this can be found on the gentoo website.
Logged

katsklaw

  • Guest
Re: error with make install
« Reply #3 on: October 22, 2008, 09:56:39 AM »

The *ONLY* official place to get Anope is from anope.org. We do *NOT* support versions that are rpm'ed, emerged, yum'ed or retrieved for any other site by any other means other than downloading from our sf repository. Anope is NOT designed or intended to be run or installed by root!! Only from a users directory and only by a non-root user.

If you "emerged" it you need to seek assistance from the person that maintains the Gentoo package, not here! Anope doesn't support packages submitted to distributions.

We also do NOT support editing anything!! This includes Makefiles.
Logged
Pages: [1]   Go Up