Scons 오류인데 어떻게 해결해야할지 모르겠습니다

[code:goldudjn]chang-yeop@Lubuntu14:~/게임/wesnoth-1.12.4$ scons
scons: Reading SConscript files ...
Saved options: default_targets = ‘wesnoth,wesnothd’
Building Wesnoth version 1.12.4
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/poll.h... (cached) yes
Checking for C header file sys/select.h... (cached) yes
Checking for C header file sys/sendfile.h... (cached) yes
Checking for C function sendfile()... (cached) yes
Checking for C library m... (cached) yes
Checking for C function round()... (cached) yes
Checking whether C++ compiler works (g++ version >= 3.3 required)... (cached) yes
Checking for Boost iostreams library version >= 1.34.1... (cached) no
Base prerequisites are not met.
Client prerequisites are not met. wesnoth, cutter and exploder cannot be built.
Unit tests are disabled because their prerequisites are not met.
If any config checks fail, look in build/config.log for details
If a check fails spuriously due to caching, use --config=force to force its rerun
NLS tools are not present...
NLS catalogue installation is disabled.
error: No repo or cache detected.
scons: done reading SConscript files.
scons: Building targets ...
error_action(["wesnoth"], [])
scons: *** [wesnoth] Target disabled because its prerequisites are not met
scons: building terminated because of errors.[/code:goldudjn]

[b:goldudjn]Checking for Boost iostreams library version >= 1.34.1… (cached) no[/b:goldudjn]
이 부분이 문제인 것 같아서 시냅틱에서 버전을 확인해봤는데 1.54.0-4ubuntu3.1 이라고 되어있습니다.

1.34.1보다 높으니까 되는건줄 알았는데… 이거 해결하려면 어떻게 해야되는지 궁금합니다.ㅠ

에러 문맥을 읽어 보셨다면 쉽게 이해하실 수 있을 텐데요!

sudo apt-get install libboost-iostreams-dev

그거 설치하고 다시 해봤는데 똑같은 메시지가 나옵니다 ㅠ

libboost-dev 도 설치해 보시고 아마도 해당 라이브러리의 위치를 찾지 못하는 것 같습니다.

터미널에서 ./scons --help를 해 보시고 해당 lib의 위치를 지정해 줄 수 있는 확인해 보십시오.
아마도 --with-boost-libdir 옵션일 것 같습니다만 맞는 지 확인해 보시고 아래와 같이 해 보십시오.

./scons --with-boost-libdir=/usr/lib/x86_64-linux-gnu

libboost-dev를 설치한 뒤에 scons --with-boost-libdir=/usr/lib/x86_64-linux-gnu 해봤더니, SCons Error: no such option: --with-boost-libdir가 나옵니다.

scons --help하면

[code:33pnbngx]scons: Reading SConscript files ...
Saved options: default_targets = ‘wesnoth,wesnothd’
Building Wesnoth version 1.12.4
scons: done reading SConscript files.
Arguments may be a mixture of switches and targets in any order.
Switches apply to the entire build regardless of where they are in the order.
Important switches include:

prefix=/usr     probably what you want for production tools
build=base      build directly in the distribution root;
                you'll need this if you're trying to use Emacs compile mode.
build=release   build the release build variant with appropriate flags
                    in build/release and copy resulting binaries
                    into distribution/working copy root.
build=debug     same for debug build variant, binaries will be copied with -debug suffix

With no arguments, the recipe builds wesnoth and wesnothd. Available
build targets include the individual binaries:

wesnoth wesnothd campaignd exploder cutter test

You can make the following special build targets:

