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
Error in using pkg-config with gcc in fish #1947
Comments
See #982 - you need to add |
When I use a normal user I try:
The output is : sudo: eval: command not found |
If you want to do it that way, use |
What's mystifying to me is why the |
yeah , the source code is located at /opt/xxx, so I have to have root priveledge |
I think there's nothing for fish to do here. The issues with pkg-config are well known. Please comment if you think there's more to do. |
I use fish shell on Arch Linux. I was trying to compile a c program using gtk library.But When I try to compile it using the following command in fish:
it shows the following errors:
gcc: error: unrecognized command line option ‘-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype ’
but when I switch to bash and run :
it works fine, could you help me with that?
The text was updated successfully, but these errors were encountered: