LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installation of MP4Box fails Unable to find MP4Box (https://www.linuxquestions.org/questions/linux-software-2/installation-of-mp4box-fails-unable-to-find-mp4box-909216/)

rewards 10-20-2011 04:38 PM

Installation of MP4Box fails Unable to find MP4Box
 
Hello all.

I am trying to install MP4Box on a Centos 6.0 but so far I had no success. I followed all instructions twice. One here http://halotech.org/showthread.php?4...l-Fixes-Extras. And here http://abhionlinux.blogspot.com/2011...tallation.html. I did the sequences below;
Follow the steps given below to install MP4Box

#cd /usr/local/src/
# wget http://nchc.dl.sourceforge.net/proje...c-0.4.5.tar.gz
# wget http://nchc.dl.sourceforge.net/proje...s-0.4.5.tar.gz
# tar -zxvf gpac-0.4.5.tar.gz
# tar -zxvf gpac_extra_libs-0.4.5.tar.gz
# cd gpac_extra_libs
# cp -r * /usr/local/src/gpac/extra_lib
# cd gpac
# chmod 755 configure
# ./configure
# make lib
# make apps
# make install lib
# make install
# cp bin/gcc/libgpac.so /usr/lib

After ./configure command, I did make lib and that's where the installation fails. At the bottom output of the make lib command I gete the message below;

/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/local/src/gpac/src'
make: *** [lib] Error 2


I did make apps command. And at the bottom output of the make apps command I get the message below;

/usr/bin/ld: cannot find -lgpac
collect2: ld returned 1 exit status
make[2]: *** [MP4Box] Error 1
make[2]: Leaving directory `/usr/local/src/gpac/applications/mp4box'
make[1]: *** [apps] Error 2
make[1]: Leaving directory `/usr/local/src/gpac/applications'
make: *** [apps] Error 2


For make install lib command, this is what I get;

[root@centos gpac]#make install lib
install -d "/usr/local"
install -d "/usr/local/bin"
install -m 755 bin/gcc/MP4Box "/usr/local/bin"
install: cannot stat `bin/gcc/MP4Box': No such file or directory
make: *** [install] Error 1
[root@centos gpac]#


And finally when I put make install command, I get the message below;

[root@centos gpac]# make install
install -d "/usr/local"
install -d "/usr/local/bin"
install -m 755 bin/gcc/MP4Box "/usr/local/bin"
install: cannot stat `bin/gcc/MP4Box': No such file or directory
make: *** [install] Error 1
[root@centos gpac]#


Could anyone tell me what I am missing? I searched numerous websites but I have not found any clear answer except how to install MP4Box only and they all have the same method of how installing such application. Thank you all in advanced.

{BBI}Nexus{BBI} 10-20-2011 11:02 PM

You need to find which devel package provides lglut and install it. i.e. on my Mandriva system I would install the ocaml-lablgl-devel package to get lglut.

rewards 10-23-2011 04:12 PM

Hello all,

I found the solution to this. All I had to do was to yum install freeglut*. Now it is okay.

amani1 12-10-2012 12:08 AM

mb4box failed
 
hi

i am trying to install mp4box on Ubuntu 12.10 actually i follow the instructions listed above but it gave me the following error after the command make lib
gcc: error: unrecognized command line option ‘-Wl’
gcc: error: unrecognized command line option ‘--warn-common’
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/home/amani/gpac/src'
make: *** [lib] Error 2

searching and even trying the solution before freeglut* but didn't work:confused:


All times are GMT -5. The time now is 01:48 AM.