Don't spose anyone here could point me in the right direction?
You're in luck because this program actually builds without trouble. I just tried it. You will need to have XCode installed. You can get it from developer.apple.com. Here's what you need to do:
1) It requires the Qt framework. Go
here and download "Download Qt Libraries 4.6.1 for Mac". Install it. That should install without any trouble.
2) You're program uses the CMake program to build. CMake is a build system that generates makefiles and whatnot. Download and install it from
here. You want the following: "cmake-2.8.0-Darwin-universal.dmg". That should also install without issue. This is in contrast to most open source software that uses the autoconf stuff that's very popular on linux and what not (with those programs, that typical build procedure is "./configure && make". if you do that here, it will simply call cmake and do what I'm about to tell you).
I use Qt and CMake on a daily basis for all my programming so let me know if you have any troubles with the above steps.
3) Download the source to your program. Latest version is 0.22.0. You can get it from the link you provided
4) Open up Terminal. Go to the directory that has the cutecom-0.22.0.tar.gz file you downloaded.
4a) You will need /usr/local/Trolltech/Qt-4.6.1/bin in your PATH variable. You can do this by executing the following on the command line:
Code:
export PATH=/usr/local/Trolltech/Qt-4.6.1/bin:$PATH
5) Execute the following command to 'untar' (unpackage/unzip) it:
Code:
tar zvxf cutecom-0.22.0.tar.gz
6) Go into that directory (cd cutecom-0.22.0)
7) Create a 'build' directory. It's just a directory that you will build all the stuff in. This isn't necessarily required but it's good practice and I recommend doing it when building anything that supports building in a different directory.
8) Build with the following commands:
cross your fingers ...
If it worked, you will see some colored output that says:
Code:
$ make
[ 20%] Generating ui_cutecommdlg.h
[ 40%] Generating moc_qcppdialogimpl.cxx
Scanning dependencies of target cutecom
[ 60%] Building CXX object CMakeFiles/cutecom.dir/main.cpp.o
[ 80%] Building CXX object CMakeFiles/cutecom.dir/qcppdialogimpl.cpp.o
[100%] Building CXX object CMakeFiles/cutecom.dir/moc_qcppdialogimpl.cxx.o
Linking CXX executable CuteCom.app/Contents/MacOS/CuteCom
[100%] Built target cutecom
9) If everything went right. You will have a 'CuteCom.app' in that same directory. That's your program. If you know what 'sudo' is, you can install it by doing:
and that will put it in /Applications. If you don't want to do that or have no idea what sudo is, then there's your program and you can put it whereever you want. If you open up finder and navigate to that directory, you will be able to double click on it to start it. Instead of doing the 'sudo make install' you can also use finder and drag the CuteCom.app file over to your Applications folder.