Installing Qucs manually displays Qt header errors
rajath@Rajathkumar:~$ cd Downloads
rajath@Rajathkumar:~/Downloads$ cd qucs-0.0.16
rajath@Rajathkumar:~/Downloads/qucs-0.0.16$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for ar... ar
checking for lrelease-qt3... no
checking for lrelease... /usr/bin/lrelease
checking for lupdate-qt3... no
checking for lupdate... /usr/bin/lupdate
checking for moc-qt3... no
checking for moc... /usr/bin/moc
checking for uic-qt3... no
checking for uic... /usr/bin/uic
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for Qt headers... configure: error: not found
Solution 1:
apt-cache search libqt | grep headers
returns
libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
libqt3-headers - Qt3 header files
libqtgstreamer-dev - Development headers for QtGStreamer
That is a basic example of how to search for dependencies you don't have. Also see http://ubuntuforums.org/showthread.php?t=124483 post #8 for a more thorough explanation.
It looks like you're going to want to grab the second one and install it. If you don't know how: sudo apt-get install libqt3-headers
will do the trick.
Solution 2:
At least for me it worked out to
sudo apt-get install build-essential libqt4-dev libqt4-qt3support automake libtool gperf flex bison git cmake
from https://github.com/Qucs/qucs/wiki/Build-Linux
and go on with
./configure
make
sudo make install