Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all, Aplogies if this is a bit of a newby question but I'm stuck and haven't been able to find any good guides online which solve it... I'm running ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3

    Ubuntu 7.10 with Wine


    Hi all,

    Aplogies if this is a bit of a newby question but I'm stuck and haven't been able to find any good guides online which solve it...

    I'm running Ubuntu 7.10 "The Gusty Gibbon" on an oldish work dell laptop (Latitude D600). I want to install iTunes for my iPhone and from looking online it seems that Wine is the key...

    I've tried installing Wine and it seems to install problem free however when I try to run the exe file I get the following error:

    ------------------------------
    nick@nick-laptop:~/.wine$ wine iTunes64Setup.exe
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
    Trying to load PE image for unsupported architecture (AMD-64)
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
    Trying to load PE image for unsupported architecture (AMD-64)
    wine: could not load L"H:\\.wine\\iTunes64Setup.exe": Bad EXE format for
    ------------------------------

    So it seems I have a number of issues, firstly if I navigate to the .wine directory there is no system32 directory in Windows, this is despite me selecting XP as the OS within with Wine GUI.

    Secondly there's the "bad exe format" error. Does this suggest that Wine's not installed correctly?

    Here's what I've done from scratch:

    ------------------------------
    nick@nick-laptop:~$ sudo wget http://wine.budgetdedicated.com/apt/...t.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list
    --17:54:16-- http://wine.budgetdedicated.com/apt/...t.d/gutsy.list
    => `/etc/apt/sources.list.d/winehq.list'
    Resolving wine.budgetdedicated.com... 81.171.111.184, 81.171.111.184, 81.171.111.184
    Connecting to wine.budgetdedicated.com|81.171.111.184|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 181 [text/plain]

    100%[====================================>] 181 --.--K/s

    17:54:16 (9.65 MB/s) - `/etc/apt/sources.list.d/winehq.list' saved [181/181]

    nick@nick-laptop:~$
    nick@nick-laptop:~$
    nick@nick-laptop:~$ sudo apt-get install wine
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
    msttcorefonts
    The following NEW packages will be installed
    wine
    0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
    Need to get 0B/33.9MB of archives.
    After unpacking 106MB of additional disk space will be used.
    Selecting previously deselected package wine.
    (Reading database ... 109284 files and directories currently installed.)
    Unpacking wine (from .../wine_0.9.46-0ubuntu1_i386.deb) ...
    Setting up wine (0.9.46-0ubuntu1) ...

    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    nick@nick-laptop:~$
    ------------------------------

    After this, I type wincfg and the GUI opens, I can change things etc but I notice that terminal shows the following in the background:

    nick@nick-laptop:~$ winecfg
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
    ALSA lib conf.c:3949snd_config_expand) Unknown parameters 0
    ALSA lib control.c:909snd_ctl_open_noupdate) Invalid CTL default:0
    Warning: the specified System directory L"c:\\windows\\system32" is not accessible.


    If I then re-open the app, the settings seem to have taken though...

    Any comments/suggestions would be most welcome.

    Thanks,

    Nick

  2. #2
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3
    Ok well scrap that, i've found another thread explaining that this can be resolved by uninstalling Wine, then deleting the .wine directory before re-installing. I now have a system32 directory but when I try to "wine" the exe file, I get this:

    nick@nick-laptop:~/Desktop$ wine /home/nick/Desktop/iTunes64Setup.exe
    Trying to load PE image for unsupported architecture (AMD-64)
    Trying to load PE image for unsupported architecture (AMD-64)
    wine: could not load L"Z:\\home\\nick\\Desktop\\iTunes64Setup.exe": Bad EXE format for

    nick@nick-laptop:~/Desktop$ ls /home/nick/Desktop/ | grep iT
    iTunes64Setup.exe


    Looks like this is a no go-er I guess?

  3. #3
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    You could try an itunes alternative which is gtkpod Using an iPod with Linux

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3
    Hi scrarfussi, thanks for the link however it will need to be iTunes, primarily because I want the option to connect directly to itunes via the iphone (ie over Wifi) which requires local logon and you need to install itunes to sign up so i'm in a bit of a catch 22.

    If anyone else has any ideas then please let me know. Cheers

  6. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i'm just guessing, but that looks like you are trying to use the 64 bit version of itunes, i would download the 32 bit version for use with wine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •