
Ubuntu日本語フォーラム

ログインしていません。
12.4日本語REMIXを使っています。
http://note.chiebukuro.yahoo.co.jp/detail/n179604を参考にして、
wine1.6.1とwine1.7.7をインストールしようとしたのですが、どちらもmakeが通りませんでした。
wine-1.6.1$ make make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止.
どうしたらインストールできるでしょうか。
オフライン
Makefileがないんでしょうね。
3)端末(ユーザー権限)を起動します。以下のコマンドを入力して「wine1.x.x」ディレクトリ内に入り、コンパイル処理を開始します(マシンの処理能力にもよりますが大体2〜3時間位かかります):
cd /home/(ユーザー名)/wine-1.x.x/ (ディレクトリに入ります)
./configure (問題点や破損箇所がないか確認します)
make (コンパイルを開始します)
とありますが、手続き通りされましたか?
オフライン
もちろん行いました。
ただ./configureは打っただけで、問題点や破損箇所の確認と修正は行なっていません。
wineをインストールするのに何が必要で何が不必要か分からなかったからです。
手続き中それを行わなかったから、makeが通らなかったということでしょうか。
Makefileってアーカイブの中に最初から入っていると思っていたのですが違うのですか。
以下に./configureの結果を貼ります。すごく長いです。
恐れ入りますがおかしなところがあれば指摘していただけますか。
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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for cpp... cpp checking for the directory containing the Wine tools... $(top_builddir) checking for flex... flex checking whether flex is recent enough... yes checking for bison... bison checking for ar... ar checking for ranlib... ranlib checking whether ln -s works... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ldconfig... /sbin/ldconfig checking for a BSD-compatible install... /usr/bin/install -c checking for lclint... no checking for lint... no checking for fontforge... no checking for rsvg... no checking for convert... convert checking for icotool... icotool checking for msgfmt... msgfmt checking for pkg-config... pkg-config checking whether msgfmt supports contexts... yes checking for i386_set_ldt in -li386... no checking for _oss_ioctl in -lossaudio... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking how to run the C preprocessor... gcc -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 AL/al.h usability... no checking AL/al.h presence... no checking for AL/al.h... no checking ApplicationServices/ApplicationServices.h usability... no checking ApplicationServices/ApplicationServices.h presence... no checking for ApplicationServices/ApplicationServices.h... no checking AudioToolbox/AudioConverter.h usability... no checking AudioToolbox/AudioConverter.h presence... no checking for AudioToolbox/AudioConverter.h... no checking AudioUnit/AudioUnit.h usability... no checking AudioUnit/AudioUnit.h presence... no checking for AudioUnit/AudioUnit.h... no checking AudioUnit/AudioComponent.h usability... no checking AudioUnit/AudioComponent.h presence... no checking for AudioUnit/AudioComponent.h... no checking CL/cl.h usability... no checking CL/cl.h presence... no checking for CL/cl.h... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking CoreServices/CoreServices.h usability... no checking CoreServices/CoreServices.h presence... no checking for CoreServices/CoreServices.h... no checking DiskArbitration/DiskArbitration.h usability... no checking DiskArbitration/DiskArbitration.h presence... no checking for DiskArbitration/DiskArbitration.h... no checking IOKit/IOKitLib.h usability... no checking IOKit/IOKitLib.h presence... no checking for IOKit/IOKitLib.h... no checking IOKit/hid/IOHIDLib.h usability... no checking IOKit/hid/IOHIDLib.h presence... no checking for IOKit/hid/IOHIDLib.h... no checking OpenAL/al.h usability... no checking OpenAL/al.h presence... no checking for OpenAL/al.h... no checking OpenCL/opencl.h usability... no checking OpenCL/opencl.h presence... no checking for OpenCL/opencl.h... no checking QuickTime/ImageCompression.h usability... no checking QuickTime/ImageCompression.h presence... no checking for QuickTime/ImageCompression.h... no checking Security/Security.h usability... no checking Security/Security.h presence... no checking for Security/Security.h... no checking alias.h usability... no checking alias.h presence... no checking for alias.h... no checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking capi20.h usability... no checking capi20.h presence... no checking for capi20.h... no checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking fontconfig/fontconfig.h usability... no checking fontconfig/fontconfig.h presence... no checking for fontconfig/fontconfig.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking gettext-po.h usability... yes checking gettext-po.h presence... yes checking for gettext-po.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking gsm.h usability... no checking gsm.h presence... no checking for gsm.h... no checking gsm/gsm.h usability... no checking gsm/gsm.h presence... no checking for gsm/gsm.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking inet/mib2.h usability... no checking inet/mib2.h presence... no checking for inet/mib2.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking lber.h usability... no checking lber.h presence... no checking for lber.h... no checking ldap.h usability... no checking ldap.h presence... no checking for ldap.h... no checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking linux/cdrom.h usability... yes checking linux/cdrom.h presence... yes checking for linux/cdrom.h... yes checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking linux/filter.h usability... yes checking linux/filter.h presence... yes checking for linux/filter.h... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking linux/ioctl.h usability... yes checking linux/ioctl.h presence... yes checking for linux/ioctl.h... yes checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/param.h usability... yes checking linux/param.h presence... yes checking for linux/param.h... yes checking linux/serial.h usability... yes checking linux/serial.h presence... yes checking for linux/serial.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking linux/ucdrom.h usability... no checking linux/ucdrom.h presence... no checking for linux/ucdrom.h... no checking lwp.h usability... no checking lwp.h presence... no checking for lwp.h... no checking mach-o/nlist.h usability... no checking mach-o/nlist.h presence... no checking for mach-o/nlist.h... no checking mach-o/loader.h usability... no checking mach-o/loader.h presence... no checking for mach-o/loader.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking mach/machine.h usability... no checking mach/machine.h presence... no checking for mach/machine.h... no checking machine/cpu.h usability... no checking machine/cpu.h presence... no checking for machine/cpu.h... no checking machine/limits.h usability... no checking machine/limits.h presence... no checking for machine/limits.h... no checking machine/sysarch.h usability... no checking machine/sysarch.h presence... no checking for machine/sysarch.h... no checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking mpg123.h usability... no checking mpg123.h presence... no checking for mpg123.h... no checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/tcp_fsm.h usability... no checking netinet/tcp_fsm.h presence... no checking for netinet/tcp_fsm.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking port.h usability... no checking port.h presence... no checking for port.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking scsi/scsi_ioctl.h usability... yes checking scsi/scsi_ioctl.h presence... yes checking for scsi/scsi_ioctl.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking sys/asoundlib.h usability... no checking sys/asoundlib.h presence... no checking for sys/asoundlib.h... no checking sys/attr.h usability... no checking sys/attr.h presence... no checking for sys/attr.h... no checking sys/cdio.h usability... no checking sys/cdio.h presence... no checking for sys/cdio.h... no checking sys/elf32.h usability... no checking sys/elf32.h presence... no checking for sys/elf32.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/exec_elf.h usability... no checking sys/exec_elf.h presence... no checking for sys/exec_elf.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/limits.h usability... no checking sys/limits.h presence... no checking for sys/limits.h... no checking sys/link.h usability... no checking sys/link.h presence... no checking for sys/link.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/mtio.h usability... yes checking sys/mtio.h presence... yes checking for sys/mtio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/protosw.h usability... no checking sys/protosw.h presence... no checking for sys/protosw.h... no checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/scsiio.h usability... no checking sys/scsiio.h presence... no checking for sys/scsiio.h... no checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/socketvar.h usability... yes checking sys/socketvar.h presence... yes checking for sys/socketvar.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/strtio.h usability... no checking sys/strtio.h presence... no checking for sys/strtio.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/tihdr.h usability... no checking sys/tihdr.h presence... no checking for sys/tihdr.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeout.h usability... no checking sys/timeout.h presence... no checking for sys/timeout.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vm86.h usability... yes checking sys/vm86.h presence... yes checking for sys/vm86.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking syscall.h usability... yes checking syscall.h presence... yes checking for syscall.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking tiffio.h usability... no checking tiffio.h presence... no checking for tiffio.h... no checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no checking whether stat file-mode macros are broken... no checking for sys/mount.h... yes checking for sys/statfs.h... yes checking for sys/sysctl.h... yes checking for sys/user.h... yes checking for sys/vfs.h... yes checking for netinet/ip.h... yes checking for net/if.h... yes checking for net/if_arp.h... yes checking for net/if_dl.h... no checking for net/if_types.h... no checking for net/route.h... yes checking for netinet/if_ether.h... yes checking for netinet/if_inarp.h... no checking for netinet/in_pcb.h... no checking for netinet/ip_icmp.h... yes checking for netinet/ip_var.h... no checking for netinet/udp.h... yes checking for netipx/ipx.h... yes checking for sys/un.h... yes checking for netinet/tcp_timer.h... no checking for netinet/udp_var.h... no checking for netinet/icmp_var.h... no checking for netinet/tcp_var.h... no checking for linux/ipx.h... yes checking for linux/irda.h... yes checking for mach-o/dyld_images.h... no checking for resolv.h... yes checking for ifaddrs.h... yes checking for ucontext.h... yes checking for sys/thr.h... no checking for pthread_np.h... no checking for linux/videodev.h... no checking for linux/videodev2.h... yes checking for libv4l1.h... no checking for linux/capi.h... yes checking for ldd... /usr/bin/ldd checking for readelf... readelf checking whether we can build a GNU style ELF dll... yes checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... yes checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... yes checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... yes checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... yes checking whether the compiler supports -fPIC -Wl,--export-dynamic... yes checking whether the compiler supports -fPIC -Wl,--rpath,$ORIGIN/../lib... yes checking whether the compiler supports -Wl,--enable-new-dtags... yes checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... yes checking for prelink... false checking for i686-w64-mingw32-gcc... no checking for i586-w64-mingw32-gcc... no checking for i486-w64-mingw32-gcc... no checking for i386-w64-mingw32-gcc... no checking for i686-pc-mingw32-gcc... no checking for i586-pc-mingw32-gcc... no checking for i486-pc-mingw32-gcc... no checking for i386-pc-mingw32-gcc... no checking for i686-mingw32msvc-gcc... no checking for i586-mingw32msvc-gcc... no checking for i486-mingw32msvc-gcc... no checking for i386-mingw32msvc-gcc... no checking for i686-mingw32-gcc... no checking for i586-mingw32-gcc... no checking for i486-mingw32-gcc... no checking for i386-mingw32-gcc... no checking for mingw32-gcc... no checking for pthread_create... no checking for pthread_create in -lpthread... yes checking for X... no configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this.
オフライン
configure: error: X development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
X dev ファイルがないので、エラーとなり、makefile を出力してないようです。
本当に、X(GUI)がいらないなら、--without-x を付けて、configure しなさい、と言ってます。
X が必要なら、xserver-xorg-dev をインストールすれば良いんじゃないでしょうか?
オフライン
ybr170 による投稿:
もちろん行いました。
ただ./configureは打っただけで、問題点や破損箇所の確認と修正は行なっていません。
wineをインストールするのに何が必要で何が不必要か分からなかったからです。
手続き中それを行わなかったから、makeが通らなかったということでしょうか。
Makefileってアーカイブの中に最初から入っていると思っていたのですが違うのですか。
貼り付けて下さった./configureの結果を見る限り、まさに「問題点」があるわけですから、当然、次には進めませんよね。
Makefileは最初から入っているとは限りません。
例えば、インストール先を自分で指定したい場合、不必要な機能は外したい場合や逆に機能を付ける場合などでは
./configureに様々なオプションを付けることで自分の望むようなビルドをしてくれるMakefileを生成します。
このようにソースからビルドするということは、自分の環境や使用法に最適化されたバイナリを生成するという意味合いもあるわけです
今回の場合、オプションなしで./configureして、オプションなしで作成されるであろうMakefileに必要なものが入ってなくて
エラーになってて、従ってMakefileも作成されていないということになります。(これはsiさんも書いてくださってますね。)
対処法はsiさんの書いてくださっているとおりですが、Xの開発ファイルを入れたからといって、即./configureが通るとは限りません。
このあとも「これが足りない」「あれが足りない」と一つずつ言われる可能性があるので、それぞれ対応するパッケージをインストールする必要があります。
ご覧になって分かるとおり、configureが出力するエラーにはsiさんも書いてくださっているような「'xserver-xorg-dev'というパッケージを入れよ」という
メッセージは書かれていませんから、同じような問題に遭遇したら、自分で対応するそれっぽいライブラリをレポジトリから探して入れる、ということが必要です。
オフライン
Wine Team PPAのをインストールするだけで済む話のような気がします。
$ sudo apt-get build-dep wine1.7
とかでビルドに必要な依存パッケージを入れてみる、というのはダメなんでしょうか。
オフライン
久しぶりに手順を最初からやったらwine1.6.1がインストールできました。
もしかしたら、apt-getするサーバーを最近になって変えたので、それで上手く言ったのかも知れません。
ともかく成功したので良かったです。
皆さんありがとうございました。
オフライン