all = wesnoth exploder cutter wesnothd campaignd test (*).
TAGS = build tags for Emacs (*).
wesnoth-deps.png = project dependency graph
install = install all executables that currently exist, and any data needed
install-wesnothd = install the Wesnoth multiplayer server.
install-campaignd = install the Wesnoth campaign server.
install-cutter = install the castle cutter
install-exploder = install the castle exploder
install-pytools = install all Python tools and modules
uninstall = uninstall all executables, tools, modules, and servers.
pot-update = generate gettext message catalog templates and merge them with localized message catalogs
update-po = merge message catalog templates with localized message catalogs for particular lingua
update-po4a = update translations of manual and manpages
af bg ca ... = linguas for update-po
dist = make distribution tarball as wesnoth.tar.bz2 (*).
data-dist = make data tarball as wesnoth-data.tar.bz2 (*).
binary-dist = make data tarball as wesnoth-binaries.tar.bz2 (*).
wesnoth-bundle = make Mac OS application bundle from game (*)
sanity-check = run a pre-release sanity check on the distribution.
manual = regenerate English-language manual and, possibly, localized manuals if appropriate xmls exist.

Files made by targets marked with ‘(*)’ are cleaned by ‘scons -c all’

Options are cached in a file named .scons-option-cache and persist to later
invocations. The file is editable. Delete it to start fresh. You can also use a different file by
specifying --option-cache=FILE command line argument. Current option values can be listed with ‘scons -h’.

If you set CXXFLAGS and/or LDFLAGS in the environment, the values will
be appended to the appropriate variables within scons.

OS_ENV: Forward the entire OS environment to scons (yes|no)
default: False
actual: False

bindir: Where to install binaries ( /path/to/bindir )
default: bin
actual: bin

boost_suffix: Suffix of boost libraries.
default: None
actual: None

boostdir: Directory of boost installation. ( /path/to/boostdir )
default:
actual:

boostfilesystem: Use boost filesystem (yes|no)
default: True
actual: True

boostlibdir: Directory where boost libraries are installed. ( /path/to/boostlibdir )
default:
actual:

build: Build variant: debug, release profile or base (no subdirectory) (release|debug|glibcxx_debug|profile|base)
default: release
actual: release

build_dir: Build all intermediate files(objects, test programs, etc) under this dir ( /path/to/build_dir )
default: build
actual: build

cachedir: Directory that contains a cache of derived files.
default:
actual:

ccache: Use ccache (yes|no)
default: False
actual: False

cxx0x: Use C++0x features. (yes|no)
default: False
actual: False

cxxtool: Set c++ compiler command if not using standard compiler.
default: None
actual: None

datadir: read-only architecture-independent game data ( /path/to/datadir )
default: $datarootdir/$datadirname
actual: share/wesnoth

datadirname: sets the name of data directory ( /path/to/datadirname )
default: wesnoth$version_suffix
actual: wesnoth

datarootdir: sets the root of data directories to a non-default location ( /path/to/datarootdir )
default: share
actual: share

default_prefs_file: default preferences file name ( /path/to/default_prefs_file )
default:
actual:

default_targets: Targets that will be built if no target is specified in command line.
(all|none|comma-separated list of names)
allowed names: wesnoth wesnothd campaignd cutter exploder test
default: wesnoth,wesnothd
actual: wesnoth wesnothd

desktop_entry: Clear to disable desktop-entry (yes|no)
default: True
actual: True

desktopdir: sets the desktop entry directory to a non-default location ( /path/to/desktopdir )
default: $datarootdir/applications
actual: share/applications

destdir: prefix to add to all installation paths. ( /path/to/destdir )
default: /
actual: /

distcc: Use distcc (yes|no)
default: False
actual: False

docdir: sets the doc directory to a non-default location ( /path/to/docdir )
default: $datarootdir/doc/wesnoth
actual: share/doc/wesnoth

extra_flags_base: Extra compiler and linker flags to use for release builds
default:
actual:

extra_flags_config: Extra compiler and linker flags to use for configuration and all builds
default:
actual:

extra_flags_debug: Extra compiler and linker flags to use for debug builds
default:
actual:

extra_flags_profile: Extra compiler and linker flags to use for profile builds
default:
actual:

