Skip to content

Instantly share code, notes, and snippets.

@pkafei
Created February 4, 2013 21:54
Show Gist options
  • Save pkafei/4710056 to your computer and use it in GitHub Desktop.
Save pkafei/4710056 to your computer and use it in GitHub Desktop.
PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python -O -c "import _xapian"
PYTHONPATH=".:$PYTHONPATH" /usr/bin/python -O -c "import xapian"
make[3]: Leaving directory `/home/henbang/Trapit/xapian-bindings-1.2.13/python'
make[2]: Leaving directory `/home/henbang/Trapit/xapian-bindings-1.2.13/python'
Making all in perl
make[2]: Entering directory `/home/henbang/Trapit/xapian-bindings-1.2.13/perl'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/perl5/CORE -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c -o xapian_wrap.lo xapian_wrap.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/perl5/CORE -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o
xapian_wrap.cc:754:20: fatal error: EXTERN.h: No such file or directory
compilation terminated.
make[2]: *** [xapian_wrap.lo] Error 1
make[2]: Leaving directory `/home/henbang/Trapit/xapian-bindings-1.2.13/perl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/henbang/Trapit/xapian-bindings-1.2.13'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment