Qucs / ADMS

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

Compiling Problem #26

Closed justinrf closed 8 years ago

justinrf commented 9 years ago

Hi.

I'm sure I'm doing something wrong here, I'm hoping someone can point me in the right direction.

Using CentOS6 replete with Autotools, I get an error saying:

make: *\ No rule to make target `install'. Stop.

I've tried both Autotools and CMake and get the same error.

I'm doing this:

sh bootstrap.sh ./configure --prefix=/usr/share/adms2 make install

Looking up a bit, I see the error is probably in the shell script:

CMake Error at admsXml/CMakeLists.txt:83 (ADD_LIBRARY): Cannot find source file:

adms.c

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

Any idea what I'm doing wrong?

Thanks!

Justin Fisher.

guitorri commented 9 years ago

Are you building from the repository or a tarball from SourceForge?

If you do a sh bootstrap.sh you most likely need to run ./configure --enable-maintainer-mode --prefix=/somedir

For CMake you also need to pass a -DUSE_MAINTAINER_MODE=ON flag.

Besides the Readme.md, the Travis CI script should give you an idea

If you get a released tarball from SourceForge , just running ./configure --prefix=/somedir should work. The maintainer files are already included there.

justinrf commented 9 years ago

Thanks!