Hello, I’m trying to build Rack from source to be able to debug plugins I’m currently working on more effectively. Most of the dependencies build went ok, but I sadly, I’m hitting an error. Any Ideas how to solve that?
loren@DESKTOP-2OQJVBI MINGW64 /c/users/loren/documents/dev/rack
# make dep
make -C dep
make[1]: Entering directory '/c/users/loren/documents/dev/rack/dep'
cd speexdsp && ./autogen.sh
Updating build configuration files, please wait....
' is already registered with AC_CONFIG_FILES.
../autoconf-2.71/lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from...
configure.ac:317: the top level
autom4te-2.71: error: /usr/bin/m4 failed with exit status: 1
aclocal-1.16: error: /usr/bin/autom4te-2.71 failed with exit status: 1
autoreconf-2.71: error: aclocal failed with exit status: 1
make[1]: *** [Makefile:172: lib/libspeexdsp.a] Error 1
make[1]: Leaving directory '/c/users/loren/documents/dev/rack/dep'
make: *** [Makefile:109: dep] Error 2
Hi @LorenzNew! Maybe I can help. I have built Rack from source on Linux, but not Windows like you are doing. Did you follow the Windows setup instructions? Specifically, I wonder if you have installed the required tools like m4 correctly. I don’t know if you really have /usr/bin/m4 for example on a Windows system. From your shell, what happens when you do this?
pacman -Syu
git clone https://github.com/VCVRack/Rack.git
cd Rack
git submodule update --recursive --init
RTAUDIO_ASIO=1 make -j8 dep
make -j8
cd plugins
git clone https://github.com/VCVRack/Fundamental.git
cd Fundamental
make -j8 dist
cd ../..
make -j8 dist
ls -l dist
Is this a new install of msys2 or and old one? I’ve had problems before where I installed the wrong things with Pacman and eventually had to delete my msys2 and start over. Also, could you correct the spelling in the topic of this thread? That extra ‘t’ in “unable” is distracting.
btw, this isn’t “support”, this is just random ppl trying to help.
In my first attempt, I stupidly installed msysy2 into “Program Files” which broke a lot because of the space in that path. So I reinstalled it into C:/
I think this was the solution.
After executing the command, I had to start from a freshly cloned repository, but now I got a finished dependencies build.