Skip to content
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

cannot install on Ubuntu 22.04 #283

Open
DavidBuch1 opened this issue Dec 8, 2023 · 1 comment
Open

cannot install on Ubuntu 22.04 #283

DavidBuch1 opened this issue Dec 8, 2023 · 1 comment

Comments

@DavidBuch1
Copy link

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: *** [: connection.o] Error 127

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!

@surajkharage19
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants