Anope IRC Services

Anope Development => Modules => Topic started by: BigBen on February 04, 2008, 04:23:34 AM

Title: How can I get this module to compile right?
Post by: BigBen on February 04, 2008, 04:23:34 AM
Hi, been a long time coming here...

I'm tring to get this vhostserv module compiled.... But the steps that I have taken isn't working right...

I did cd anope-1.7.17
 wget http://modules.anope.org/download_module/QVFTTlYwTmxCUVI9/ircd_vhostserv.c

and did something like cd... cd... (which I saw in a post when searching around) and make module

------------------
$ cd anope-1.7.17
2008-02-03 23:18:39.942
2008-02-03 23:18:40.067
$ cd
2008-02-03 23:18:49.661
2008-02-03 23:18:49.786
$ cd anope-1.7.17/src/modules
2008-02-03 23:19:04.130
2008-02-03 23:19:04.349
$ make modules
2008-02-03 23:19:12.146
2008-02-03 23:19:12.286 make: *** No rule to make target `modules'.  Stop.
2008-02-03 23:19:12.536

2008-02-03 23:19:36.552
$ make module
2008-02-03 23:19:42.614
2008-02-03 23:19:42.755 make: *** No rule to make target `module'.  Stop.
2008-02-03 23:19:43.021
$ make modules
2008-02-03 23:19:47.661
2008-02-03 23:19:47.849 make: *** No rule to make target `modules'.  Stop.
2008-02-03 23:19:48.036
$ make module ircd_vhostserv.c.1
2008-02-03 23:20:09.239
2008-02-03 23:20:09.396 make: *** No rule to make target `module'.  Stop.
2008-02-03 23:20:09.552
---------------
Title:
Post by: Jobe on February 04, 2008, 03:08:00 PM
"Make modules" and "make install" are run from the anope-1.7.*/ directory and NOT the anope-1.7.*/src/modules directory

As your paste clearly shows you CD'ed to the src/modules dir first.

[Edited on 4-2-2008 by Jobe1986]