mysql_fdw
mysql_fdw copied to clipboard
cannot install on Ubuntu 22.04
Hi
I have tried to install this by following your instructions, but I get this error:
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I/usr/include/mysql -D _MYSQL_LIBNAME="libmysqlclient.so" -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o connection.o connection.c
make: gcc: No such file or directory
make: *** [
the path looks like: /etc/postgresql/15/main:/etc/mysql:/etc/mysql/conf.d:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
I'm not sure what I am missing here - your help would be appreciated
thanks!
Hi @DavidBuch1,
From the error looks like gcc
is not available at your side. Please install gcc and make sure that gcc binary path is added into PATH variable.
Please try this and let us know feedback.