LinuxQuestions.org
Review your favorite Linux distribution.
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 11-24-2013, 01:57 AM   #1
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 113

Rep: Reputation: 15
build err when compiling


hi,
I am trying to build a package from source and ./configure goes fine and then make errors out. my os is slackware64 14.1 but I don't think this error is flavour specific or package specific more trying to learn what to hunt down.

Code:
bash-4.2# make
cat configure.in | sed -e "s/AC_INIT.*$/AC_INIT\(Zangband,\ `cat .version`,\ bugs@zangband.org\)/" > configure.new
mv configure.new configure.in
aclocal
configure.in:127: warning: underquoted definition of AC_SEARCH_HEADERS
configure.in:127:   run info '(automake)Extending aclocal'
configure.in:127:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
autoheader
autoconf
if [ -x ./config.status ] ; then ./config.status --recheck && ./config.status; else ./configure; fi
running /bin/sh ./configure   --no-create --no-recursion
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/Robert/Downloads/ZPlusAngband_033beta_src':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [makefile] Error 77
 
Old 11-24-2013, 05:16 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
if Make is running aclocal and autoheader and autoconf

then there was not "configure" script
and the Makefile" is a non standard make file
but a bootstrap shell script

and it is looking for gcc and gcc is not installed

i am assumming that this is the name of this unknown program
"ZPlusAngband_033beta_src"

where did you get it from ?
there is a SF download from 2011
http://sourceforge.net/projects/zplu...nd/files/dist/

i dought that it will build using a current version of gcc
You might have to install an older version like Gcc 4.1 or 4.3
ZPlusAngband_033beta_src.tar.gz
only has one download
i am guessing you

first ALL of the file permissions in that archive are FUBAR
royally f'ed up
Code:
cd ~/Download
chown -R YourUserName:users ZPlusAngband_033beta_src
the first sign of trouble
the readme is dated Jan 1 2009


then from the install insstructions in the README file

1. Install lcc from: http://www.q-software-solutions.de/downloaders

did you install that ?

then
2. Get Z+Angband source files from http://tinyurl.com/5pq2bd and extract
-- i already DO NOT trust that
i will NEVER install something from a "tinyurl" link
you ARE ASKING FOR PROBLEMS
like installing a rootkit

3. Navigate into the folder, and then into the src directory. Run
"tolua_make", then "l-make".

from the above post ,you did not do that .

check the date on the Makefile
it should be todays date
and not the Jan 1 2009 date

also read the errors in the "config.log" file
likely you are missing things
 
Old 11-24-2013, 06:30 PM   #3
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by John VV View Post
if Make is running aclocal and autoheader and autoconf

then there was not "configure" script
and the Makefile" is a non standard make file
but a bootstrap shell script

and it is looking for gcc and gcc is not installed

i am assumming that this is the name of this unknown program
"ZPlusAngband_033beta_src"

where did you get it from ?
there is a SF download from 2011
http://sourceforge.net/projects/zplu...nd/files/dist/

i dought that it will build using a current version of gcc
You might have to install an older version like Gcc 4.1 or 4.3
ZPlusAngband_033beta_src.tar.gz
only has one download
i am guessing you

first ALL of the file permissions in that archive are FUBAR
royally f'ed up
Code:
cd ~/Download
chown -R YourUserName:users ZPlusAngband_033beta_src
the first sign of trouble
the readme is dated Jan 1 2009


then from the install insstructions in the README file

1. Install lcc from: http://www.q-software-solutions.de/downloaders

did you install that ?

then
2. Get Z+Angband source files from http://tinyurl.com/5pq2bd and extract
-- i already DO NOT trust that
i will NEVER install something from a "tinyurl" link
you ARE ASKING FOR PROBLEMS
like installing a rootkit

3. Navigate into the folder, and then into the src directory. Run
"tolua_make", then "l-make".

from the above post ,you did not do that .
check the date on the Makefile
it should be todays date
and not the Jan 1 2009 date

also read the errors in the "config.log" file
likely you are missing things
hsolusolutions`tions
I ran both toluamake and l-make and they both seg-falted so I looked at them they are windows scripts. I remember using lcc on my amiga its a c compiler. the url you gave me doesn't load here but the permission thing looking at that now as I have both gcc and g++ up to date
 
Old 11-24-2013, 06:45 PM   #4
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 113

Original Poster
Rep: Reputation: 15
I tried Download ZPlusAngband_033beta_src_a+rwx.tar.gz (2.9 MB) and it configured seamlessly
then tried make and same error can't make an executable

I think I might have to abort this adventure into my past.
 
Old 11-24-2013, 07:19 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
what version of gcc is installed ?

you might need to use gcc 3.4 to build it

i am back in the 1980's - '90's
http://www.zangband.org/screenshots.html
there is a 386 DOS version
http://www.zangband.org/

Last edited by John VV; 11-24-2013 at 07:27 PM.
 
Old 11-24-2013, 09:03 PM   #6
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 113

Original Poster
Rep: Reputation: 15
currently have.

bash-4.2# gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-4.2# g++ --version
g++ (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


I've sent a message to the author to see if he has some ideas.
 
  


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
Why can't I build modules after compiling a custom kernel? macaddict01 Linux - Kernel 2 09-30-2010 09:00 PM
To err or not to err? Filesystem Error Problem abejarano Linux - Hardware 3 12-09-2008 05:12 PM
Compiling build 2.6.27.2 from 2.6.18 on SATA drive issues (Debian) Auxientius Linux - Kernel 25 10-26-2008 10:03 PM
Build error compiling wlan-ng 0.2.0 on SuSe 9.3 MonkeeOfEvil Linux - Wireless Networking 0 08-20-2005 02:20 PM
Dual system boot err: rootnoverify(hd1,0),but the hd0 err msg existed befor shut down lilipeng24 Linux - General 3 06-25-2005 01:10 PM


All times are GMT -5. The time now is 02:31 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