Stuck again

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
mr_ed
Space Squid
Posts: 82
Joined: Thu Jun 26, 2003 1:13 pm
Location: Ottawa

Stuck again

#1 Post by mr_ed »

Ever since Zach made GG independent of SDL (is that right?) many moons ago, I haven't been able to build it.

I'm finally able to look at it (this getting married thing is a big time sucker; the honeymoon is September 1st to the 9th or so, and then I'll be back)

But for the moment, I'm going to have an aneurysm if I can't get this running.
I'm getting

Code: Select all

checking for the Boost C++ libraries, version 1.3.0 or newer... no
checking for main in -lboost_regex... no
checking for main in -lboost_filesystem... no
checking for main in -lboost_signals... no
configure: error: boost libs not found.
** You need the Boost C++ libraries, version 1.3.0 or better,
** as well as the following boost-modules:
** - boost.regex
** - boost.filesystem
** - boost.signals
** download them from http://www.boost.org
My boost directory is /usr/boost_1_30_0. And it was working before.

Running
./configure --with-boost=/usr/boost_1_30_0
gave me the same result. :(

running bjam from /usr/boost_1_30_0 gives me

Code: Select all

---------------------------------------------------------------------
skipping Boost.Python library build due to missing or incorrect configuration
 
couldn't find Python.h in "/usr/local/include/python2.2"
 
You can configure the location of your python installation by setting:
PYTHON_ROOT    - currently "/usr/local"
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
                 "2.2", NOT "2.2.1")  - currently "2.2"
 
The following are automatically configured from PYTHON_ROOT if not
otherwise set:
 
    PYTHON_LIB_PATH       - path to Python library object; currently
                          "/usr/local/lib/python2.2/config"
    PYTHON_INCLUDES    - path to Python #include directories; currently "/usr/local/include/python2.2"
---------------------------------------------------------------------
...patience...
...found 2280 targets...
Can anybody help me out?

OceanMachine
Pupating Mass
Posts: 95
Joined: Thu Jun 26, 2003 12:09 pm
Location: Chicago

#2 Post by OceanMachine »

see my post here:
http://www.artclusta.com/bb/viewtopic.php?t=113

You need to copy the runtime libraries to your boost lib dir:
libboost_filesystem.a
libboost_regex.a
libboost_signals.a
Programming Lead

mr_ed
Space Squid
Posts: 82
Joined: Thu Jun 26, 2003 1:13 pm
Location: Ottawa

#3 Post by mr_ed »

Ok, I've manually copied the 3 modules into /usr/lib, so I've now got this:

Code: Select all

checking for the Boost C++ libraries, version 1.3.0 or newer... no
checking for main in -lboost_regex... yes
checking for main in -lboost_filesystem... yes
checking for main in -lboost_signals... yes
configure: error: boost libs not found.
** You need the Boost C++ libraries, version 1.3.0 or better,
** as well as the following boost-modules:
** - boost.regex
** - boost.filesystem
** - boost.signals
** download them from http://www.boost.org
What is the actual "boost lib?"

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

#4 Post by tzlaine »

You also need to copy the entire /usr/boost_1_30_0/boost tree into /usr/include. That is, you need to copy the boost directory, which has all the headers (and the headers are almost all of the library).

mr_ed
Space Squid
Posts: 82
Joined: Thu Jun 26, 2003 1:13 pm
Location: Ottawa

#5 Post by mr_ed »

Cool. Thanks. That worked.

Now I just need to get DevIL to work.

It would be nice if he had included a certain h file...

Time to reboot into Windows, download the zip, extract the h file, reboot into Linux, mount Windows drive, and copy file over.

No problem. 8)

Tyreth
FreeOrion Lead Emeritus
Posts: 885
Joined: Thu Jun 26, 2003 6:23 am
Location: Australia

#6 Post by Tyreth »

Can't unzip files in Linux?

mr_ed
Space Squid
Posts: 82
Joined: Thu Jun 26, 2003 1:13 pm
Location: Ottawa

#7 Post by mr_ed »

I was trying gunzip, and that wasn't working.
Under Nautilus, it didn't recognise it at all.
Konqueror opened two folders called "DevIL" and "DevIL" (both of which were empty).

But I didn't try "unzip." Gah! :shock:


Edit: This would work better if that file was in the .zip.

I'm obviously missing something, then. :?

Edit #2: Got it from CVS. Phew!

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

#8 Post by tzlaine »

mr_ed wrote:I was trying gunzip, and that wasn't working.
Under Nautilus, it didn't recognise it at all.
Konqueror opened two folders called "DevIL" and "DevIL" (both of which were empty).

But I didn't try "unzip." Gah! :shock:


Edit: This would work better if that file was in the .zip.

I'm obviously missing something, then. :?

Edit #2: Got it from CVS. Phew!
Yeah, doesn't that suck? I had the same problem, and ended up copying the one file directly out of his CVS repository. He's obviously a Windows developer; there have been other large problems I've seen (I can't remember them all right now) that only affected the Linux build system. Great library, though.

Post Reply