compile error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compile error

zacNeon
hi

when i compile gst-plugins-good-1.8.1

but

autogen.sh --prefix=/opt/local
make

Error:
/opt/local/include/gstreamer-1.0/gst/gst-i18n-plugin.h:33:73:
                                     fatal error: gettext.h: No such
file or directory


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: compile error

Arjen Veenhuizen
I guess you are missing some dependencies, e.g. libc6-dev

sudo apt-get install libc6-dev
Reply | Threaded
Open this post in threaded view
|

Re: compile error

zacNeon


sudo apt-get install libc6-dev

i use fedora,
$ sudo dnf install libc6-dev
nothing !

so search google.
use glibc-devel-2.22-16

so, dnf install glibc-devel
Package glibc-devel-2.22-16.fc23.i686 is already installed

Reply | Threaded
Open this post in threaded view
|

Re: compile error

rachelgomez161999
In reply to this post by zacNeon
Compile errors can occur for a variety of reasons, but here are some general tips that may help you fix them:

Check your syntax: Make sure you've used the correct syntax for the language you're working in. Double-check your spelling, punctuation, and any special characters.

Look for missing or misplaced brackets, parentheses, or quotes: These can often cause errors in your code, so make sure they are all in the right place.

Check variable names and types: Make sure you've used the correct names for your variables and that they are of the correct type.

Check for missing or incomplete code: Make sure all of your code is present and complete. Sometimes, code can be accidentally deleted or not properly finished.

Check for conflicts with other code: If you're working with multiple files or libraries, make sure there are no conflicts between them that could be causing errors.

Use error messages to your advantage: Most compilers will provide error messages that can help you pinpoint the problem in your code. Use these messages to identify the issue and find a solution.

Use an IDE: An Integrated Development Environment (IDE) can often help you identify and fix errors more quickly than a plain text editor. Many IDEs will highlight errors as you type and provide suggestions for fixing them.

Ask for help: If you're still stuck, don't hesitate to ask for help from colleagues, forums, or online communities. Someone else may have encountered the same error and know how to fix it.

Regards,
Rachel Gomez