Wine on usb install?
I have an 8G usb stick with Liveslak-14.2 created with the iso2usb.sh script. Partitions are:
Number Start End Size File system Name Flags 1 1049kB 2097kB 1049kB BIOS Boot Partition bios_grub 2 2097kB 107MB 105MB fat32 EFI System Partition boot 3 107MB 8004MB 7897MB ext4 Slackware Linux legacy_boot I want to add wine, and a bible encyclopedia program to give me access to the latter on the move. The software is a pretty straightforward install; wine compiles and installs in the 'live' homedir (--prefix=/home/live/) but immediately demands gecko. Winetricks falls over in this scenario (No internet for one thing) and wine won't work with the gecko .msi installer, "wrong exec format." What's the workaround for that? Am I headed for the rocks or should this go together? |
Have you got gecko in /usr/share/wine/gecko/wine_gecko-2.40-x86.msi and is it the correct version and architecture?
I'd check on the winehq wiki for the exact version that is required, copy it in /usr/share/wine/gecko/ and create a new prefix. It should be installed automatically unless there's version mismatch, I figure it should be 2.40 for stable and 2.47 for dev release. |
I had used gecko-2.24 (32bit, I presume) which dates from 2014 but was on disk here. I also had compiled wine with --enable-win64.
I'll go at this again, getting it online first with wpa_supplicant & co. and recompiling wine without --enable-win64 |
Did you try to install my wine package for 64bit Slackware? It contains both the 64bit and 32bit wine binaries, and also includes the correct version of the Gecko MSI installers so that that does not have to be downloaded.
Note the dependency: OpenAl (both the 64bit and a converted 32bit "compat32" package). |
I did surely, version 1.9.15. It installs, then when I run wine, it says:
"/usr/bin/wine: no such file or directory." Wine is in /usr/bin, all 9704 bytes of it. |
Quote:
|
No, I installed enough multilib (gcc-*-compat32.txz)to silence complaints
Code:
ldd /usr/bin/wine* |grep found Code:
bash-4.3$ ls /mnt/dvd/persistence/var/log/packages/ Code:
live@darkstar:~$ which wine |
Quote:
"bash: /usr/bin/wine: No such file or directory" happens because it can't find the 32 bit dynamic linker, /lib/ld-2.23.so, which is in the multilib glibc-solibs, which you haven't installed. In fact, you pretty much need all of multilib if you want a hassle free life. Just do it. |
Well I'm not sorted yet. I installed the compat32 stuff (all except xsane, because I have no scanner). Then we got
Code:
root@darkstar:/usr/lib# cd /mnt/tmp/2015 Code:
root@darkstar:/usr/lib# ls libIDL* Code:
root@darkstar:/mnt/tmp/2015# wine Setup.exe Code:
root@darkstar:/mnt/tmp/2015# ln -s /usr/lib/libIDL-2.so.0.0.0 /usr/lib/libIDL-2.so |
Well, the library files libdl.so and libiDL.so are not the same, obviously.
So, libdl is part of glibc and my guess is that you do not have the multilib version of glibc packages installed. Edit: idlemoor (55020) basically said the same thing before you posted your reply. |
Well, I got the libdl stuff from my 14.1 install, and glibc-solibs fi586 from heanet, the local ftp mirror, but still no dice
Code:
root@darkstar:/mnt/tmp/2015# wine Setup.exe |
Quote:
What do you have installed? Code:
ls -l /var/log/packages/ | grep -E '(multilib|compat)' |
business_kid --
Have you read Alien Bob's Multilib Doc: Adding Multilib Capability to Slackware on x86_64 Architecture ? His HOWTO has never lead me astray since I started running Slackware64 13.37 + MultiLib. Something you WILL want to consider for your 8-GB USB Stick is disk space. You will eventually hit the wall ( disk-space wise ) with an 8-GB USB Stick as you install more Packages. Anyhow, to keep the overhead to a minimum on the USB Sticks, this is what I do ... First, I download the Package Trees for Slackware, MultiLib and SBo onto a HDD Partition on my 'real machine'. Then I boot the USB and mount the 'real HDD Partition' after the USB Stick has been booted. I install the Packages I need on the USB 'the good old Slackware way' ( installpkg or upgradepkg or removepkg ). That way, I can install the Packages I need on the USB without using up additional space for the repositories or for the Package Management DataBases. I am not an expert by any means but this scheme is working for me on three different USB Drives ( 8GB, 32GB and 64GB )... HTH. -- kjh |
Being specific, I installed the entire multilib without xsane-compat32, and /lib/libdl.* from 14.1. Not a few of them either
Code:
ls /var/log/packages/{gcc*,glibc*,lib*} Code:
root@darkstar:/mnt/dvd/var/log/packages# wine Setup.exe |
Once again: you have not installed multilib glibc. This is the single most important, most fundamental, least optional part of multilib!
Get these, and install them: http://www.slackware.com/~alien/mult..._64-1alien.txz http://www.slackware.com/~alien/mult..._64-1alien.txz http://www.slackware.com/~alien/mult..._64-1alien.txz http://www.slackware.com/~alien/mult..._64-1alien.txz |
I was obviously missing something. Now it returns
Code:
root@darkstar:/mnt/dvd/2015# wine Setup.exe EDIT: Checked the cdrom in a hard disk install, and no segfault. That would indicate the code is ok. |
Quote:
There are tools you can use to get more detail about where and how this segfault is occuring. You are a regular here, so I must assume that you know about some basic troubleshooting. Time to start that. And before replying to anything in this thread, show us EXACTLY what your latest repairs were. What did you do after you realized "obviously missing something" and what did you do with the copied libld file(s)? I really hope you removed that/those. Also, you are running wine as root... why? There is an account "live" on that live OS which is meant for all the "user" stuff. |
I'm not up to usual form and definitely regretting starting this, although I will be glad to get it working. The extra libdl stuff has been overwritten by the glibc packages and the remains removed. My last move was installing the four linked glibc packages(glibc-2.23_multilib-x86_64-1alien.txz, glibc-i18n-2.23_multilib-x86_64-1alien.txz, . I glibc-profile-2.23_multilib-x86_64-1alien.txz, glibc-solibs-2.23_multilib-x86_64-1alien.txz). I had logged in as 'live' and had done an 'su' to root which may not have been necessary, but it was a permissions thing. and I was shuffling usb disks, which needed root to mount them.
I'm not eager to go at this with debuggers because I'm primarily a hardware guy and not the best with them. |
So what exactly is that permission error looking like? Be more specific in the description of your issues if you want other people to assist.
Try all your wine commands as the regular user, not as root. |
The permissions error is just the usual stuff mounting disks "Only root can do that!" The program error actually gives me a little more as user
Code:
live@darkstar:/mnt/dvd/2015$ wine Setup.exe |
Quote:
|
For verbosity sake: you DO have the following packages installed in addition to my wine package: OpenAL (64bit package) as well as OpenAL-compat32 (32bit package converted using the "convertpkg-compat32" script)?
|
No, I didn't have OpenAL installed, nobody has mentioned it before now, why should I have that installed? I went off got and installed them (OpenAL in x86_64 & i486, the latter hit with the conversion script) but it made no odds.
I also put something in /etc/sysctl.conf that I got from googling that allocation error Code:
live@darkstar:~/Downloads$ cat /etc/sysctl.conf Code:
live@darkstar:~/Downloads$ wine ./Setup.exe |
Quote:
http://www.slackware.com/~alien/slac..._64-1alien.dep |
Quote:
|
Quote:
One of the ISO's is the actual Slackware Live Edition (Slackware64 14.2): http://bear.alienbase.nl/mirrors/sla...e64-14.2-live/ Did you download that one? |
I'm pretty sure I have the 'live' usb key iso. It certainly has live as user and root as root. It does funny things with loop mounts. Excuse the length here
Code:
live@darkstar:/$ cat /proc/mounts |
Yeah that output looks like you are using the Live ISO whose URL I linked to. That output is correct, it is how a Live OS based on overlays works.
Your remark "I'm pretty sure I have the 'live' usb key iso" is irrelevant, since all these variants are "live usb iso". Created with the same liveslak scripts, only with different parameters to incorporate different package sets. |
Well, even with WINEDEBUG=+all it just throws a segfault - with no other output.
It must happen very early in the program's operation. And it's working fine in the hard disk install. |
Since it seems like you did quite a few things to try and get this to work, it might be time to start over, install multilib as the instructions state including the compat32 libraries, then install wine and its dependencies and see if the same thing happens. Considering the resulting thumbdrive should be a normal Slackware installation, if it isn't working on your thumbdrive, but is working on your harddrive, it is likely something that is installed wrong on the thumbdrive.
|
I tested today on my own USB key with Slackware Live Edition 1.1.4 (Plasma5 variant). Actually, I am typing this text while running this Slackware Live.
The USB Live key is based on Slackware-current, not 14.2, but that should not matter I think. I built a set of new wine 1.9.23 packages. Compiled the one I am testing with on Slackware64 14.2 and tested on slackware64-current (the live OS). It works, no errors. I just ran "wine notepad" to see what would happen and it started the Windows notepad (wine edition) without any issue. Now, about how I performed the test. The Slackware Live is made multilib by using the liveslak multilib module which is already part of the PLASMA5 ISO but which you can download for any of the other Slackware-current based Live OS: http://bear.alienbase.nl/mirrors/sla...ent-x86_64.sxz Just put that file in the /liveslak/addons/ directory on the Linux partition of the USB key and it will be used autmoatically when the Live OS boots. No need to download and install all the individual multilib packages, because the liveslak module will be mounted and become part of the live filesystem. To use Wine on Slackware Live Edition, you can download a liveslak module for wine and also for OpenAL-compat32 here: http://bear.alienbase.nl/mirrors/slackware-live/bonus/ Dump the two module files into that same /liveslak/addons/ directory on the USB key. It will make wine available in the Live OS after booting, without the need to download and install any packages - wine and openal-compat32 will become part of the Live filesystem automatically. If you do not use the PLASMA5 variant of Slackware Live Edition, then you will still be missing an OpenAL package. You can either download and install that one, or try your luck with the makemod script to create your own liveslak module out of it: Code:
makemod /tmp/OpenAL-1.17.1-x86_64-1alien.txz 0060-OpenAL-1.17.1-current-x86_64.sxz |
Well, THAT did the business - No fuss, no messing, thank you very much.
I scrapped what I had, made the Plasma5 variant which is ~1G bigger and uses a different DE, copied ther stuff to the ~/addons directory Code:
bash-4.3$ ls /mnt/dvd/liveslak/addons Code:
bash-4.3$ df -h |
The single fly in the ointment on this usb disk is internet connectivity, which is a luxury anyhow. Do you not have the ath9k module installed? It doesn't seem to be available, and wifi is not sitting up. It could of course be the bad offices of NetworkManager, which I never got on with.
|
Quote:
|
I have 2 copies now of that live iso. I copied over rc.inet1, rc.inet1.conf, wpa_supplicant.conf & dhcpcd.conf from the hard disk install, but the wifi can't ping the router. I see NetworkManager in there and have to come to grips with that. It's not a huge deal - and the first one went online without too much bother.
|
As you say ath9k is in there. It's going online now, just the various utilities to make going online easier competing over the wlan and not having the correct config, and actually making it messy. C'est la vie.
|
All times are GMT -5. The time now is 07:59 AM. |