| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-29-2009, 06:06 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2009
Posts: 8
Rep:
|
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!
|
|
|
|
06-29-2009, 07:10 PM
|
#2
|
|
Member
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 240
Rep:
|
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 then and then cheers 
|
|
|
|
06-29-2009, 08:23 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2009
Posts: 8
Original Poster
Rep:
|
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?
|
|
|
|
06-29-2009, 08:48 PM
|
#4
|
|
LQ Newbie
Registered: Jun 2009
Posts: 8
Original Poster
Rep:
|
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?
|
|
|
|
06-30-2009, 06:15 AM
|
#5
|
|
Member
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 240
Rep:
|
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 06:30 AM.
|
|
|
|
06-30-2009, 07:25 AM
|
#6
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,757
|
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.
.....
|
|
|
|
06-30-2009, 09:23 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2009
Posts: 8
Original Poster
Rep:
|
Weird, after using that F10 package, everything worked...I dont know if there was anything else I did, but thanks for the help!
|
|
|
|
06-30-2009, 10:20 AM
|
#8
|
|
Member
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 240
Rep:
|
Quote:
Originally Posted by UmmJiga
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 and alephone built without any problems on F11. 
|
|
|
|
06-30-2009, 11:29 AM
|
#9
|
|
LQ Newbie
Registered: Jun 2009
Posts: 8
Original Poster
Rep:
|
I did install all the packages...but i typed
and I added everything 1 at a time
Quote:
Originally Posted by Ryptyde
As knudfl said and I did a 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!
|
|
|
|
06-30-2009, 05:50 PM
|
#10
|
|
Member
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 240
Rep:
|
Quote:
Originally Posted by UmmJiga
I did install all the packages...but i typed
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. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|