You are not logged in.

#26 2009-06-25 11:54:15

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: Curses problem with Wine

Sorry I'm a bit confused so I'll jot down the facts here : I have a x86-64 Arch Linux, and since there isn't x86-64 Wine in ABS and the AUR bin32-version didn't work (or actually worked fine otherwise but wasn't able to use curses), I think it's best to just wait and see if the x86-64 works better.

Offline

#27 2009-06-25 15:09:14

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: Curses problem with Wine

If by 'better' you mean has ncurses support, that's unlikely. If regular i686 wine doesn't have it built-in, x86_64 wine would probably not either. It would not make sense for Arch to have two packages of the same program built with different capabilities. It pretty much never happens.

Like the previous poster said though, Arch's x86_64 wine (as opposed to bin32-wine, 32 bit wine for running on 64 bit) will *only* run 64 bit programs, rendering it useless for many programs. I highly doubt that's what you want, but I don't know what your intentions are either.

"Since there isn't x86-64 wine in abs" gives off at least the impression that you didn't read my prior posts clearly or misunderstood.. I said there wasn't an x86_64 wine in ABS; you would have to go into a 32 bit environment/install and both get AND compile wine from there. I've done it quite a few times. After you did that from a 32 bit environment, you would go back to 64 bit and take the output from what you just did and plug it into the AUR bin32-wine pkgbuild. In your list of things you tried before giving up that didn't work, you give no indication at all you tried it that way as was suggested..

Anyway.. that's enough fun for me..

Last edited by FrozenFox (2009-06-26 06:17:53)

Offline

#28 2009-06-26 08:14:28

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: Curses problem with Wine

I messed up my system trying to setup chroot (probably clogged the root partition or something) and I'm rather reluctant to try again. I'm going to try compiling the source one more time and if that doesn't work I'll let it be.

EDIT: I'll just wait for the X86-64 compatible to be released. Whwn that happens, it will probably find it's way in ABS, and I don't have to start messing with chroot. I'm in no hurry.

Last edited by KViiri (2009-06-30 07:28:34)

Offline

#29 2010-01-26 03:05:02

measure
Member
Registered: 2009-07-17
Posts: 62

Re: Curses problem with Wine

Edit: Searching around it seems like there is an libncurses-devel for other distributions?  I am not sure if this is perhaps the problem.  Also, it just hit me how funny the title of this thread is: Curses problem with Wine.  Haven't we all lamented alcoholism and become angry!

First, sorry for bringing back a somewhat old topic.  But all of the information is here, so, why make another?

FrozenFox wrote:

IE: In a 32 bit chroot or installation,
1) grab the Wine source from ABS
2) edit it with the desired configure flags
3) compile that with makepkg (you might want to install this to test curses support before #4 if on a 32b install!)
4) grab bin32-wine from AUR
5) plug the binary from #3 into the bin32-wine pkgbuild (unchanged) as the source (comment out the md5sum if there)
.. The resulting binary from THAT would be what you want, to transfer to your 64 bit install, for usual installation with pacman -U.

This would undoubtedly be a pain in the ass, and a little complicated, so I don't know if it's really worth the effort. If you want to though, there's a guide for setting up a 32 bit chroot in the wiki, OR you can just install normal 32 bit to another partition. Either way, you'd do so and then continue as previously mentioned.

I also desire wineconsole with ncurses support (either this, or a way to copy text from a wineconsole terminal and paste it into a regular terminal).  Anyway, I am attempting to follow these instructions, as I am using x86_64.  I believe I have correctly set up the chroot Arch32 environment.  I grabbed the source from ABS, and I added the --with-curses to ./configure command.  I believe this is the correct option, but it has produced another problem, which is probably relatively easy to fix...I just am not sure how.

This seems like the important part to me...

checking for -lncurses... not found
checking for mousemask... no
configure: error: lib(n)curses 32-bit development files not found, curses won't be supported.
This is an error since --with-curses was requested.

This is everything, just for the hell of it...

==> Retrieving Sources...
  -> Downloading wine-1.1.37.tar.bz2...
--2010-01-26 01:13:52--  http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.37.tar.bz2
Resolving ibiblio.org... 152.46.7.80
Connecting to ibiblio.org|152.46.7.80|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16141072 (15M) [application/x-bzip2]
Saving to: "wine-1.1.37.tar.bz2.part"

100%[========================================================================================================================================================================>] 16,141,072   490K/s   in 30s     

