LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 06-29-2009, 07:06 PM   #1
UmmJiga
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Rep: Reputation: 0
F11 problem when installing AlephOne


HELP!!! I'm a newbie when it comes to linux, but I've researched and I can't figure this out!




[root@electric alephone]# make
make all-recursive
make[1]: Entering directory `/home/UmmJiga/Download/alephone'
Making all in Source_Files
make[2]: Entering directory `/home/UmmJiga/Download/alephone/Source_Files'
Making all in CSeries
make[3]: Entering directory `/home/UmmJiga/Download/alephone/Source_Files/CSeries'
g++ -DHAVE_CONFIG_H -I. -I../.. -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/Pfhortran -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther -I../../Source_Files/Sound -I../../Source_Files/XML -I../../Source_Files/Network/Metaserver -I../../Source_Files/TCPMess -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL -g -O2 -MT csstrings.o -MD -MP -MF .deps/csstrings.Tpo -c -o csstrings.o csstrings.cpp
csstrings.cpp: In function ‘unsigned char* pstrdup(const unsigned char*)’:
csstrings.cpp:284: error: ‘malloc’ was not declared in this scope
make[3]: *** [csstrings.o] Error 1
make[3]: Leaving directory `/home/UmmJiga/Download/alephone/Source_Files/CSeries'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/UmmJiga/Download/alephone/Source_Files'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/UmmJiga/Download/alephone'
make: *** [all] Error 2

AND

[root@electric alephone]# make install
Making install in Source_Files
make[1]: Entering directory `/home/UmmJiga/Download/alephone/Source_Files'
Making install in CSeries
make[2]: Entering directory `/home/UmmJiga/Download/alephone/Source_Files/CSeries'
g++ -DHAVE_CONFIG_H -I. -I../.. -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/Pfhortran -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther -I../../Source_Files/Sound -I../../Source_Files/XML -I../../Source_Files/Network/Metaserver -I../../Source_Files/TCPMess -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL -g -O2 -MT csstrings.o -MD -MP -MF .deps/csstrings.Tpo -c -o csstrings.o csstrings.cpp
csstrings.cpp: In function ‘unsigned char* pstrdup(const unsigned char*)’:
csstrings.cpp:284: error: ‘malloc’ was not declared in this scope
make[2]: *** [csstrings.o] Error 1
make[2]: Leaving directory `/home/UmmJiga/Download/alephone/Source_Files/CSeries'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/UmmJiga/Download/alephone/Source_Files'
make: *** [install-recursive] Error 1
[root@electric alephone]#


help!
 
Old 06-29-2009, 08:10 PM   #2
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
Did you read the "readme & install" files that should of been included with the source and do you have the necessary build environment tools?

I haven't built from source in a while but recall running
Code:
./configure
then
Code:
make
and then
Code:
make install
cheers
 
Old 06-29-2009, 09:23 PM   #3
UmmJiga
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the help, but I still haven't been able to get far. When I run ./configure I get a long string but then there is this

checking for SDL_sound.h... no
checking smpeg/smpeg.h usability... no
checking smpeg/smpeg.h presence... no
checking for smpeg/smpeg.h... no
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no
checking speex.h usability... no
checking speex.h presence... no
checking for speex.h... no

I assume that's what is making it not work. Am I missing packages?
 
Old 06-29-2009, 09:48 PM   #4
UmmJiga
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
ok.. so I got a little farther... seems i needed SDL_net ... BUT i get this

Quote:
[root@electric alephone]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 for unistd.h... (cached) yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL_image.h usability... no
checking SDL_image.h presence... no
checking for SDL_image.h... no
checking SDL_net.h usability... no
checking SDL_net.h presence... no
checking for SDL_net.h... no
configure: error: You need SDL_net to run Aleph One.
I have SDL_net installed and the latest version...now what?
 
Old 06-30-2009, 07:15 AM   #5
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
That's probably why I haven't built from source in a while it seems you get stuck in "dependency hell" sometimes. I did notice that there was a Fedora 10 rpm at the download site and upon installing it will pull in all of the dependency's needed that's if you have F10 installed.

I tried it on a F10 box here and it installed, not at the F10 box now but will check later to see what it pulled from the repos.

EDIT here's a link that may provide a clue as to what is required to build AlephOne you could ask there.

Last edited by Ryptyde; 06-30-2009 at 07:30 AM.
 
Old 06-30-2009, 08:25 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
The Fedora 10 package is here
http://sourceforge.net/project/downl...226-1.i386.rpm

For compiling AlephOne : the '-devel' packages are required,
e.g. SDL_net-devel, speex-devel, etc.

.....
 
Old 06-30-2009, 10:23 AM   #7
UmmJiga
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Weird, after using that F10 package, everything worked...I dont know if there was anything else I did, but thanks for the help!
 
Old 06-30-2009, 11:20 AM   #8
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
Quote:
Originally Posted by UmmJiga View Post
Weird, after using that F10 package, everything worked...I dont know if there was anything else I did, but thanks for the help!
As knudfl said
Quote:
For compiling AlephOne : the '-devel' packages are required,
e.g. SDL_net-devel, speex-devel, etc.
and I did a
Code:
yum install SDL*
and alephone built without any problems on F11.
 
Old 06-30-2009, 12:29 PM   #9
UmmJiga
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I did install all the packages...but i typed
Code:
yum search SDL
and I added everything 1 at a time


Quote:
Originally Posted by Ryptyde View Post
As knudfl said and I did a
Code:
yum install SDL*
and alephone built without any problems on F11.
so does the wildcard (*) make it install all of the SDL? that would've been a lot easier.

But I thought I had all of the SDL packages installed...when I tried to reinstall them it said "Nothing to do"

but thanks everyone for the help!
 
Old 06-30-2009, 06:50 PM   #10
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
Quote:
Originally Posted by UmmJiga View Post
I did install all the packages...but i typed
Code:
yum search SDL
and I added everything 1 at a time




so does the wildcard (*) make it install all of the SDL? that would've been a lot easier.

But I thought I had all of the SDL packages installed...when I tried to reinstall them it said "Nothing to do"

but thanks everyone for the help!
Yes the wild card will install it all.
 
  


Reply

Tags
fedora, fedora 11, games, install, make


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
F11 X64 - Perl Install Problem whiskey06 Linux - Server 10 08-21-2009 04:35 PM
F11 - Terrible ilikejam Fedora 17 06-16-2009 08:13 PM
F10 to F11 upgrade - does it actually work? itsallcrap Fedora 4 06-12-2009 04:30 AM
F11 and F2 do not work hellie Linux - Hardware 16 11-04-2006 02:44 PM
F11 key (Not Printing) Cort Linux - Newbie 1 10-04-2004 11:16 AM


All times are GMT -5. The time now is 07:26 PM.

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