From: Thoralt F. <tho...@pr...> - 2007-04-14 05:03:02
|
Hi,=20 I was able to successfully build and install qucs on MacOS X (10.4/Tiger). The configure script told me to send you a note about my success on the following platforms (I tested both): i686-apple-darwin8.9.1 powerpc-apple-darwin8.9.0 My installed C compiler is gcc-4.0.1. Because the installation instructions for qucs are somehow incomplete (inexistent?) I decided to write a short guide on how to install qucs on MacOS 10.4. I added the text below. It would be nice if you included it into one of the next releases so other people using MacOS will be able to install qucs without trial and error. For building I installed Qt3. Is it right that qucs will not build with Qt4? If it did, I would want to find out how, because Qt4 supports the native MacOS Aqua look and feel, while Qt3 only shows these old fashioned X11 windows on MacOS. Cheers Thoralt ----- begin INSTALL.MacOS -------------------------------- Building qucs for MacOS X 10.4/Tiger To build qucs, you need to install X11 and QT first. Here is how I did it. 1. Installing X11 To install X11 (if you do not already have it), insert your MacOS installation DVD, scroll down, open "Optional Installs" and choose the package "X11" for installation. Finish the installation. 2. Installing QT An easy way of installing QT3 is using Darwin Ports. With Darwin Ports you can install MacOS versions of many known open source projects by using simple commands. Get it here: http://darwinports.com/ Download the .dmg file from there, open it and install the Darwin Ports package. After that, Darwin Ports needs to be updated to the most recent version. Open a shell and type the following commmand (you will be asked for your password): $ sudo port -d selfupdate Now it is time to get QT3. In the shell, type this command: $ sudo port install qt3 Now Darwin Ports will fetch a lot of packages which are needed to install QT3. Be patient, this will take some time. Once finished, you need to export a new environment variable. Do this by typing the following two lines into your shell: $ QTDIR=3D/opt/local/lib/qt3 $ export QTDIR Do not close the shell, we'll need it with the above environment variable for the installation of qucs. 3. Compiling qucs You should get the latest version of qucs now. I wrote this article using qucs-0.0.11, but this should work for future versions, too. I assume you have downloaded the qucs source code to Documents/qucs-0.0.11.tar.gz, so we can use our shell to extract the source files with the following commands: $ cd Documents $ tar =ADxvzf qucs-0.0.11.tar.gz Now compile qucs: $ cd qucs-0.0.11 $ ./configure $ make $ sudo make install $ sudo ln -s /usr/local/bin/qucs /Applications/qucs If everything went ok, you should now have a link to the binary "qucs" in your Applications. You're done! -- This guide was originally written by Thoralt Franz -- ----- end INSTALL.MacOS ---------------------------------- |