You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/apache/trafficserver.git
cd trafficserver
autoreconf -if
./configure --enable-cppapi --prefix=/usr/local/trafficserver-git-master
make
sudo make install
but, not found /usr/local/trafficserver-git-master/bin/tsxs. Then,
./configure --prefix=/usr/local/trafficserver-git-master
make
sudo make install
installed bin/tsxs and related binary.
Then, build ts_mruby after downloading mruby.
cd ts_mruby
autoreconf -if
./configure --with-ts-prefix-root=/usr/local/trafficserver-git-master/ --with-mruby-root=../mruby/
make build_mruby
make
But, a below error occurred.
$ make
/usr/local/trafficserver-git-master/bin/tsxs -I/usr/local/trafficserver-git-master/include -I../mruby/include -L/usr/local/trafficserver-git-master/lib/ts -L/usr/local/trafficserver-git-master/lib -L/home/matsumotory/DEV/mruby/build/host/lib -latscppapi -lmruby -lm -lreadline src/ts_mruby_*.cpp src/ts_mruby.cpp
compiling src/ts_mruby_core.cpp -> src/ts_mruby_core.lo
In file included from /usr/local/trafficserver-git-master/include/atscppapi/Transaction.h:30:0,
from src/ts_mruby_core.cpp:13:
/usr/local/trafficserver-git-master/include/atscppapi/shared_ptr.h:28:26: fatal error: ink_autoconf.h: No such file or directory
#include "ink_autoconf.h"
^
compilation terminated.
tsxs: compilation failed: c++ -I/usr/local/trafficserver-git-master/include -I/usr/local/trafficserver-git-master/include -I../mruby/include -std=c++11 -g -pipe -Wall -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -mcx16 -fpic -c src/ts_mruby_core.cpp -o src/ts_mruby_core.lo
make: *** [ts_mruby.la] Error 1
The text was updated successfully, but these errors were encountered:
To fix it quickly, please copy this header file from src directory of trafficserver to your destination directory(In this case, /usr/local/trafficserver-git-master/ ).
My environment is Ubuntu 14.04 64bit.
FIrst, build trafficserver.
but, not found
/usr/local/trafficserver-git-master/bin/tsxs
. Then,installed
bin/tsxs
and related binary.Then, build ts_mruby after downloading mruby.
But, a below error occurred.
The text was updated successfully, but these errors were encountered: