Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
thanks for replying me. i have tried to search the libSDL from the internet but i get nothing unless SDL only. and i have already install the SDL. but it didnt give any improvement.
so can you tell me where can i get those libSDL?
thanks!
There are some rpms on this page http://www.libsdl.org/download-1.2.php, note that you have to scroll to the bottom of the page for the development libraries, not just the runtime libraries. If you use a distro that doesn't use rpms, then let me know which one.
thanks.
actually i have download some of the SDL before but i think i miss up something. so i tried it again.
and this is the message its show me when i ' make ' again the mpeg4ip :
-c -o audio_encoder_base.lo `test -f 'audio_encoder_base.cpp' || echo './'`audio_encoder_base.cpp; \
then mv -f ".deps/audio_encoder_base.Tpo" ".deps/audio_encoder_base.Plo"; \
else rm -f ".deps/audio_encoder_base.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include -I../../lib/mp4v2 -I../../lib/mp4av -I../../lib/msg_queue -I../../lib/rtp -I../../lib/sdp -I../../lib/utils -I../../lib -I../../common/video/libmpeg32 -I../../player/lib -I../../player/src -I./h261 -DADD_XVID_ENCODER -DADD_LAME_ENCODER -DADD_FAAC_ENCODER -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror -Wmissing-prototypes -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -MT audio_encoder_base.lo -MD -MP -MF .deps/audio_encoder_base.Tpo -c audio_encoder_base.cpp -fPIC -DPIC -o .libs/audio_encoder_base.o
In file included from audio_encoder_base.cpp:32:
audio_faac.h:26:18: faac.h: No such file or directory
In file included from audio_encoder_base.cpp:32:
audio_faac.h:81: 'faacEncHandle' is used as a type, but is not defined as a
type.
audio_faac.h:82: 'faacEncConfigurationPtr' is used as a type, but is not
defined as a type.
make[4]: *** [audio_encoder_base.lo] Error 1
make[4]: Leaving directory `/usr/final/mpeg4ip-1.1/server/mp4live'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/final/mpeg4ip-1.1/server/mp4live'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/final/mpeg4ip-1.1/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/final/mpeg4ip-1.1'
make: *** [all] Error 2
[root@localhost mpeg4ip-1.1]#
i still have some questions to ask you :
1. is it mean i already success get the lib of the SDL?
2. my sound card is working and i can detect it. so what is the problem?
however thank you very much for helping me!
have a nice day
take care
MPEG4IP relies on a bunch of other software - you really should read the README or INSTALL file (I would tell you exactly which file, but I'm not on my computer right now), it has a list of what you need. One of them is faac, and another is faad2 (I think... there are urls for the right packages in the docs, and you will have to compile them as well). If you still can't get it to work, post again and I'll check my setup (I managed to get MPEG4IP running about three weeks ago, and I didn't read the instructions at first either, so I had these problems too ).
i always read the read me file before i install but sometimes i am really blur about it because i dont know the linux very well. and i also have read through some of the articles about the mpeg4ip before. but inside the article it has talk something about the cvs. is it we need to install cvs as well to make sure our mpeg4ip work?
i also have asked some of my friend and they dunno what is that. i have tried to install the cvs but i dunno how to install it as it need me to download the source code from the net and i dunno where can i get the source code as well.
i have download some package of faad2 and faac, and i do update them but it still show me the same message that no such file. is it i downloaded the wrong package?
beside this, i also try to download the source code of these two package but i cant 'make' them. so......
hope that you can tell me where i did wrong
thanks
and one more things, my network card is a external network card but i cant ping because my eth0 cant active. so do you have any idea about this?
i am using the antech 10/100m ethernet PCI adapter.
is it we need to install cvs as well to make sure our mpeg4ip work?
CVS is a tool for downloading and updating source code. It shouldn't be essential unless you want to have the latest code (which sometimes means you can get code that doesn't even work!). As for your list of packages, they look ok (except that unless you are using a 64-bit CPU, you don't need the x86_64 packages). I'll have a look on my machine tonight and post here what I had to do to get MPEG4IP to run properly. For now, you might want to check this error out:
audio_faac.h:26:18: faac.h: No such file or directory
When you are compiling, gcc can't find the faac.h file. Try to find out where your package installed that file. Also, you might like to try erasing the MPEG4IP directory and unpacking the code again to make sure everything is untainted by previous runs - sometimes early results are cached. Erasing the directory is the easiest way to make sure this isn't happening.
Quote:
and one more things, my network card is a external network card but i cant ping because my eth0 cant active. so do you have any idea about this? i am using the antech 10/100m ethernet PCI adapter.
You might be best to post a new thread for this... it's easier to keep unrelated problems separate, and if you post a new thread, someone who might know more about this particular card than me might be able to help (I think most people don't regularly read already-answered threads). Be sure to post any error messages, and information on what you've tried to make it work.
Just managed to check out my system... I have both the cvs code, and a 1.1 tarball. Only the tarball version compiled properly, once faac, and faad2 were built and installed. You definitely need to follow the README files for all three packages, as they have a bootstrap script that needs to be run before configure. Be sure to start with clean directories, and install faad2 first, then faac, then MPEG4IP.
[root@localhost faad2]# autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
/usr/local/share/aclocal/sdl.m4:11: warning: underquoted definition of AM_PATH_SDL
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ding%20aclocal
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/local/bin/autoconf --force
configure.in:4: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
[root@localhost faad2]#
do you know what is the problem here?
if you still have the files you used to install mpeg4ip, can you please send them to my email?
my project deadline is coming up really soon. so i need to get the mpeg4ip working as soon as possible.
if you dun have those files or if it is too big to send through email. can you please tell me the web site you downloaded them from?
i hope you dont mind
OK, make sure you have the libtool package installed, that should solve this first problem. Another problem that may come up after this is that you need a new version of automake - it should be 1.6 or newer. To find out what version you have, type "automake --version", and upgrade it if necessary. I will triple check the files I have on my machine (can't check right now, it's at home and in Windows ) and let you know if they differ from the files in the tarball.
The problem is...I already installed libtool. That was one of the first few things I installed. And I'm sure automake is newer than 1.6. Is it possible that my files are corrupted or something? Do you think I should reinstall those files?
And did you send anything to my email yet? When I mentioned the files you used to install Mpeg4ip, I meant the tarballs and rpm files you downloaded to complete the installation. I'm waiting patiently here...
Are you sure because you checked, or because you don't think your distro would give you an older version?
The FAAD2 tarball I'm using is here: http://www.audiocoding.com/modules/mydownloads/
Note that you have to scroll right to the bottom - there are two, and the bottom one is the one I used (this file is around 700k, the newer one is 900).
I would concentrate on getting that one to build correctly (I still can't build it on my Debian stable system, but I can't quite figure out why right now... it builds perfectly on testing).
I'm sure because I remember downloading a newer version. Anyway, I checked and I have automake 1.8...
And the FAAD2 tarball I used is the same as yours. Anyway, I solved the problem with the 'autoreconf -vif' command by reinstalling libtool but now I have another problem...After I run ./configure (which seems to be ok), I can't make FAAD2...Look at the bottom of the list:
[root@localhost faad2]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for rpmbuild... rpmbuild
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking mathf.h usability... no
checking mathf.h presence... no
checking for mathf.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for strchr... yes
checking for memcpy... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for off_t... yes
checking for float32_t temp... no
checking for strsep... yes
checking for in_port_t temp... yes
checking for socklen_t temp... yes
checking for fpos_t foo; foo.__pos = 0;... yes
checking for MP4Create in -lmp4v2... yes
checking for MP4MetadataDelete in -lmp4v2... yes
checking mp4.h usability... no
checking mp4.h presence... no
checking for mp4.h... no
configure: *** Building with internal mp4v2 ***
configure: no xmms build configured
configure: creating ./config.status
config.status: creating libfaad/Makefile
config.status: creating frontend/Makefile
config.status: creating common/Makefile
config.status: creating plugins/Makefile
config.status: creating Makefile
config.status: creating plugins/mpeg4ip/Makefile
config.status: creating common/mp4ff/Makefile
config.status: creating common/mp4v2/Makefile
config.status: creating faad2.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root@localhost faad2]# make
Makefile:603: *** missing separator. Stop.
[root@localhost faad2]#
What is that all about? I don't think I see any errors with ./configure, so what am I missing?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.