41.3c on fedora 12 ALVoid RESOLVED

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: 41.3c on fedora 12 ALVoid RESOLVED
PostPosted: Wed May 26, 2010 4:13 pm 
User avatar
Reduced to ashes

Current Scorched3D Rank: Unranked



Joined: Fri Sep 03, 2004 3:00 am
Posts: 675
Location: Litter box in Tipp City, Ohio, USA
st -f '../sound/Sound.cpp' || echo './'`../sound/Sound.cpp
In file included from ../sound/Sound.cpp:35:
/usr/local/include/AL/alut.h:52: error: ‘<anonymous>’ has incomplete type
/usr/local/include/AL/alut.h:52: error: invalid use of ‘ALvoid’
make[3]: *** [Sound.o] Error 1
make[3]: Leaving directory `/home/server1/share/scorched/src/client/scorchedc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/server1/share/scorched/src/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/server1/share/scorched/src'
make: *** [all-recursive] Error 1

That's the error I got while trying to compile scorched on Fedora 13. This error was giotten during the compie of the downloaded source tarball.

EDIT:

problem has been resolved. see steps in my message below
the true mark of a skilled player is the ability to adapt. If a player cannot adapt, then maybe that player wasn't all that skilled to begin with...
---Ebonite

You either grin and bear it, or go home. Deathbal


Last edited by Panther30 on Mon May 31, 2010 2:33 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: 41.3c on fedora 13
PostPosted: Wed May 26, 2010 4:24 pm 
User avatar
Reduced to ashes

Current Scorched3D Rank: Unranked



Joined: Fri Sep 03, 2004 3:00 am
Posts: 675
Location: Litter box in Tipp City, Ohio, USA
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'

This error was gotten during the "./confiigure" phase of installing using the source code downloaded from SVN
the true mark of a skilled player is the ability to adapt. If a player cannot adapt, then maybe that player wasn't all that skilled to begin with...
---Ebonite

You either grin and bear it, or go home. Deathbal


Top
 Profile  
 
 Post subject: Re: 41.3c on fedora 13 RESOLVED
PostPosted: Fri May 28, 2010 2:01 am 
User avatar
Obliterated

Current Scorched3D Rank: Unranked








Joined: Wed Feb 16, 2005 1:26 am
Posts: 1591
Location: Some Where On Earth I Think
Panther are you using the SVN version for your server?
If so I wouldn't. I would use the src.zip or src.tar.gz from this link http://sourceforge.net/projects/scorched3d/files/
That way you don't get any of the code changes that Gavin might have made since the release. Just an idea.
Image
"Always do right. This will gratify some people and astonish the rest."
Mark Twain


Top
 Profile  
 
 Post subject: Re: new error 41.3c on fedora 12 ALVoid
PostPosted: Sun May 30, 2010 2:04 pm 
User avatar
Reduced to ashes

Current Scorched3D Rank: Unranked



Joined: Fri Sep 03, 2004 3:00 am
Posts: 675
Location: Litter box in Tipp City, Ohio, USA
I'm having trouble figuring out chich command line options to use when compiling the following programs from their sources.

Openal
WxGTK-2.8.11

I dont know if there are other prerquisites for scorched that will ned a fresh compile from their source or not. Please let me know what i need to do. had everything working several days ago and didn't cdocument exactly what i needed to do an now i'm having some issues.

thanks,

---Panther30

EDIT:

okay no more problems with wxGTK. but... OpenAL.... well i've compiled the newest souce and the openal-config no longer exists. and iv've tried disabling openaltest. but the error in my first message still shows up when I run make.
the true mark of a skilled player is the ability to adapt. If a player cannot adapt, then maybe that player wasn't all that skilled to begin with...
---Ebonite

You either grin and bear it, or go home. Deathbal


Top
 Profile  
 
 Post subject: Re: new error 41.3c on fedora 12 ALVoid
PostPosted: Mon May 31, 2010 5:03 am 
User avatar
Obliterated

