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

Build Instructions Fails To Build #2

Closed
jlpoolen opened this issue Jun 16, 2020 · 3 comments
Closed

Build Instructions Fails To Build #2

jlpoolen opened this issue Jun 16, 2020 · 3 comments

Comments

@jlpoolen
Copy link

jlpoole@taurus /usr/local/src $ git clone https://github.com/harshil1991/ffserver.git
Cloning into 'ffserver'...
remote: Enumerating objects: 48, done.
remote: Total 48 (delta 0), reused 0 (delta 0), pack-reused 48
Receiving objects: 100% (48/48), 6.45 MiB | 6.27 MiB/s, done.
Resolving deltas: 100% (20/20), done.
jlpoole@taurus /usr/local/src $ cd ffserver/
jlpoole@taurus /usr/local/src/ffserver $ ls
README.md buildFFServer.sh ffserver ffserver.c ffserver.conf ffserver.h
jlpoole@taurus /usr/local/src/ffserver $ ./buildFFServer.sh
In file included from ffserver.c:20:
ffserver.h:35:10: fatal error: libavformat/url.h: No such file or directory
#include <libavformat/url.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
Done
jlpoole@taurus /usr/local/src/ffserver $

@harshil1991
Copy link
Owner

seems like you have not installed ffmpeg.

@jlpoolen
Copy link
Author

I've been using ffmpeg for quite some time on this laptop. Nevertheless, here are the steps I just went through along with evidence that I do have ffmpeg installed. (I am on Gentoo Linux.)

jlpoole@taurus /usr/local/src $ git clone https://github.com/harshil1991/ffserver.git
Cloning into 'ffserver'...
remote: Enumerating objects: 48, done.
remote: Total 48 (delta 0), reused 0 (delta 0), pack-reused 48
Receiving objects: 100% (48/48), 6.45 MiB | 3.12 MiB/s, done.
Resolving deltas: 100% (20/20), done.
jlpoole@taurus /usr/local/src $ eix -I ffmpeg
[I] media-video/ffmpeg
     Available versions:  4.2.4-r1(0/56.58.58)^td 4.3.1-r1(0/56.58.58)^td 4.3.2-r1(0/56.58.58)^td 4.4-r1(0/56.58.58)^td **9999(0/57.59.59)*l^td {X alsa amr amrenc appkit bluray bs2b +bzip2 cdio chromaprint chromium codec2 cpudetection cuda (+)dav1d debug doc +encode fdk flite fontconfig frei0r fribidi gcrypt gme gmp (+)gnutls +gpl gsm hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k kvazaar ladspa libaom libaribb24 libass libcaca libdrm libilbc librtmp libsoxr libtesseract libv4l libxml2 lv2 lzma mipsdspr1 mipsdspr2 mipsfpu mmal modplug mp3 +network openal opencl opengl openh264 openssl opus oss pic +postproc pulseaudio rav1e rubberband samba sdl snappy sndio speex srt ssh static-libs svg test theora +threads truetype twolame v4l vaapi vdpau vidstab vorbis vpx vulkan wavpack webp x264 x265 xvid zeromq zimg +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon thumb thumb2 v6 v8 vfp vfpv3" CPU_FLAGS_PPC="altivec vsx vsx2" CPU_FLAGS_X86="3dnow 3dnowext aes avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +sidxindex +trasher" VIDEO_CARDS="nvidia"}
     Installed versions:  4.4-r1(0/56.58.58)^t(06:13:07 AM 07/24/2021)(X alsa bzip2 dav1d encode gnutls gpl iconv libaom mp3 network opengl openh264 opus postproc pulseaudio sdl svg threads truetype v4l vorbis x264 x265 xvid zlib -amr -amrenc -appkit -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libaribb24 -libass -libcaca -libdrm -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -mmal -modplug -openal -opencl -openssl -oss -pic -rav1e -rubberband -samba -snappy -sndio -speex -srt -ssh -static-libs -test -theora -twolame -vaapi -vdpau -vidstab -vpx -vulkan -webp -zeromq -zimg -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_ARM="-neon -thumb -thumb2 -v6 -v8 -vfp -vfpv3" CPU_FLAGS_PPC="-altivec -vsx -vsx2" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="-nvidia")
     Homepage:            https://ffmpeg.org/
     Description:         Complete solution to record/convert/stream audio and video. Includes libavcodec

jlpoole@taurus /usr/local/src $ cd ffserver/
jlpoole@taurus /usr/local/src/ffserver $ ./buildFFServer.sh 
In file included from ffserver.c:20:
ffserver.h:35:10: fatal error: libavformat/url.h: No such file or directory
   35 | #include <libavformat/url.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
Done
jlpoole@taurus /usr/local/src/ffserver $ which ffmpeg
/usr/bin/ffmpeg
jlpoole@taurus /usr/local/src/ffserver $ 

@harshil1991
Copy link
Owner

harshil1991 commented Oct 20, 2021 via email

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