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
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:
The componentdialog.moc.cpp or many ~~~.moc.cpp files seem to be get created automatic by /use/bin/moc-qt4 when you do successfully
You have the source file of QUCS unpacked "somewhere" with a command:
tar -xvzf qucs-0.0.18.131128.tar.gz (Enter)?
(0.0.18.131128) was the version number of my package. Let call the "somewhere" as SRC-DIR.
To compile "Qucs" you need to install:
Go to "filewatcher.com" and enter these file name in the search box and press search button one by one to find them to download and install them.
When you have installed them:
"libqt4-dev_4.deb" would be in /usr/include/qt4.
"libqt3-compat-headers_3.deb" and "libqt3-headers_3.deb" would be in /usr/include/qt3.
You need to do to make a sim-link to the /usr/include/qt4 with the name "Qt" as /usr/include/~Qt as Qucs configure file seem to be looking for the directry /usr/include/Qt instead of /usr/include/qt4 or qy3.
with a command:
ln -s /usr/include/qt4 /usr/include/Qt (Enter) to make the sim-link /usr/include/~Qt.
We are almost there to do "./configure" but there seems to be a bit of confusion in the /usr/include/qt4(~QT) directory.
with a command:
cp /usr/include/qt4/Qt/*.h /usr/include/qt4 (Enter)
And make a link to /usr/include/qt4/QtGui in /usr/include
with a command:
ln -s /usr/include/qt4/QtGui /usr/include/QtGui
You also need to copy files listed below to /usr/include/qt4 directory from /usr/include/qt4/Qt3Support and /usr/include/qt4/QtCore directories.
You also need to copy /usr/include/qt3/private directory with it's contents to /usr/include/qt4 as /usr/include/qt4/private.
cp /usr/include/qt3/private/* /usr/include/qt4/private
NOW, you can do at the SRC-DIR "./configure (Enter)". It will,I hope, successfully complete lengthy configuration.
If you do now "make(Enter)" this will get you almost all the way compiling Qucs but it could stop at: