Comments (5)
ApacheBench-ab# cat Makefile
all: libapr ab apr-skeleton
libapr:
make -C ./apr/ all
apr-skeleton: apr-skeleton.c
#gcc apr-skeleton.c -o apr-skeleton -I./apr/aprutil-build/include/apr-1/ -I./apr/apr-build/include/apr-1/ -L./apr/apr-build/lib/ -static -lapr-1 -Wl,-Bdynamic -lpthread -lc -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
gcc apr-skeleton.c -o apr-skeleton -I./apr/aprutil-build/include/apr-1/ -I./apr/apr-build/include/apr-1/ -L./apr/apr-build/lib/ -lapr-1 -lpthread -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
ab: ab.c ap_release.h
gcc ab.c ap_release.h -o ab -I./apr/aprutil-build/include/apr-1/ -I./apr/apr-build/include/apr-1/ -L./apr/apr-build/lib/ -L./apr/aprutil-build/lib/ -static -lapr-1 -laprutil-1 -Wl,-Bdynamic -lm -lc -lpthread -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
gcc ab.c ap_release.h -o ab -I./apr/aprutil-build/include/apr-1/ -I./apr/apr-build/include/apr-1/ -L./apr/apr-build/lib/ -L./apr/aprutil-build/lib/ -lapr-1 -laprutil-1 -lm -lpthread -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
clean:
make -C ./apr/ clean
rm ab apr-skeleton abMazhar
ApacheBench-ab# cat apr/Makefile
APR=apr-1.5.2
APRUTIL=apr-util-1.5.4
all:$(APR) $(APRUTIL) buildapr
$(APR):
#wget http://apache.techartifact.com/mirror//apr/$(APR).tar.gz
wget --no-check-certificate https://www.apache.org/dist/apr/$(APR).tar.gz
tar -xf $(APR).tar.gz
$(APRUTIL):
#wget http://apache.techartifact.com/mirror//apr/$(APRUTIL).tar.gz
wget --no-check-certificate https://www.apache.org/dist/apr/$(APRUTIL).tar.gz
tar -xf $(APRUTIL).tar.gz
buildapr:
cp Makefile_apr $(APR)
make -C $(APR) -f Makefile_apr
cp Makefile_aprutil $(APRUTIL)
make -C $(APRUTIL) -f Makefile_aprutil
clean:
rm -rf apr-*
rm -rf aprutil-*
from apachebench-ab.
http://apache.techartifact.com/ is down
+1
from apachebench-ab.
Except the site http://apache.techartifact.com where can download the apr source code.
from apachebench-ab.
I managed to build ab
from source by taking the upstream version from httpd: https://github.com/apache/httpd/blob/trunk/INSTALL
from apachebench-ab.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apachebench-ab.