-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make error: bin/pico2wave.c:22:10: fatal error: popt.h: No such file or directory #8
Comments
Looks like you need the package that includes the header files. From looking at packages.debian.org it's probably called libpopt-dev https://packages.debian.org/search?searchon=contents&keywords=popt.h&mode=path&suite=stable&arch=any install that one and you'll have the popt.h header that you're missing. |
Actually picotts is packaged for Ubuntu; the package name is |
no problem |
On MacOS you may want to install popt via homebrew: |
On ubuntu 20.04 |
@oscar-lima yes it's works for me as well. |
I'm trying to install picotts on Raspberry pi 2B+, Raspian Buster.
I followed the readme.md up to ./configure. Then when I run make, I get the output:
~/picotts/pico $ sudo make gcc -DPACKAGE_NAME=\"svox\" -DPACKAGE_TARNAME=\"svox\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"svox\ 1.0\" -DPACKAGE_BUGREPORT=\"math.parent@gmail.com\" -D PACKAGE_URL=\"\" -DPACKAGE=\"svox\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SY S_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMOR Y_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Dpicolangdir=\"/usr/local /share/pico/lang\" -I lib -g -O2 -MT pico2wave-pico2wave.o -MD -MP -MF .deps/pic o2wave-pico2wave.Tpo -c -o pico2wave-pico2wave.o
test -f 'bin/pico2wave.c' || e cho './bin/pico2wave.cbin/pico2wave.c:22:10: fatal error: popt.h: No such file or directory
#include <popt.h> ^~~~~~~~
compilation terminated.
make: *** [Makefile:865: pico2wave-pico2wave.o] Error 1
`
If I try
$ apt install popt
, it says:Package popt is not available, but is referred to by another package This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libpopt0 libpopt-dev
I do have libpopt0 installed already.
The text was updated successfully, but these errors were encountered: