x86 Version

General Discussion about MPD – anything that doesn't fit in the other MPD forums.
Post Reply
JamesCRocks
Posts: 16
Joined: March 21st, 2021, 3:47 pm
Contact:

x86 Version

Post by JamesCRocks »

Hi,

Where can I find the latest x86 Windows version of MPD? I have a new[ish] client machine from which I plan to run MPD but mpd.exe doesn't run presumably because it's Windows 10 Pro x86 whereas my other client is 64 bit. The machine processor is an Atom D525 (4Gb RAM, 500Gb HD) which is supposed to be 64 bit capable, but I can't get it to install so I can't upgrade.

Thanks

James
max
Forum team
Posts: 1245
Joined: January 15th, 2013, 3:43 pm

Re: x86 Version

Post by max »

The official Windows build is 64 bit only. If you want to run MPD on 32 bit Windows, you need to build your own.
JamesCRocks
Posts: 16
Joined: March 21st, 2021, 3:47 pm
Contact:

Re: x86 Version

Post by JamesCRocks »

max wrote: April 29th, 2021, 11:25 amThe official Windows build is 64 bit only. If you want to run MPD on 32 bit Windows, you need to build your own.
What does that mean? That I have to compile it myself? From my limited search, it looks like that might be an art all by itself.

James
max
Forum team
Posts: 1245
Joined: January 15th, 2013, 3:43 pm

Re: x86 Version

Post by max »

Yes, build and compile is the same thing in this context. It's a documented procedure.
skidoo
Posts: 218
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: x86 Version

Post by skidoo »

Have a look at https://www.musicpd.org/doc/html/user.h ... or-windows Cross compile static binary for Windows x86 under linux as described.
skidoo
Posts: 218
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: x86 Version

Post by skidoo »

On Debian testing i686 (yes, very old machine) Windows build of MPD failed. MPD latest from git.

Code: Select all

$ ../../win32/build.py --32
...

Code: Select all

checking whether byte ordering is bigendian... unknown
configure: error: unknown endianness
 presetting ac_cv_c_bigendian=no (or yes) will help
Traceback (most recent call last):
  File "/home/user/src/MPD/output/win32/../../win32/build.py", line 120, in <module>
    x.build(toolchain)
  File "/home/user/src/MPD/python/build/autotools.py", line 59, in build
    build = self.configure(toolchain)
  File "/home/user/src/MPD/python/build/autotools.py", line 55, in configure
    subprocess.check_call(configure, cwd=build, env=toolchain.env)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/user/src/MPD/output/win32/lib/src/libmodplug-0.8.9.0/configure', 'CC=/usr/bin/i686-w64-mingw32-gcc', 'CXX=/usr/bin/i686-w64-mingw32-g++', 'CFLAGS=-O2 -g -march=pentium3', 'CXXFLAGS=-O2 -g -march=pentium3', 'CPPFLAGS=-isystem /home/user/src/MPD/output/win32/lib/i686-w64-mingw32/root/include -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -D_FORTIFY_SOURCE=0 ', 'LDFLAGS=-L/home/user/src/MPD/output/win32/lib/i686-w64-mingw32/root/lib -static-libstdc++ -static-libgcc ', 'LIBS= ', 'AR=/usr/bin/i686-w64-mingw32-ar', 'RANLIB=/usr/bin/i686-w64-mingw32-ranlib', 'STRIP=/usr/bin/i686-w64-mingw32-strip', '--host=i686-w64-mingw32', '--prefix=/home/user/src/MPD/output/win32/lib/i686-w64-mingw32/root', '--enable-silent-rules', '--disable-shared', '--enable-static']' returned non-zero exit status 1.
skidoo
Posts: 218
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: x86 Version

Post by skidoo »

ok

Code: Select all

$ export ac_cv_c_bigendian=no
did the trick. But how to fix

Code: Select all

download https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2
Traceback (most recent call last):
  File "/home/elwood/src/MPD/output/win32/../../win32/build.py", line 119, in <module>
    if not x.is_installed(toolchain):
  File "/home/elwood/src/MPD/python/build/project.py", line 45, in is_installed
    tarball = self.download(toolchain)
  File "/home/elwood/src/MPD/python/build/project.py", line 42, in download
    return download_and_verify(self.url, self.md5, toolchain.tarball_path)
  File "/home/elwood/src/MPD/python/build/download.py", line 20, in download_and_verify
    urllib.request.urlretrieve(url, tmp_path)
  File "/usr/lib/python3.9/urllib/request.py", line 239, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Boost archive not availble :(
max
Forum team
Posts: 1245
Joined: January 15th, 2013, 3:43 pm

Re: x86 Version

Post by max »

That's unfortunate. But you can try updating to 1.76 which was released recently.
skidoo
Posts: 218
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: x86 Version

Post by skidoo »

URL of Boost source archive changed. PR?
Post Reply