RE: minsoc release 1.0 installation Problem
by rfajardo on Jan 16, 2012 |
rfajardo
Posts: 306 Joined: Jun 12, 2008 Last seen: Jan 6, 2020 |
||
Quick response on Ubuntu-10.04:
I think you mean libncurses5-dev. Installed it using apt-get and changed the name of the library in script to libncurses5-dev.
You should not change the name. Distributions name packages arbitrarely. The script looks if it can find the installed binary along the defined path using whereis. Therefore, despite libncurses5-dev, the testtool should still test libncurses solely. About Fedora 15: This should make you pass configuration: Instead of simpy: $ ./configure --prefix=/local/home/projects/opencores/minsoc/tools Do: $ PATH=$PATH:/local/home/projects/opencores/minsoc/tools/bin ./configure --prefix=/local/home/projects/opencores/minsoc/tools Then try: make Maybe you find the linker error you were receiving in the beginning then. If it works, give the script another try from start. Raul |
RE: minsoc release 1.0 installation Problem
by mowsong on Apr 22, 2012 |
mowsong
Posts: 1 Joined: Oct 18, 2008 Last seen: May 4, 2022 |
||
Hi,
I have installed MinSoC on Fedora12. The file usb.h is missing from the libftdi-0.19/src folder. Copy the file from libusb-0.1.12 folder. The script will then run without problem. Add the following line to the minsoc-install.sh, just after libusb has been installed, and before libftdi begins the configuration. cp ${DIR_TO_INSTALL}/download/libusb-0.1.12/usb.h ${DIR_TO_INSTALL}/download/libftdi-0.19/src regards ms |
RE: minsoc release 1.0 installation Problem
by rfajardo on Apr 23, 2012 |
rfajardo
Posts: 306 Joined: Jun 12, 2008 Last seen: Jan 6, 2020 |
||
Hi ms,
thanks for your workaround. Since this happened some times already, I decided to take a better look into it. I found out that the configuration script works out fine. However, it has a flaw. Some of libftdi code is C++ and depends on libusb. Though, only CFLAGS was set to libusb-config --cflags. But g++ is run with CPPFLAGS instead of CFLAGS, which does not include the path to usb.h. A good workaround would be to substitute line 199 of minsoc-install.sh for: execcmd "PATH=$PATH:${DIR_TO_INSTALL}/tools/bin ./configure --prefix=${DIR_TO_INSTALL}/tools CPPFLAGS=-I${DIR_TO_INSTALL}/tools/include" I hope that helps in future. I will include this update to the development version of MinSoC. Thanks again, Raul |