Current Scorched3D Rank: Unranked








Joined: Wed Feb 16, 2005 1:26 am
Posts: 1591
Location: Some Where On Earth I Think
openal-config has been a pain for me since I started building from source. For me to build on ubuntu I have to patch the source first. I will attach the patch, you will need to rename it to scorched.patch. Dont know if this will work on fedora or not. Some one else probably knows a better why to do it.

patch < scorched.patch
sh autogen.sh --disable-openaltest CXXFLAGS=-lalut


make
-j3
sudo make install

*[edit]
You might look here for other ideas with fedora.
http://cvs.fedoraproject.org/viewvc/rpm ... sortby=log


Attachments:
scorched.txt [1.92 KiB]
Downloaded 220 times
Image
"Always do right. This will gratify some people and astonish the rest."
Mark Twain
Top
 Profile  
 
 Post subject: Re: new error 41.3c on fedora 12 ALVoid
PostPosted: Mon May 31, 2010 9:18 am 
User avatar
Obliterated

Current Scorched3D Rank: Unranked



Joined: Wed Jun 14, 2006 11:18 pm
Posts: 1519
Location: United Kingdom
Panther30 wrote:
I dont know if there are other prerquisites for scorched that will need a fresh compile from their source or not.

arent freealut-devel and openal-devel are separate packages? make sure you have alut.

this was a complete list of deps last i knew: viewtopic.php?f=1&t=5622&p=53498&hilit=compile+g+#p53498

i havent compiled in linux in a long while, but ive never had to mess about compiling or patching dependencies - thatd be enough hassle so i wouldnt bother. (windows is usually my main os). i think s3d has always compiled smoothly out of the box for me, except for that gcc 4.3 viewtopic.php?f=6&t=5504&p=52195&hilit=compile+g+#p52195 thing a while back


Top
 Profile  
 
 Post subject: Re: new error 41.3c on fedora 12 ALVoid
PostPosted: Mon May 31, 2010 2:30 pm 
User avatar
Reduced to ashes

Current Scorched3D Rank: Unranked



Joined: Fri Sep 03, 2004 3:00 am
Posts: 675
Location: Litter box in Tipp City, Ohio, USA
I forgot a step in the install Irish, or your fix probably would have worked for me (I deleted /usr/local/inclued/AL in perparation to recompile opena-soft wish is the same version as the openal packages i installed )

anways here is what I did

compiled wxgtk-2.8.11 --with-gtk --disable-shared

comiled an older version of openal that still had openal-config (probablyunneccessary)

deleted /usr/local/include/AL (as root through webmin)

installed openal packages from repository ( and devel package)

compiled openal-soft from source (same version as the packages I installed above)


compiled scorched --with-mysql

and it worked I dont know why I had to go through all these redundant steps to do it, but I'm makingthis post so that i know what seems to work ( i just spent four days installing and uninstalling inux trying to figure all ths out)

incidentally in the course of the installs i tested an Ubuntu based linux livecd for Mint 9 which kept video crashing on my servers intel graphics but works find on an older laptop i have with SIS mirage graphics. I guess I'll be using fedora as a sever for quite a bit longer.
the true mark of a skilled player is the ability to adapt. If a player cannot adapt, then maybe that player wasn't all that skilled to begin with...
---Ebonite

You either grin and bear it, or go home. Deathbal


Top
 Profile  
 
 Post subject: Re: 41.3c on fedora 12 ALVoid RESOLVED
PostPosted: Tue Jun 01, 2010 3:14 am 
User avatar
Obliterated

Current Scorched3D Rank: Unranked








Joined: Wed Feb 16, 2005 1:26 am
Posts: 1591
Location: Some Where On Earth I Think
Thats one thing I like about linux, theres usually more than one way to do something. Stick with fedora if its working for you. I use centos for servers, which follows redhats release schedule + 4 to eight weeks. If you want to use a deb based server check out debian or ubuntu server.
Image
"Always do right. This will gratify some people and astonish the rest."
Mark Twain


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group