LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-18-2015, 07:06 PM   #1
bdturner15
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Why does the 'make' command return with errors?


I have been trying to install AlephOne on Xubuntu 14.04 for about a week now. I have researched similar issues but haven't quite been able to understand the problem, much less fix it. I will paste the return message below this introduction to my issue below. Thank you so much for reading this post. I would greatly appreciate help. Have a beautiful day!
**Note: The command that's supposed to go before this - './configure' - went smoothly if you're wondering.

RETURN FROM TERMINAL:

brendan@brendan:~/Downloads/AlephOne$ sudo make
make all-recursive
make[1]: Entering directory `/home/brendan/Downloads/AlephOne'
Making all in Source_Files
make[2]: Entering directory `/home/brendan/Downloads/AlephOne/Source_Files'
make[3]: Entering directory `/home/brendan/Downloads/AlephOne'
make[3]: Leaving directory `/home/brendan/Downloads/AlephOne'
Making all in CSeries
make[3]: Entering directory `/home/brendan/Downloads/AlephOne/Source_Files/CSeries'
make[4]: Entering directory `/home/brendan/Downloads/AlephOne'
make[4]: Leaving directory `/home/brendan/Downloads/AlephOne'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/brendan/Downloads/AlephOne/Source_Files/CSeries'
Making all in Expat
make[3]: Entering directory `/home/brendan/Downloads/AlephOne/Source_Files/Expat'
make[4]: Entering directory `/home/brendan/Downloads/AlephOne'
make[4]: Leaving directory `/home/brendan/Downloads/AlephOne'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/brendan/Downloads/AlephOne/Source_Files/Expat'
Making all in Files
make[3]: Entering directory `/home/brendan/Downloads/AlephOne/Source_Files/Files'
make[4]: Entering directory `/home/brendan/Downloads/AlephOne'
make[4]: Leaving directory `/home/brendan/Downloads/AlephOne'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/brendan/Downloads/AlephOne/Source_Files/Files'
Making all in FFmpeg
make[3]: Entering directory `/home/brendan/Downloads/AlephOne/Source_Files/FFmpeg'
make[4]: Entering directory `/home/brendan/Downloads/AlephOne'
make[4]: Leaving directory `/home/brendan/Downloads/AlephOne'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../Source_Files/CSeries -I../../Source_Files/Files -I../../Source_Files/GameWorld -I../../Source_Files/Input -I../../Source_Files/Misc -I../../Source_Files/ModelView -I../../Source_Files/Network -I../../Source_Files/Sound -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther -I../../Source_Files/XML -I../../Source_Files -D__STDC_CONSTANT_MACROS -I/usr/include/libpng12 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL -g -O2 -MT Movie.o -MD -MP -MF .deps/Movie.Tpo -c -o Movie.o Movie.cpp
Movie.cpp: In member function ‘bool Movie::Setup()’:
Movie.cpp:494:61: error: ‘AVStream’ has no member named ‘quality’
audio_stream->codec->global_quality = audio_stream->quality = FF_QP2LAMBDA * (aq / 10);
^
Movie.cpp: In member function ‘void Movie::EncodeVideo(bool)’:
Movie.cpp:618:21: warning: ‘int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
int vsize = avcodec_encode_video(vcodec,
^
Movie.cpp:620:47: warning: ‘int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
frame);
^
make[3]: *** [Movie.o] Error 1
make[3]: Leaving directory `/home/brendan/Downloads/AlephOne/Source_Files/FFmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/brendan/Downloads/AlephOne/Source_Files'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brendan/Downloads/AlephOne'
make: *** [all] Error 2
 
Old 06-19-2015, 12:42 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Read the INSTALL.unix file in the AlephOne tarball. There is a dependency which you can install/make from source (SDL library) which is necessary for AlephOne to compile. Or, you can install from the Xubuntu repository the libsdl- libraries for SDL image, net, and dev instead of making from source.
 
Old 06-19-2015, 02:56 PM   #3
bdturner15
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bigrigdriver View Post
Read the INSTALL.unix file in the AlephOne tarball. There is a dependency which you can install/make from source (SDL library) which is necessary for AlephOne to compile. Or, you can install from the Xubuntu repository the libsdl- libraries for SDL image, net, and dev instead of making from source.
I got this when trying to make SDL 2.0.3 (I have to build it for now because I can't find it in the repositories):

brendan@brendan:~/Downloads/SDL2-2.0.3$ make install
Warning, configure.in is out of date
#(cd /home/brendan/Downloads/SDL2-2.0.3 && sh autogen.sh && sh configure)
/bin/bash build-scripts/updaterev.sh
/bin/bash build-scripts/mkinstalldirs /usr/local/bin
/usr/bin/install -c -m 755 sdl2-config /usr/local/bin/sdl2-config
/usr/bin/install: cannot remove ‘/usr/local/bin/sdl2-config’: Permission denied
make: *** [install-bin] Error 1
brendan@brendan:~/Downloads/SDL2-2.0.3$
 
Old 06-19-2015, 06:52 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
You need to run the make install phase as root, because the installation will try to write to directories that the normal user does not have permission to write to.
 
Old 06-19-2015, 08:51 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
WHAT version are you building
http://sourceforge.net/projects/mara...es/Aleph20One/

the old one from 2014
or the one added THIS EVENING ( 6-19-2015)
 
Old 06-22-2015, 09:23 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,324
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Code:
Movie.cpp: In member function bool Movie::Setup():
Movie.cpp:494:61: error: AVStream has no member named quality
audio_stream->codec->global_quality = audio_stream->quality = FF_QP2LAMBDA * (aq / 10);
This is why it's failing according to gcc. If you don't need that feature you can --disable-??? the option the puts it in the compile tree. But it's likely that you're missing something that it needs for that to work.

$ sudo apt-get install libsdl-dev

And probably many other -dev things. Watch the output of ./configure and notice all the "=no" items.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make command gives errors whizz Linux - Newbie 4 04-02-2005 12:14 PM
The MAKE command SuSE 9.2 gives errors jasone SUSE / openSUSE 2 04-01-2005 09:15 AM
command: make errors alltime Mandriva 0 01-26-2005 03:31 PM
Using the 'make' command consistently returns errors Baryonic Being Linux - Software 4 03-24-2004 02:02 PM
Log errors from 'make' command, how do i? winky Linux - Software 13 08-21-2003 12:31 PM


All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration