You are not logged in.

#1 2012-09-20 11:20:36

using_GNU
Member
Registered: 2012-07-30
Posts: 32

Problems in order to build DarkRadiant editor

Hello gentlemen, I have problems in order to install DarkRadiant From source.

DarkRadiant is the map editor for the Darkmod Project, a modification of Doom3.

The problem is that when I do:

./autogen
./configure

the terminal shows me this:

checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++

checking boost/regex.hpp usability... yes
checking boost/regex.hpp presence... yes
checking for boost/regex.hpp... yes
checking for the Boost regex library... yes
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem library... yes
checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) yes
checking for python-config... python-config
checking boost/python.hpp usability... yes
checking boost/python.hpp presence... yes
checking for boost/python.hpp... yes
checking for the Boost python library... no
configure: error: cannot find the flags to link with Boost python


And I can't compile it,


I have tried using AUR but it is even worst, the package installs correctly, but when i run the editor:


segmentation fault.

Offline

#2 2012-09-20 11:55:52

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,208
Website

Re: Problems in order to build DarkRadiant editor

If it built from AUR why do you you think you'd get a different result from building it manually?  All that makepkg does is run the commands needed to build it.

That said, if you want to do it yourself, you should look at the PKGBUILD to see which commands are needed.  Use autoreconf instead of autogen, modify the configure script, set the environment variables, and pass the right parameters to configure.

Edit: I just built it from the AUR.  I got segfaults after it started when it tried to load files that don't exist (/usr/local/game/doom3).  This is an upstream bug, report it there.

Last edited by Trilby (2012-09-20 12:28:21)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#3 2012-09-20 21:49:04

using_GNU
Member
Registered: 2012-07-30
Posts: 32

Re: Problems in order to build DarkRadiant editor

I thought that because I installed Doom3 in usr/local/games and darkmod in home/.doom3/darkmod and i thinked that the packager would have /usr/opt in mind.

In any case, I installed everything later from AUR, and Segmentation Fault was on the way. You can see that i have almost no experience in the use of configure a tarbal instalation package if you could give me a link of a tutorial, a manual, wiki... I would be very thankful. And i could help others with the same problem.


Thank you for trying to help.

I've reported this to the creators of the DarkRadiant, and they also don't know exactly how to solve it

Offline

#4 2012-09-21 03:14:53

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,208
Website

Re: Problems in order to build DarkRadiant editor

The right build commands and flags to use will really depend on the package.  Many will come with installation guidelines (even an INSTALL file).  There are a few general patterns: if there is a Makefile, run make.  If there is a configure script, the run configure then make.  If there are cmake files, run cmake then make.  But all the flags and environment variables information for this case I just took from the PKGBUILD.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#5 2012-09-21 10:41:37

using_GNU
Member
Registered: 2012-07-30
Posts: 32

Re: Problems in order to build DarkRadiant editor

Thank you, One person in the Darkmod forums tell me one thing in the instalation process, let see if in this weekend i can make it work

I' will post the link of the page if i succeed, if not, i will tell you

Offline

Board footer

Powered by FluxBB