Forum Moderators: phranque
Here's everything I did:
vps# mkdir /usr/local/apache
vps# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.33
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for FreeBSD 4.11 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
vps# make
"Makefile", line 333: Need an operator
"Makefile", line 566: Need an operator
make: fatal errors encountered -- cannot continue
$ cd /usr/ports/www/apache13
$ make install clean That's what I've always used before.
[freebsd.org...]
If you need to compile Apache yourself, you may need to use gmake instead of make. BSD make uses different syntax to GNU make.