FreeOrion

Forums for the FreeOrion project
It is currently Tue Jun 18, 2013 10:12 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: log4cpp compile problem
PostPosted: Wed Feb 01, 2006 10:11 pm 
Offline
Space Floater

Joined: Wed Feb 01, 2006 9:54 pm
Posts: 28
Location: Finland, Helsinki
Hi all,

I was thrilled when I heared about this project. I left work early to give this baby a try but I ran in some problems. I run Debian and I think I got all the packages right. I downloaded GiGi and compiled it, figured out that I didn't needed ./autogen any more and thus ran scons in the root directory of FreeOrion with the following result:
Code:
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for pkg-config... ok
Checking for GiGiSDL >= 0.6.0... ok
Checking for log4cpp >= 0.3.4b... failed
Checking log4cpp version == 0.3.4b... no


I do have log4cpp install abeit version 0.2.8. Which is a bit higher than the version required(0.2.7). Figured this was not a big deal but it appears it is. So I downloaded the old version and tried to compile it. This (as written on the Wiki Compilation page) ran in some problems and so I editted the files Clock.cpp/Clock.hh as described on the Wiki. But still this does not compile. Ow, I also tried to point to the lib dir with
Code:
$: scons with_log4cpp_libdir=/usr/lib

That didnt help either.

I ran out of ideas. Can anybody help me? On a side note, I have a 500MHz Celeron 256MB does it even make sense to try and run it?

Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 02, 2006 1:30 pm 
Offline
Space Floater

Joined: Wed Feb 01, 2006 9:54 pm
Posts: 28
Location: Finland, Helsinki
I'm compilling with
Code:
gcc (GCC) 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)
. Does that make a difference?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 02, 2006 5:11 pm 
Offline
Space Kraken
User avatar

Joined: Tue Aug 09, 2005 6:47 pm
Posts: 100
Location: Somewhere in Poland
Quote:
I'm compilling with
Code:
gcc (GCC) 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)

. Does that make a difference?

No, but please look closer at the output of scons....
It says you need log4cpp version 0.3.4b.
Version 0.2.8 never existed according to log4cpp website, and 0.2.7 is 9 months older than the required version (even 0.3.4b, apparently the last version is from 28 of October 2002)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 03, 2006 10:35 am 
Offline
Space Floater

Joined: Wed Feb 01, 2006 9:54 pm
Posts: 28
Location: Finland, Helsinki
Hi,
Yeah I got the newest version 0.3.5rc3 from their website and compiled with
Code:
./configure CXX=/usr/bin/g++-3.3 LDFLAGS=-L/usr/lib/gcc-lib/i486-linux-gnu/3.3.6 CPPFLAGS=-L/usr/include/c++/3.3

which effectively uses version 3.3 of g++ (not gcc which is a C compiler, I found that out the hard way). And this actually worked!
On to the next problem... (fmod whining about a wrong version, solution: change the build_config.py file)


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

All times are UTC


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 © 2000, 2002, 2005, 2007 phpBB Group