2010-01-26 01:14:22 (534 KB/s) - "wine-1.1.37.tar.bz2.part" saved [16141072/16141072]

==> Validating source files with md5sums...
    wine-1.1.37.tar.bz2 ... Passed
==> Extracting Sources...
  -> Extracting wine-1.1.37.tar.bz2 with bsdtar
==> Starting build()...
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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking whether gcc -m32 works... yes
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking for flex... flex
checking whether flex is recent enough... yes
checking for bison... bison
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking whether ln -s works... yes
checking whether ln 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... /bin/install -c
checking for lclint... no
checking for lint... no
checking for fontforge... fontforge
checking for pkg-config... pkg-config
checking for rsvg... no
checking for icotool... no
checking for prelink... false
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 -m32 -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 AudioUnit/AudioUnit.h usability... no
checking AudioUnit/AudioUnit.h presence... no
checking for AudioUnit/AudioUnit.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 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 alias.h usability... no
checking alias.h presence... no
checking for alias.h... no
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
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... yes
checking curses.h presence... yes
checking for curses.h... yes
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... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.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 jack/jack.h usability... yes
checking jack/jack.h presence... yes
checking for jack/jack.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking lcms.h usability... yes
checking lcms.h presence... yes
checking for lcms.h... yes
checking lcms/lcms.h usability... no
checking lcms/lcms.h presence... no
checking for lcms/lcms.h... no
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking libaudioio.h usability... no
checking libaudioio.h presence... no
checking for libaudioio.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/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 mach-o/nlist.h usability... no
checking mach-o/nlist.h presence... no
checking for mach-o/nlist.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/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.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... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
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 openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
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 regex.h usability... yes
checking regex.h presence... yes
checking for regex.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 soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/asoundlib.h usability... yes
checking sys/asoundlib.h presence... yes
checking for sys/asoundlib.h... yes
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/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.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/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
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/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.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 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... 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 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 ucontext.h... yes
checking for sys/thr.h... no
checking for pthread_np.h... no
checking for linux/videodev.h... yes
checking for linux/capi.h... yes
checking for ldd... /usr/bin/ldd
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 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 pthread_create in -lpthread... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for -lX11... libX11.so.6
checking for -lXext... libXext.so.6
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking for X11/Xutil.h... yes
checking for X11/Xcursor/Xcursor.h... yes
checking for X11/extensions/shape.h... yes
checking for X11/extensions/XInput.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/Xcomposite.h... yes
checking for X11/extensions/Xinerama.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking for X11/extensions/xf86vmproto.h... yes
checking for XkbQueryExtension in -lX11... yes
checking for -lXcursor... libXcursor.so.1
checking for -lXi... libXi.so.6
checking for XShmQueryExtension in -lXext... yes
checking for XShapeQueryExtension in -lXext... yes
checking for -lXxf86vm... libXxf86vm.so.1
checking for -lXrender... libXrender.so.1
checking for XRenderSetPictureTransform in -lXrender... yes
checking for -lXrandr... libXrandr.so.2
checking for -lXinerama... libXinerama.so.1
checking for -lXcomposite... libXcomposite.so.1
checking for XICCallback.callback... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... libGL.so.1
checking for -lGLU... libGLU.so.1
checking audio/audiolib.h usability... no
checking audio/audiolib.h presence... no
checking for audio/audiolib.h... no
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking for xmlParseMemory in -lxml2... yes
checking for xmlReadMemory in -lxml2... yes
checking for xmlNewDocPI in -lxml2... yes
checking for libxslt/pattern.h... yes
checking for libxslt/transform.h... yes
checking for -lxslt... libxslt.so.1
checking dbus/dbus.h usability... no
checking dbus/dbus.h presence... no
checking for dbus/dbus.h... no
checking hal/libhal.h usability... no
checking hal/libhal.h presence... no
checking for hal/libhal.h... no
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking for -lgnutls... libgnutls.so.26
checking for -lncurses... not found
checking for mousemask... no
configure: error: lib(n)curses 32-bit development files not found, curses won't be supported.
This is an error since --with-curses was requested.
make: *** No rule to make target `depend'.  Stop.
==> ERROR: Build Failed.
    Aborting...

This makes me believe that --with-curses is the proper option.  What I am not sure of is where the ncurses library is, and furthermore, once knowing where it is, how to tell it that it is there.  Everything you guys have recommended thus far has been really helpful, so I am sure this won't be too difficult for you guys.

Thanks,
Ryan

Last edited by measure (2010-01-26 10:16:43)

Offline

#30 2010-01-27 01:17:39

measure
Member
Registered: 2009-07-17
Posts: 62

Re: Curses problem with Wine

Bump...

Offline

#31 2010-01-28 02:41:44

measure
Member
Registered: 2009-07-17
Posts: 62

Re: Curses problem with Wine

Well, with the help of #archlinux and #winehq on irc.freenode.net, some progress has been made identifying the problem.  I will try to describe the problem as I understand, but I do not completely know what is going on.  Basically, when wine asks for the library which is associated with -lncurses, my environment returns libncursesw.so, but wine is expecting something like libncurses.so, therefore it fails.  Indeed when I changed the configure script to look for it with the w, it made it through the entire configure script; however, I was warned that I should not compile with libncursesw.so.  So basically, now I have the problem of changing the system to return libncurses.so instead of libncursesw.so.

Everyone in both communities has been extremely helpful thus far, and I feel bad that I have to constantly ask for help.  However, once this has all been figured out, I will give back to the arch community and add to the wiki detailing what worked for me.

Thanks,
Ryan

Offline

#32 2010-01-29 21:25:38

measure
Member
Registered: 2009-07-17
Posts: 62

Re: Curses problem with Wine

Well, I decided to compile with libnucrsesw.so just to see what happens, and I am happy to say I now have a wine that uses ncurses!  Should there be anything done in regards to the wiki or the 32bit-wine package (for instance it could change the line that I changed in the configure file?)  I really don't know anything about anything about anything!, but I can imagine that someone somewhere might also want this (e.g. the person that started this thread).  In brief, this is what I did:

1) create a 32-bit environment with chroot exactly as the wiki says.
2) get the wine source from ABS
3) change the following line in /src/wine-1.1.37/configure

*) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;

to

*) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncursesw\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;

(I.e. added w to the libncurses)

4) compile normally

I cannot say that this will work for everyone obviously, but it has for me.  When I now run

wineconsole --backend=curses blah/blah/blah

I get a curses environment as opposed to the more windows-like "command prompt".

Thanks,
Ryan

Offline

#33 2010-05-26 17:33:22

Sekra
Member
From: Finland
Registered: 2008-01-25
Posts: 14

Re: Curses problem with Wine

Sorry for reviving this rather old post but I'm also having difficulties doing this. Now I dont know how and dont care to chroot to a 32bit system but I do have a separate 32bit archlinux machine available for me, I have downloaded, edited as above and managed to get wine working like that (actually I did it without X and with curses but anyhow) on the 32bit machine it works perfectly. Now the problem arises when I move it to the x86_64 and "plug in" the wine from the 32bit system to the bin32-wine and install that.. Everything goes smoothly up to the point where (I used pacman -U as root to install the custom bin32-wine) as a "normal" user I try to run wineconsole --backend=curses blabla.. it gives me this error:

wine: failed to initialize: /path/I/usedToCompile/in/32bit/archlinux/abs/wine/pkg/usr/lib/wine/ntdll.dll.so: cannot open shared object file: Permission denied

naturally this is a problem since that path doesnt exist on the x86_64 system and the files are located in /usr/lib/wine/ so how do I point wine to look in there instead?


Edit: and since I'm not very good at linux I will explain in detail what I did to get this far since I might have made some stupid mistake also:

in a i686 Archlinux:

1. installed abs
2. copied wine from the /var/abs/extra/wine to a custom location
3. edited the PKGBUILD to remove --with-x and added --with-curses
4. ran makepkg and it failed to install with ncurses
5. edited the configure file in /path/I/usedToCompile/in/32bit/archlinux/abs/wine/src/ to add the w like mentioned in the previous post
6. ran makepkg -ef to rebuild it
7. installed as root with pacman -U
8. tested and program ran fine

moved the .tar.gz that I used with the pacman -U to the x86_64 system

in a x86_64 Archlinux:

8. got bin32-wine from AUR
9. edited the PKGBUILD to use my custom wine package from the 32bit system
10. ran makepkg and all built fine
11. installed as root with pacman -U
12. tried to run the same app as in the 32bit system as a normal user and got the above error

Last edited by Sekra (2010-05-26 18:08:46)

Offline

#34 2010-05-26 20:24:48

Sekra
Member
From: Finland
Registered: 2008-01-25
Posts: 14

Re: Curses problem with Wine

Oddly enough I decided to try again from scratch and this time it works for one reason or another.. O.o

Offline

Board footer

Powered by FluxBB