After several failed tries to compile the 0.0.19 source package, I tried the GIT version. I noticed that there was no configure to run, but detected the cmake structure. I'm using Slackware64-current, and always had problems using cmake, mainly because of the path for the libraries - which is /usr/lib64. So, weary of the problems I looked around for instructions, and the most promising I found indicated this command:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIBRARY_PREFIX=64 ..
which, according to several comments/articles should do it. LIBRARY_PREFIX was reported to be 'unused' after the command. Looking over the available variables with cmake --help-variable-list showed -DLIBRARY_OUTPUT_PATH.
But, after installing, the binaries ended up in /usr/local/bin (which wasn't all bad, as that path is in the path. On qucs startup libschematic.so wasn't found (it wasn't installed). So I copied that from the source directory to /usr/lib64.
Is there anywhere a description on how to do this in a correct manner?
um, this is quite strange; I've been succesfully compiling Qucs with autotools on Slackware since quite some time- I'm currently using Slackware64 14.2 multilib.
To use the autotools, first run
./bootstrap(seeREADME.md) and then the usual./configurestuff, something like./configure --disable-doc --with-mkadms=<full path to admsXml> --prefix=<install path>cmake -DCMAKE_INSTALL_PREFIX=<install path>works fine here. IfadmsXmlis not in the path you have to add also-DADMSXML=<full path to admsXml>.But as you reported the
make installdoes not work correctly, a file is missing (qucspowercombining.1) and thelibqucsschematic.sois not installed.