extra_flags_release: Extra compiler and linker flags to use for release builds
default:
actual:

fast: Make scons faster at cost of less precise dependency tracking. (yes|no)
default: False
actual: False

fifodir: directory for the wesnothd fifo socket file ( /path/to/fifodir )
default: /var/run/wesnothd
actual: /var/run/wesnothd

forum_user_handler: Enable forum user handler in wesnothd (yes|no)
default: False
actual: False

fribidi: Clear to disable bidirectional-language support (yes|no)
default: True
actual: True

gettextdir: Root directory of Gettext’s installation. ( /path/to/gettextdir )
default:
actual:

gtkdir: Directory where GTK SDK is installed. ( /path/to/gtkdir )
default:
actual:

host: Cross-compile host.
default:
actual:

icondir: sets the icons directory to a non-default location ( /path/to/icondir )
default: $datarootdir/icons
actual: share/icons

internal_data: Set to put data in Mac OS X application fork (yes|no)
default: False
actual: False

jobs: Set the number of parallel compilations
default: 1
actual: 1

localedirname: sets the locale data directory to a non-default location ( /path/to/localedirname )
default: translations
actual: translations

lockfile: Create a lockfile to prevent multiple instances of scons from being run at the same time on this working copy. (yes|no)
default: False
actual: False

lowmem: Set to reduce memory usage by removing extra functionality (yes|no)
default: False
actual: False

luadir: Directory where Lua binary package is unpacked. ( /path/to/luadir )
default:
actual:

mandir: sets the man pages directory to a non-default location ( /path/to/mandir )
default: $datarootdir/man
actual: share/man

nls: enable compile/install of gettext message catalogs (yes|no)
default: True
actual: True

notifications: Enable support for desktop notifications (yes|no)
default: True
actual: True

openmp: Enable openmp use. (yes|no)
default: False
actual: False

prefix: autotools-style installation prefix ( /path/to/prefix )
default: /usr/local
actual: /usr/local

prefsdir: user preferences directory ( /path/to/prefsdir )
default:
actual:

prereqs: abort if prerequisites cannot be detected (yes|no)
default: True
actual: True

program_suffix: suffix to append to names of installed programs
default: $version_suffix
actual:

python_site_packages_dir: sets the directory where python modules are installed ( /path/to/python_site_packages_dir )
default: lib/python/site-packages/wesnoth
actual: lib/python/site-packages/wesnoth

raw_sockets: Set to use raw receiving sockets in the multiplayer network layer rather than the SDL_net facilities (yes|no)
default: False
actual: False

sdldir: Directory of SDL installation. ( /path/to/sdldir )
default:
actual:

server_gid: group id of the user who runs wesnothd
default:
actual:

server_uid: user id of the user who runs wesnothd
default:
actual:

static_test: Staticaly build against boost test (Not supported yet) (yes|no)
default: False
actual: False

strict: Set to strict compilation (yes|no)
default: False
actual: False

systemd: Install systemd unit file for wesnothd (yes|no)
default: False
actual: False

verbose: Emit progress messages during data installation. (yes|no)
default: False
actual: False

version_suffix: suffix that will be added to default values of prefsdir, program_suffix and datadirname
default:
actual:

Use scons -H for help about command-line options.[/code:33pnbngx]

이게 나오고, scons -H하면

[code:33pnbngx]usage: scons [OPTION] [TARGET] ...

