sudo ./configure --enable-geoip --enable-utf8
Password:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pthread_create in -lpthread... yes
checking for GeoIP_new in -lGeoIP... yes
checking for mvaddwstr in -lncursesw... no
configure: error: *** Missing development libraries for ncursesw
Mac OS x 10.9.2
@solarcellsky do you know if ncursesw is in the ports tree? have you tried without --enable-utf8?
./configure --enable-geoip
just following on this, were you able to install it with wide-character/UTF-8 support?
You may also want to try using $ brew install goaccess
Closing this, feel free to reopen it if necessary.
No it did not work for me either..
even without --enable-utf8
Are you getting the same error? Also, are you able to run any other ncurses-based program? You may need to install it through brew.
I'm having the same problem on Ubuntu 14.04 with ncurses-dev installed.
Was able to compile without --enable-utf8
To use --enable-utf8 you need to install ncursesw. The following should do it in Ubuntu:
sudo apt-get install libncursesw5-dev
Oh, thanks a lot. That solved it!
Thx!
I'm on debian 7, I had to install apt-get install libncurses5-dev to make it work.
I had same problem, but I figure it out that I didn't have geoIP Library. So, I found this site and install the library. (My server is centOS)
http://www.spidersoft.com.au/2012/how-to-install-geoip-extension-on-centos/
yum install GeoIP-devel
and after install this library, I commanded,
sudo ./configure --enable-geoip
then Makefile was created (not Makefile.in or Makefile.am), and I could execute the command "make" !
hope somebody get help from this comment!
thanks.
apt-get install libgeoip-dev
apt-get install libncurses5-dev
Please use libncursesw5-dev. Table here
# apt get install libncursesw5-dev libgeoip-dev
I'm using Centos 6.6 and when I tried to install GeoIP-devel it is showing dependency for Geo-IP. But after downlaoding it,it is again asking for GeoIP-data and when I tried GeoIP-data it is asking for Geo-IP.
Please Help.Thanks in advance.
@Wislow You need to also pull the ncurses-devel
yum install ncurses-devel
For Ubuntu sudo apt-get install libgeoip-dev

I'd be grateful if anyone can help Me.
@ustcltx Seems like you are building from development? In any event, usually you have to do autoreconf again after installing any dep, please run:
$ sudo autoreconf -fiv
$ ./configure --enable-geoip --enable-utf8
yum install geoip
for me on centos6 it worked with this: sudo yum install ncurses-devel
apt-get install libgeoip-dev
apt-get install libncurses5-dev
many thank ^^
What is the difference between
sudo apt update
sudo apt install libncurses5-dev
and
sudo apt update
sudo apt install libncursesw5-dev
?
Maybe: https://github.com/avanov/ansible-galaxy-pyenv/issues/44
@thachnv92 libncursesw5 - shared libraries for terminal handling (wide character legacy version).
What is a wide character?
Most helpful comment
To use
--enable-utf8you need to installncursesw. The following should do it in Ubuntu: