Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Questions about Wine on Linux
Locked
serviteur
Level 2
Level 2
Posts: 10
Joined: Fri Jul 18, 2014 9:11 am

Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Post by serviteur »

Hi,

I have error to compil (install) wine1.6.2 in Ubuntu 14.04 LTs_amd64.

error:

Code: Select all

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.
serviteur@serviteur-HP-xw4600-Workstation:~/wine-1.6.2$ 
Full terminal command:./configure --enable-win64

Code: Select all

serviteur@serviteur-HP-xw4600-Workstation:~/wine-1.6.2$ ./configure --enable-win64
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cpp... cpp
checking whether gcc supports __builtin_ms_va_list... yes
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 strip... strip
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 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... no
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 asm/user.h usability... no
checking asm/user.h presence... no
checking for asm/user.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 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 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 libproc.h usability... no
checking libproc.h presence... no
checking for libproc.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 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/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.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/user.h usability... yes
checking sys/user.h presence... yes
checking for sys/user.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... no
checking sys/vm86.h presence... no
checking for sys/vm86.h... no
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 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... yes
checking zlib.h presence... yes
checking for zlib.h... yes
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... (cached) 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 linux/rtnetlink.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 libprocstat.h... no
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,--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 x86_64-pc-mingw32-gcc... no
checking for amd64-pc-mingw32-gcc... no
checking for x86_64-w64-mingw32-gcc... no
checking for amd64-w64-mingw32-gcc... no
checking for x86_64-mingw32msvc-gcc... no
checking for amd64-mingw32msvc-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.
serviteur@serviteur-HP-xw4600-Workstation:~/wine-1.6.2$ 


How to solved it?


" Excuses me for my bad english, I'm french "
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Post by dimesio »

The message is pretty clear: you are missing the X development files. Install them. If you're not sure which packages to install, ask your distro.

Note that building pure 64 bit Wine is not going to be useful; to run most apps you will need to also build 32 bit Wine for a WoW64 setup, and that will require installing the 32 bit development files as well.
serviteur
Level 2
Level 2
Posts: 10
Joined: Fri Jul 18, 2014 9:11 am

Re: Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Post by serviteur »

Thanks !
Excuse me, what the different X development files I can Installing in Ubuntu?

Can you explain me more how I can do to run most apps you will need to also build 32 bit Wine for a WoW64 setup, and that will require installing the 32 bit development files as well
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Post by dimesio »

serviteur wrote: Excuse me, what the different X development files I can Installing in Ubuntu?
Ask on the Ubuntu forum.
Can you explain me more how I can do to run most apps you will need to also build 32 bit Wine for a WoW64 setup, and that will require installing the 32 bit development files as well
http://wiki.winehq.org/BuildingBiarchWineOnUbuntu
serviteur
Level 2
Level 2
Posts: 10
Joined: Fri Jul 18, 2014 9:11 am

Re: Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Post by serviteur »

Hello,

I am trying to follow the instructions of http://wiki.winehq.org/BuildingBiarchWineOnUbuntu

I have a problem with:

Code: Select all

sudo apt-get build-dep wine
Sorry is it french:

Code: Select all

serviteur@serviteur-HP-xw4600-Workstation:~$ sudo apt-get build-dep wine
[sudo] password for serviteur: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Choix de « wine1.6 » comme paquet source à la place de « wine »
E: Impossible de trouver une source de paquet pour wine1.6
serviteur@serviteur-HP-xw4600-Workstation:~$


To Get the source, no problem:

Code: Select all

serviteur@serviteur-HP-xw4600-Workstation:~$ cd $HOME
serviteur@serviteur-HP-xw4600-Workstation:~$ git clone git://source.winehq.org/git/wine.git ~/wine-git
Clonage dans '/home/serviteur/wine-git'...
remote: Counting objects: 757617, done.
remote: Compressing objects: 100% (127362/127362), done.
remote: Total 757617 (delta 628417), reused 757522 (delta 628359)
Réception d'objets: 100% (757617/757617), 139.92 MiB | 71.00 KiB/s, done.
Résolution des deltas: 100% (628417/628417), done.
Vérification de la connectivité... fait.
serviteur@serviteur-HP-xw4600-Workstation:~$ 
1- Can you help me ?

2 It's possible to place the patch file in the wine-git source directory then apply the patch:

Code: Select all

patch -p1 <0099-EndlessSpace-WGL-ShareList-Hack.patch
serviteur
Level 2
Level 2
Posts: 10
Joined: Fri Jul 18, 2014 9:11 am

Re: Problem to compil (install) Win64 in Ubuntu 14.04_amd64

Post by serviteur »

I have error with:

Code: Select all

 sudo lxc-create -t ubuntu -n my32bitbox -- --bindhome $LOGNAME -a i386

Code: Select all

serviteur@serviteur-HP-xw4600-Workstation:~/wine-git$ sudo lxc-create -t ubuntu -n my32bitbox -- --bindhome $LOGNAME -a i386
[sudo] password for serviteur: 
lxc-create: symbol lookup error: /usr/lib/x86_64-linux-gnu/liblxc.so.1: undefined symbol: cgmanager_get_pid_cgroup_abs_sync
serviteur@serviteur-HP-xw4600-Workstation:~/wine-git$
How I can solved it?
Locked