SCons Options:
-b, -d, -e, -m, -S, -t, -w, --environment-overrides, --no-keep-going,
–no-print-directory, --print-directory, --stop, --touch
Ignored for compatibility.
-c, --clean, --remove Remove specified targets and dependencies.
-C DIR, --directory=DIR Change to DIR before doing anything.
–cache-debug=FILE Print CacheDir debug info to FILE.
–cache-disable, --no-cache
Do not retrieve built targets from CacheDir.
–cache-force, --cache-populate
Copy already-built targets into the CacheDir.
–cache-show Print build actions for files from CacheDir.
–config=MODE Controls Configure subsystem: auto, force,
cache.
-D Search up directory tree for SConstruct,
build all Default() targets.
–debug=TYPE Print various types of debugging information:
count, duplicate, explain, findlibs, includes,
memoizer, memory, objects, pdb, prepare,
presub, stacktrace, time.
–diskcheck=TYPE Enable specific on-disk checks.
–duplicate=DUPLICATE Set the preferred duplication methods. Must be
one of hard-soft-copy, soft-hard-copy,
hard-copy, soft-copy, copy
-f FILE, --file=FILE, --makefile=FILE, --sconstruct=FILE
Read FILE as the top-level SConstruct file.
-h, --help Print defined help message, or this one.
-H, --help-options Print this message and exit.
-i, --ignore-errors Ignore errors from build actions.
-I DIR, --include-dir=DIR Search DIR for imported Python modules.
–implicit-cache Cache implicit dependencies
–implicit-deps-changed Ignore cached implicit dependencies.
–implicit-deps-unchanged Ignore changes in implicit dependencies.
–interact, --interactive Run in interactive mode.
-j N, --jobs=N Allow N jobs at once.
-k, --keep-going Keep going when a target can’t be made.
–max-drift=N Set maximum system clock drift to N seconds.
–md5-chunksize=N Set chunk-size for MD5 signature computation to
N kilobytes.
-n, --no-exec, --just-print, --dry-run, --recon
Don’t build; just print commands.
–no-site-dir Don’t search or use the usual site_scons dir.
–profile=FILE Profile SCons and put results in FILE.
-q, --question Don’t build; exit status says if up to date.
-Q Suppress "Reading/Building" progress messages.
–random Build dependencies in random order.
-s, --silent, --quiet Don’t print commands.
–site-dir=DIR Use DIR instead of the usual site_scons dir.
–stack-size=N Set the stack size of the threads used to run
jobs to N kilobytes.
–taskmastertrace=FILE Trace Node evaluation to FILE.
–tree=OPTIONS Print a dependency tree in various formats: all,
derived, prune, status.
-u, --up, --search-up Search up directory tree for SConstruct,
build targets at or below current directory.
-U Search up directory tree for SConstruct,
build Default() targets from local SConscript.
-v, --version Print the SCons version number and exit.
–warn=WARNING-SPEC, --warning=WARNING-SPEC
Enable or disable warnings.
-Y REPOSITORY, --repository=REPOSITORY, --srcdir=REPOSITORY
Search REPOSITORY for source and target files.[/code:33pnbngx]

이렇게 나옵니다.

–with-boost-libdir 이건 목록에 없어서 어떤 걸 써야하는지 모르겠네요…

-D 이건가…? 자꾸 귀찮게 해드려서 죄송한데 한번만 더 도와주세요 ㅠㅠ

[quote:1hvzy8cw]boostdir: Directory of boost installation. ( /path/to/boostdir )
default:
actual:

boostfilesystem: Use boost filesystem (yes|no)
default: True
actual: True

boostlibdir: Directory where boost libraries are installed. ( /path/to/boostlibdir )
default:
actual: [/quote:1hvzy8cw]

보여주신 내용 중에 boostlibdir 옵션일 것 같습니다. path를 지정해 보시고
만약 같은 에러가 나온다면 /usr/lib/x86_64-linux-gnu 하위 디렉토리 중에서(아키덱처에 맞게) libboost_iostreams.so.버전.0 파일을 찾아 보십시오.

위의 파일이 원본이므로 심볼릭 링크를 아래 처럼 걸어 보신 후 다시 시도해 보십시오.

sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.버전.0 /usr/lib/x86_64-linux-gnu/libboost_iostreams.so

scons --boostlibdir=/usr/lib/x86_64-linux-gnu

대충 적었는 데 이해가 잘 될지 모르겠군요!