2025-11-27 22:57 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002641Spring engineGeneralpublic2011-12-16 16:20
Reporterabma 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
Product Version 
Target VersionFixed in Version 
Summary0002641: make install-spring-headless doesn't install basecontent
Descriptionimo basecontent should be also installed...
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0007328

abma (administrator)

Last edited: 2011-09-06 00:49

before solving + closing this bug, please replace

https://github.com/spring/spring/blob/master/buildbot/slave/tests.sh#L21
make install

with

make install-spring-headless

~0007331

hoijui (reporter)

hmmm thats strange...
if you look at the CMake code, you can see that default, headless and multithreaded all call the same functions to build & install stuff,
and that is where basecontent/gamedata is built and installed.
so it should either fail for all 3 or none.
when i execute "make install-spring-headless", it does install basecontent.
could it be that it ends up somewhere where it is not foudn afterwards, maybe cause one of the *DIR vars that we use in our CMake scripts is not set properly?

~0007344

abma (administrator)

hmm, i guess it happened because it was a complete clean build-dir....

something like:

git clean -x -n -d (replace -n with -f if its fine)
cmake .
make install-spring-headless

~0007357

hoijui (reporter)

i did a fresh clone, cmake configure, and "make install-spring-headless", and it built and installed basecontent just fine.
please check if it ends up in the wrong place (look at install printouts of cmake maybe).

~0007358

hoijui (reporter)

INSTALL_DIR=/home/myUser/games/spring_abc_headless

mkdir -p ${INSTALL_DIR}

cmake \
    -DSPRING_DATADIR="${INSTALL_DIR}" \
    -DCMAKE_INSTALL_PREFIX="" \
    -DBINDIR=. -DLIBDIR=. -DMANDIR=. -DDOCDIR=doc -DDATADIR=. \
    -DNO_SOUND=TRUE \
    -DHEADLESS_SYSTEM=TRUE

make install-spring-headless DESTDIR=${INSTALL_DIR}

~0007929

hoijui (reporter)

it seems to work here/can't reproduce it.. reopen if you get the problem again.
+Notes

-Issue History
Date Modified Username Field Change
2011-09-06 00:22 abma New Issue
2011-09-06 00:22 abma Summary (master) make install-spring-headless doesn't install basecontent => make install-spring-headless doesn't install basecontent
2011-09-06 00:49 abma Note Added: 0007328
2011-09-06 00:49 abma Note Edited: 0007328
2011-09-06 15:18 hoijui Note Added: 0007331
2011-09-08 21:27 abma Note Added: 0007344
2011-09-10 15:05 hoijui Note Added: 0007357
2011-09-10 15:11 hoijui Note Added: 0007358
2011-12-16 16:20 hoijui Note Added: 0007929
2011-12-16 16:20 hoijui Status new => closed
2011-12-16 16:20 hoijui Resolution open => suspended
+Issue History