Qucs / ADMS

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

Unable to `make` on Ubuntu 16.04 #78

Closed shivams closed 6 years ago

shivams commented 6 years ago

I tried installing ADMS, but failed at the make point. This is the error it throws:

/bin/sed: can't read Softwares/ADMS/admsXml/libadmsElement.la: No such file or directory
libtool:   error: 'Softwares/ADMS/admsXml/libadmsElement.la' is not a valid libtool archive
felix-salfelder commented 6 years ago

On Tue, Apr 10, 2018 at 01:23:09PM -0700, shivams wrote:

I tried installing ADMS, but failed at the make point. This is the error it throws:

/bin/sed: can't read Softwares/ADMS/admsXml/libadmsElement.la: No such file or directory
libtool:   error: 'Softwares/ADMS/admsXml/libadmsElement.la' is not a valid libtool archive

does your source directory path contain a space character?

in that case: avoid whitespace in identifiers (always).

hth felix

shivams commented 6 years ago

@felix-salfelder : Thank you. I indeed had spaces in my source directory. Removing it solved the issue.

I had another issue during installation, which was solved by updating my dynamic libraries : sudo ldconfig.

felix-salfelder commented 6 years ago

On Tue, Apr 10, 2018 at 02:27:04PM -0700, shivams wrote:

I had another issue during installation, which was solved by updating my dynamic libraries : sudo ldconfig.

that is a loader issue, platform bug, cache problem. whichever way, annoying, but not trivial to fix apparently.

cf. https://github.com/Qucs/ADMS/pull/64 for a workaround attempt. I lost track of which platforms/configurations are affected. never got back to it...