極端なタキシードレーサーを構築するためにsfml-audioをインストールする方法は?

極端なタキシードレーサーを構築するためにsfml-audioをインストールする方法は?

SourceforgeからExtreme Tux Racerを.tar.xzにダウンロードしました。tar xJFファイルを操作してディレクトリを作成し、そこに入力して実行しました。./configure依存関係のリストを表示して、インストールするかどうかを示します。

 ikigai@ikigai-SATELLITE-L50D-B ~/Downloads/etr-0.7.1 $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for floor... no
checking for getcwd... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... no
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SFML_AUDIO... no
configure: error: sfml-audio not found

sudo apt-get install floor 直感的に「いいえ」と識別される依存関係の1つをインストールしようとしましたが、あまり意味がないようです。それにもかかわらず、これがこれまで私が知っている唯一の方法です。 「いいえ」から「はい」に変更するにはどうすればよいですか? ?

libc6-devがインストールされているかどうかに関する質問について何もせずに実行しましたがldconfig -p | grep libc6-dev、実行してみると、ldconfig -p | grep libc6その文字列を含む行がたくさん表示されました。

パッケージマネージャを開いたところ、その用語を入力したところ、sfml約30本ほどの別の行が出て、sfml-audioそのうち約10本くらいでした。私は正しいものを選ぶ方法がわからない。

私はLinux Mint 17.3 Rosaを使用しています。

ベストアンサー1

出力でconfigure「いいえ」を心配しないでください。これは単に機能がないことを示します。しかし、その機能の使命は、configureシステムに存在する機能と存在しない機能を検出し、それに応じてソフトウェアのコンパイル時構成を調整することです。

強制機能が存在しない場合、configureエラーがあることを示すメッセージが表示されます。ここに実際にバグがあります。

configure: error: sfml-audio not found

適切なツールをインストールする必要があります。ソフトウェアをコンパイルするには、正しい開発パッケージが必要です。 Debianとその派生製品(Linux Mintを含む)では、開発パッケージの規則は名前が始まるということです-dev。ソフトウェアを実行するには、対応する動的ライブラリパッケージが必要です。 Debianのファイルリスト()を見ると、apt-file search sfml-audioこれはコンパイルに必要なようですlibsfml-dev。開発パッケージをインストールすると、正しいランタイムライブラリ(ここlibsfml-audio2)もインストールされます。

必要な依存関係をインストールして./configure再実行してください。

おすすめ記事