Re: [module] how do I compile a module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 18 Sep 2007 21:27:41 -0400
"Andrew WC Brown" <omen.king@xxxxxxxxx> wrote:

> I'm running OS X.4.10 with Apache 2.2.6

> I let apache2 install to /usr/local/apache2. When I run apache it
>works.

but ...

> I've tired to compile using: sudo apxs -c mod_vhost_alias.c
> 
> I get the following error:
> 
> gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os
> -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE

That's a very, very old apxs, and has nothing to do with your 2.2.6
installation.  Get rid of it, and use the one that got installed
under /usr/local/apache2.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux