LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-18-2009, 01:15 PM   #1
d3vi4nt
LQ Newbie
 
Registered: Aug 2009
Distribution: OpenSuSE 11.1
Posts: 5

Rep: Reputation: 0
Thumbs up make: *** [all] Error 2 ? Need Help compiling DOSBOX source code!


Hello,

I've been trying to compile dosbox 0.73 on OpenSuSE 11.1 and after configuring the files with no problem I tried to compile the source code when I got this error message:

Code:
make: *** [all] Error 2
To be more precise :

Code:
d3vi4nt@linux-qb2q:~/sources/dosbox-0.73> make
make  all-recursive
make[1]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73'
Making all in src
make[2]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src'
Making all in cpu
make[3]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
Making all in core_full
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_full'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_full'
Making all in core_normal
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_normal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dyn_x86'
Making all in core_dynrec
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dynrec'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu/core_dynrec'
make[4]: Entering directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
source='callback.cpp' object='callback.o' libtool=no \
	DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
	g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o callback.o callback.cpp
../../depcomp: line 571: exec: g++: not found
make[4]: *** [callback.o] Error 127
make[4]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src/cpu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/d3vi4nt/sources/dosbox-0.73'
make: *** [all] Error 2
Can anyone help me out with this?

Thanks in advance!
 
Old 08-18-2009, 01:49 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by d3vi4nt View Post
../../depcomp: line 571: exec: g++: not found
There's your problem.. you need to install g++. I'm not sure what OpenSUSE's g++ package is called, but find the packages with "g++" (or perhaps "c++") in the name and post here if you're unsure.
 
Old 08-18-2009, 04:48 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,985

Rep: Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611
su
# zypper in gcc43-c++
will do.

The packages 'gcc41-c++' and 'gcc33-c++' are available too,
you can install them all, if you wish.

.....
 
Old 08-19-2009, 07:38 AM   #4
d3vi4nt
LQ Newbie
 
Registered: Aug 2009
Distribution: OpenSuSE 11.1
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks a lot Going to try it out
 
Old 09-25-2009, 03:03 AM   #5
darklove2201
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
root@c-71-199-212-234 ~]# mkdir hybrid_wl
[root@c-71-199-212-234 ~]# cd hybrid_wl
[root@c-71-199-212-234 hybrid_wl]# tar xzf /home/dford2201/Download/hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz
You have mail in /var/spool/mail/root
[root@c-71-199-212-234 hybrid_wl]# ls
lib Makefile src
[root@c-71-199-212-234 hybrid_wl]# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [all] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]# ls
lib Makefile src
[root@c-71-199-212-234 hybrid_wl]# Make
-bash: Make: command not found
[root@c-71-199-212-234 hybrid_wl]# Makefile
-bash: Makefile: command not found
[root@c-71-199-212-234 hybrid_wl]# Make clean
-bash: Make: command not found
[root@c-71-199-212-234 hybrid_wl]# make clean
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make: *** /lib/modules/2.6.29.4-167.fc11.i586/build: No such file or directory. Stop.
make: *** [clean] Error 2
[root@c-71-199-212-234 hybrid_wl]#
 
Old 01-07-2010, 08:50 AM   #6
rajeshthe
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
When i am using make install then it display below error can any one help me .........


[root@dataserver1-projectrepo libtool-2.2.6]# make install
make install-recursive
make[1]: Entering directory `/data/store/RPM Setup/Astrik/libtool-2.2.6'
make[2]: Entering directory `/data/store/RPM Setup/Astrik/libtool-2.2.6'
make[3]: Entering directory `/data/store/RPM Setup/Astrik/libtool-2.2.6'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'libtoolize' '/usr/local/bin/libtoolize'
/usr/bin/install -c 'libtool' '/usr/local/bin/libtool'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libltdl/libltdl.la' '/usr/local/lib/libltdl.la'
libtool: install: /usr/bin/install -c libltdl/.libs/libltdl.so.7.2.0 /usr/local/lib/libltdl.so.7.2.0
libtool: install: (cd /usr/local/lib && { ln -s -f libltdl.so.7.2.0 libltdl.so.7 || { rm -f libltdl.so.7 && ln -s libltdl.so.7.2.0 libltdl.so.7; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libltdl.so.7.2.0 libltdl.so || { rm -f libltdl.so && ln -s libltdl.so.7.2.0 libltdl.so; }; })
libtool: install: /usr/bin/install -c libltdl/.libs/libltdl.lai /usr/local/lib/libltdl.la
libtool: install: /usr/bin/install -c libltdl/.libs/libltdl.a /usr/local/lib/libltdl.a
libtool: install: chmod 644 /usr/local/lib/libltdl.a
libtool: install: ranlib /usr/local/lib/libltdl.a
/bin/sh: /data/store/RPM: No such file or directory
make[3]: *** [install-libLTLIBRARIES] Error 127
make[3]: Leaving directory `/data/store/RPM Setup/Astrik/libtool-2.2.6'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/data/store/RPM Setup/Astrik/libtool-2.2.6'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/data/store/RPM Setup/Astrik/libtool-2.2.6'
make: *** [install] Error 2


Thnaks in advance
rajesh Pandey
raygain Technologies Pvt ltd
 
Old 01-07-2010, 11:51 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,985

Rep: Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611
@ rajeshthe, post # 6 .. welcome to LQ.

This thread is about "dosbox", so please do not use
it for your "Intro" or an off topic question.
LQ Rules http://www.linuxquestions.org/linux/rules.html
.. Go to LQ Forums, use "New Thread" in a Forum, e.g.
Software or Newbie.

To get an answer, please tell which Linux, you are using.
Like Ubuntu 9.10, Fedora 12 etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

"" /data/store/RPM Setup/Astrik/libtool-2.2.6 "" :
Do not use / for build, use /home/"user"/tmp/ instead.
And you have a space between RPM and Setup : ../RPM Setup/..
That will not work.
.....
 
Old 01-08-2010, 12:41 AM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,447

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
Question: How could the configure script pass ok, if the compiler is not installed?

Edit: Opps, OPs question was months ago.

Evo2.

Last edited by evo2; 01-08-2010 at 12:44 AM. Reason: Ancient thread
 
  


Reply

Tags
compile, dosbox, error, linux, make, opensuse


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
how to make bind-9.6.01 work after compiling from source code win281 Linux - Newbie 2 05-11-2009 04:33 PM
error compiling dlink DFE-520TX PCI adapter driver source code ignoribis Linux - Newbie 0 07-09-2008 10:52 AM
Downloaded Wireshark source code and while make rpm got this error, kindly help pkhera_2001 Linux - Newbie 1 03-20-2008 08:09 AM
error compiling dosbox with "/usr/X11R6/include/GL/glu" hamster Linux - Software 4 11-08-2007 05:23 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration