Problem running Riffo's League of Legends script

Questions about Wine on Linux
Locked
gcarbonell
Newbie
Newbie
Posts: 2
Joined: Sun Apr 14, 2013 3:27 pm

Problem running Riffo's League of Legends script

Post by gcarbonell »

Hello people:

I have been sweating blood with my AMD 64 running Linux Mint 14 installed (based on Ubuntu 12.04 LTS) and with my NVidia Quadro FX 2800M. But so far I got to make everything -apparently- run :)

After getting that done, I wanted to play League of Legends, and for it I followed Danilo Riffo's script -and others' amazing work- up to the point when the script actually runs without asking for any missing package.

But once I execute it I get the following input:

Code: Select all

guillem@guillem-Precision-M6500 ~/Downloads $ sudo ./Install-LoL-on-Wine.sh
downloading wine source...
--2013-04-14 22:11:34--  http://wget/
Resolving wget (wget)... failed: Name or service not known.
wget: unable to resolve host address `wget'
--2013-04-14 22:11:34--  http://sourceforge.net/projects/wine/files/Source/wine-1.4.1.tar.bz2/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2?r=&ts=1365970294&use_mirror=ignum [following]
--2013-04-14 22:11:34--  http://downloads.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2?r=&ts=1365970294&use_mirror=ignum
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ignum.dl.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2 [following]
--2013-04-14 22:11:34--  http://ignum.dl.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2
Resolving ignum.dl.sourceforge.net (ignum.dl.sourceforge.net)... 62.109.128.11, 2001:1ab0:7e1f:1:230:48ff:fed1:9c0a
Connecting to ignum.dl.sourceforge.net (ignum.dl.sourceforge.net)|62.109.128.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20104401 (19M) [application/x-bzip2]
Saving to: `wine-1.4.1.tar.bz2'

100%[=========================================================>] 20,104,401   437K/s   in 49s     

2013-04-14 22:12:24 (397 KB/s) - `wine-1.4.1.tar.bz2' saved [20104401/20104401]

FINISHED --2013-04-14 22:12:24--
Total wall clock time: 50s
Downloaded: 1 files, 19M in 49s (397 KB/s)
extracting wine source...
going into /home/guillem/wine-1.4.1
downloading Wine patches, so it can properly run LoL...
--2013-04-14 22:12:29--  http://uz.sns.it/~ranma42/iLoL/0001-HACK-Disallow-block-based-textures-with-sub-block-si.patch
Resolving uz.sns.it (uz.sns.it)... 192.167.206.241
Connecting to uz.sns.it (uz.sns.it)|192.167.206.241|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1501 (1.5K) [text/x-diff]
Saving to: `0001-HACK-Disallow-block-based-textures-with-sub-block-si.patch'

100%[=========================================================>] 1,501       --.-K/s   in 0s      

2013-04-14 22:12:29 (155 MB/s) - `0001-HACK-Disallow-block-based-textures-with-sub-block-si.patch' saved [1501/1501]

download complete. Patching wine...
patching file dlls/wined3d/utils.c
Hunk #1 succeeded at 1704 (offset 5 lines).
configuring wine...
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... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
Watch out for configure errors, because I'm going to compile wine.
If there are erros, hit CTRL+C to stop the script and take a look at them.
Compilation will take a while, so close all your applications (not mandatory),
press enter and go drink something (mandatory :D)

compiling wine...
make: *** No targets specified and no makefile found.  Stop.
installing wine into /home/guillem/LoL_wine-1.4.1
make: *** No rule to make target `install'.  Stop.
preparing the Wine Prefix environment...


(THIS BLANK HERE HAS BEEN MADE SMALLER)


Running winecfg to set-up the wineprefix for the first time. Please, just close it.
./Install-LoL-on-Wine.sh: line 161: /home/guillem/LoL_wine-1.4.1/bin/winecfg: No such file or directory
--2013-04-14 22:17:19--  http://winetricks.org/winetricks
Resolving winetricks.org (winetricks.org)... 216.92.137.144
Connecting to winetricks.org (winetricks.org)|216.92.137.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 613886 (599K) [text/plain]
Saving to: `./winetricks'

100%[=========================================================>] 613,886      501K/s   in 1.2s    

2013-04-14 22:17:20 (501 KB/s) - `./winetricks' saved [613886/613886]

------------------------------------------------------
WINE is /home/guillem/LoL_wine-1.4.1/bin/wine, which is neither on the path nor an executable file
------------------------------------------------------
./Install-LoL-on-Wine.sh: line 167: /home/guillem/LoL_wine-1.4.1/bin/wineboot: No such file or directory
running LoL Installer...
./Install-LoL-on-Wine.sh: line 181: /home/guillem/LoL_wine-1.4.1/bin/wine: No such file or directory
creating the launcher...
removing temporary files...
LoL build completed!


If wine created a shortcut to LoL in your desktop, delete it.
To play League of Legends use the Play_LeagueOfLegends.sh script in your desktop ;)


guillem@guillem-Precision-M6500 ~/Downloads $
:(

But I am optimistic, so I go to $Desktop and execute Play_LeagueOfLegends.sh, aaand:
guillem@guillem-Precision-M6500 ~/Desktop $ sudo ./Play_LeagueOfLegends.sh
[sudo] password for guillem:
./Play_LeagueOfLegends.sh: line 6: cd: /home/guillem/LoL_Prefix/drive_c/Riot Games/League of Legends/RADS/system/: No such file or directory
guillem@guillem-Precision-M6500 ~/Desktop $ ls: cannot access ../projects/lol_launcher/releases/: No such file or directory
./Play_LeagueOfLegends.sh: line 7: /home/guillem/LoL_wine-1.4.1/bin/wine: No such file or directory

guillem@guillem-Precision-M6500 ~/Desktop $
But I already installed Wine 1.4.1 -and I think 1.5 is also installed-. As a forenote, apt gives me some problems with some packages that Synaptic installed without any problem.

May you please help me on this issue?

If you want me to run any other command say so and I will do so :) Thank you very much in advance!
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem running Riffo's League of Legends script

Post by dimesio »

Code: Select all

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
Do what it says.
guillem@guillem-Precision-M6500 ~/Desktop $ sudo ./Play_LeagueOfLegends.sh
Never run Wine as root. http://wiki.winehq.org/FAQ#run_as_root

Beyond that, contact the author of the script for help with it.
gcarbonell
Newbie
Newbie
Posts: 2
Joined: Sun Apr 14, 2013 3:27 pm

Re: Problem running Riffo's League of Legends script

Post by gcarbonell »

dimesio wrote:

Code: Select all

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
Do what it says.
guillem@guillem-Precision-M6500 ~/Desktop $ sudo ./Play_LeagueOfLegends.sh
Never run Wine as root. http://wiki.winehq.org/FAQ#run_as_root

Beyond that, contact the author of the script for help with it.
Thanks Dimesio :) But I already followed this other tutorial for the 32-bits issue (The 1.1.2 method because chmod did not recognise commands -???-). And it said nothing about missing packages; even more, I went for the packages myself trough Synaptic and got no problem.

What commands shoul work for the 32-dev libraries thing? I already installeg g++ and gcc dev libraries as well.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem running Riffo's League of Legends script

Post by dimesio »

I don't use Ubuntu, so I can't tell you anything other than what's in the wiki. You could try asking on the Ubuntu forum. But since the problem seems to be with the script, you should really contact the person who wrote it.
Locked