Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Sep 02, 2010 5:53 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: linux compile from source
PostPosted: Fri May 23, 2008 4:37 am 
Engineer
Engineer
Offline

Joined: Sun May 11, 2008 12:07 am
Posts: 13
I've download the .0.6.0 source and am trying to compile and install the game. I do a ./configure and I get a message about no video driver found, choosing dedicated server only. The video works fine, with the proper driver installed, and the x environment is also working just fine. Installing using the resulting makefile results in having a dedicated server installation (which runs fine). Is there a way to install overiding the video driver check?


Top
 Profile  
 
 Post subject: Re: linux compile from source
PostPosted: Fri May 23, 2008 5:20 am 
TTDPatch Developer
TTDPatch Developer
Offline

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10249
Yes. By following the directions.

_________________
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
TTDPatch NFO coding consultant. (Private messages on this topic will be ignored. Ask in public only.)


Top
 Profile  
 
 Post subject: Re: linux compile from source
PostPosted: Fri May 23, 2008 9:20 pm 
Traffic Manager
Traffic Manager
User avatar
Offline

Joined: Sat Apr 07, 2007 6:08 pm
Posts: 177
andyp wrote:
I've download the .0.6.0 source and am trying to compile and install the game. I do a ./configure and I get a message about no video driver found, choosing dedicated server only. The video works fine, with the proper driver installed, and the x environment is also working just fine. Installing using the resulting makefile results in having a dedicated server installation (which runs fine). Is there a way to install overiding the video driver check?

Overriding the video driver check is not the best course of action. Those checks are there for a reason, and disabling them is likely to cause a bunch of errors during compilation (unless you know very well what you are doing). It is usually better to understand why the check is failing, and try to fix it.

In your case, I guess you are using a distribution with split run-time/development packages for SDL. Try looking for a package named libsdl-devel or similar and installing it, and check if this solves the problem.

_________________
My patches: Close airports | Upgrade airports


Top
 Profile  
 
 Post subject: Re: linux compile from source
PostPosted: Fri May 23, 2008 10:41 pm 
Engineer
Engineer
Offline

Joined: Sun May 11, 2008 12:07 am
Posts: 13
cirdan, That worked. Added libsdl1.2debian-all to the system, and I didn't get the video driver message. Everything seems to work just fine now. That package only added 24kB to the system, as I already had the rest of it. Guess it was just that one little chunk that was needed. Thanks.


DaleStan, the instruction have nothing about the issue I was having. I had already run through the instructions and installed the required packages.


Top
 Profile  
 
 Post subject: Re: linux compile from source
PostPosted: Fri May 23, 2008 11:07 pm 
TTDPatch Developer
TTDPatch Developer
Offline

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10249
Yes, they do. The instructions say to install all the SDL development libraries. You just finished admitting to having done so, and admitting that fixed the problem.

I think that means you skipped part of the instructions.

_________________
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
TTDPatch NFO coding consultant. (Private messages on this topic will be ignored. Ask in public only.)


Top
 Profile  
 
 Post subject: Re: linux compile from source
PostPosted: Sat May 24, 2008 4:37 am 
Engineer
Engineer
Offline

Joined: Sun May 11, 2008 12:07 am
Posts: 13
The instructions say "OpenTTD requires the SDL development libraries to be installed.", under Debian "libsdl1.2-dev (required)". The additional package I downloaded libsdl1.2debian-all, adds two files not included in libsdl1.2-dev, which is the SDL Development Files. libSDL-1.2.so.0, and libSDL-1.2.so.0.11.0. It seems that one or both of these was required for the full version of OTTD to run on this system rather than just the dedicated server, which installed fine using the packages listed in the instructions.


Top
 Profile  
 
 Post subject: Re: linux compile from source
PostPosted: Sat May 24, 2008 6:08 am 
Engineer
Engineer
Offline

Joined: Tue Apr 01, 2008 6:27 am
Posts: 7
Location: Bavaria, Germany
Hi,

what about adding Problem and Solution to the Wiki?


Servus
KS


Top
 Profile E-mail  
 
 Post subject: Re: linux compile from source
PostPosted: Sat May 24, 2008 7:02 pm 
Engineer
Engineer
Offline

Joined: Sun May 11, 2008 12:07 am
Posts: 13
einKarl wrote:
Hi,

what about adding Problem and Solution to the Wiki?


Servus
KS

Done, although I'm not sure if the style I used is preferred.
http://wiki.openttd.org/index.php/GNU/Linux#Debian_and_Ubuntu


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
Debt Help | iPods | Loans | Cheap Home Insurance | Fridge Freezer
Powered by phpBB © 2000-2009 phpBB Group

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2010.
Hosted by Zernebok.