Qucs / ADMS

ADMS is a code generator for the Verilog-AMS language
GNU General Public License v3.0
94 stars 32 forks source link

Does admsXML support CentOS 7? #90

Closed HSV2PVG closed 4 years ago

HSV2PVG commented 4 years ago

On CentOS 6, it was correctly installed and worked and when I switched from 6 to 7, following the instruction to install admsXML based on http://ngspice.sourceforge.net/admshowto.html and downloaded file from "download here". I got a problem.

System info: GNOME Version 3.28.2 CentOS Linux release 7.8.2003 (Core)

Here is what I did: ./autogen_lin.sh configure: error: Perl package XML::LibXML may be downloaded from http://search.cpan.org/dist/libXML

I tried all the following under root: sudo apt-get install libxml2-dev zlib1g-dev cpan -i XML::LibXML

I tried all the the installation of the related files, but still cannot find the the corresponding folder for the missing package.

Any suggestions?

felix-salfelder commented 4 years ago

Have you tried Adms from here (i.e. Qucs/ADMS)?

sudo apt-get install libxml2-dev zlib1g-dev

Sounds a bit like Debian. Adms is available here. try apt install adms.

HSV2PVG commented 4 years ago

Have you tried Adms from here (i.e. Qucs/ADMS)?

sudo apt-get install libxml2-dev zlib1g-dev

Sounds a bit like Debian. Adms is available here. try apt install adms.

I tried and still didn't work

HSV2PVG commented 4 years ago

Ok, I updated my gcc and it is 6.1.0 and bison version is 3.0.4. now I had the same issue as this post: https://sourceforge.net/p/qucs/mailman/message/31835159/ I followed to this place: https://bugs.freedesktop.org/show_bug.cgi?id=67354 but how to do that next?

here is what I did ./autogen_lin.sh make

y.tab.c: In function 'admstpathparse': y.tab.c:14933:7: error: too few arguments to function 'admstpathlex' admstpathYacc.y:8:12: note: declared here static int admstpathlex (p_pparse mypparse); ^ admstpathYacc.y:13643:43: error: 'mypparse' undeclared (first use in this function) p_text mytext=adms_text_new(((p_pparse)mypparse)->_transform,""); ^ admstpathYacc.y:13643:43: note: each undeclared identifier is reported only once for each function it appears in admstpathYacc.y: In function 'pparse': admstpathYacc.y:14618:5: error: too many arguments to function 'admstpathparse' admstpathparse (mypparse); ^ admstpathYacc.c:63:25: note: declared here

define yyparse admstpathparse

                      ^

y.tab.c:14777:1: note: in expansion of macro 'yyparse' admstpathYacc.y: In function 'tparse': admstpathYacc.y:14651:5: error: too many arguments to function 'admstpathparse' admstpathparse (mypparse); ^ admstpathYacc.c:63:25: note: declared here

define yyparse admstpathparse

                      ^

y.tab.c:14777:1: note: in expansion of macro 'yyparse' admstpathYacc.y: In function 'apath_main': admstpathYacc.y:14690:5: error: too many arguments to function 'admstpathparse' admstpathparse (mypparse); ^ admstpathYacc.c:63:25: note: declared here

define yyparse admstpathparse

                      ^

y.tab.c:14777:1: note: in expansion of macro 'yyparse'

felix-salfelder commented 4 years ago

On Tue, Sep 01, 2020 at 12:43:16AM -0700, HSV2PVG wrote:

Ok, I updated my gcc and it is 6.1.0 and bison version is 3.0.4. now I had the same issue as this post: https://sourceforge.net/p/qucs/mailman/message/31835159/ I followed to this place: https://bugs.freedesktop.org/show_bug.cgi?id=67354 but how to do that next?

here is what I did

./autogen_lin.sh make

I can not see autogen_lin.sh. are you sure this is the right place?

you could try https://github.com/Qucs/ADMS/releases/tag/release-2.3.7. basically, you do, configure, followed by make, see INSTALL.

HSV2PVG commented 4 years ago

I followed the step on their website: http://ngspice.sourceforge.net/admshowto.html

Under OS LINUX (tested with SUSE 11.2, 64 bit) you may expand the zip file and run ./autogen_lin.sh, followed by 'make' and 'make install'.

Let me try yours again. Thanks!

felix-salfelder commented 4 years ago

please reopen if this is not resolved.