[MacPorts] #18991: qucs: digital simulations aren't working
MacPorts
noreply at macports.org
Thu Mar 26 07:18:16 PDT 2009
#18991: qucs: digital simulations aren't working
-----------------------------+----------------------------------------------
Reporter: janp@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port:
-----------------------------+----------------------------------------------
I have been putting it through it's paces all the linear stuff seems to be
working but the digital does not.
Error message I get with simulation model set to freehdl is
{{{
/opt/local/bin/qucsdigi: line 61: freehdl-config: command not found
}}}
i have included in the script to see what is going on:
{{{
echo "bindir = $BINDIR"
echo "path = $PATH"
}}}
with result
{{{
creating netlist... done.
bindir = /opt/local/bin/
path = /usr/bin:/bin:/usr/sbin:/sbin
}}}
Since /opt/local/bin where the files reside I edited the lines calling
freehdl-config in the script to include $BINDIR thus:
{{{
CXX=`$BINDIR/freehdl-config --cxx`
CXXFLAGS=`$BINDIR/freehdl-config --cxxflags`
LIBS=`$BINDIR/freehdl-config --libtool`
IEEELIBS=`$BINDIR/freehdl-config --ieee`
LDFLAGS=`$BINDIR/freehdl-config --ldflags`
}}}
then I got this in the error window:
{{{
Package freehdl was not found in the pkg-config search path.
Perhaps you should add the directory containing `freehdl.pc'
to the PKG_CONFIG_PATH environment variable
}}}
repeated a number of times and adding
{{{
export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"
}}}
to /etc/profile or script made no difference. AT this point I don't know
what else I can try.
Verilog model seems to have similar problems
--
Ticket URL: <http://trac.macports.org/ticket/18991>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list