The MacPort for LProf has been updated and fixed. It is now quite easy to build LProf on the mac.
1) Download and install the MacPort package manager if you haven't already. http://www.macports.org/
2) Open a terminal window and type in the following command
sudo port selfupdate
sudo port install lprof
3) If no error occurred (see below), LProf.app will be created in /opt/local/var/macports/software/LProf/20090113_5/Applications/MacPorts/
You can create a link to it in the Applications folder using
The folder name 20090113_5 may have a different suffix so verify first.
MacPort does all the work of retrieving the latest LProf code from CVS along with its dependent libraries and building it. LProf depends on the Qt4 libraries for its user interface so their code will be pulled in and built if it isn't already. This step may take a couple of hours. Qt4 is quite huge. The rest of LProf is much faster to build (half hour).
If you get errors listing QtAssistant while building Qt4, you are likely running into conflict with an already installed version of Qt4 in the /Library/Frameworks directory. The current solution is to delete these libraries before invoking sudo port install LProf. This may break some programs that would depend on Qt4 for their user interface so you may want to back them before deleting them.
The upgrade and fixes to the LProf port were done by michaelld over at macport.org. Thanks a lot michaelld!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did a complete macports update and build of LProf 20090113_6 on 17 Jan 2011 under MacOS 10.6.5. I did not have Qt installed and so it included a complete build and install of that as well.
I had only one build error which was easy to fix. In vigra/src/impex/png.cxx I had to switch the call png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8().
After that the build completed and installed correctly. I have opened the app and it started up successfully but I don't have any other experience actually using yet.
-Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The MacPort for LProf has been updated and fixed. It is now quite easy to build LProf on the mac.
1) Download and install the MacPort package manager if you haven't already. http://www.macports.org/
2) Open a terminal window and type in the following command
3) If no error occurred (see below), LProf.app will be created in /opt/local/var/macports/software/LProf/20090113_5/Applications/MacPorts/
You can create a link to it in the Applications folder using
The folder name 20090113_5 may have a different suffix so verify first.
MacPort does all the work of retrieving the latest LProf code from CVS along with its dependent libraries and building it. LProf depends on the Qt4 libraries for its user interface so their code will be pulled in and built if it isn't already. This step may take a couple of hours. Qt4 is quite huge. The rest of LProf is much faster to build (half hour).
If you get errors listing QtAssistant while building Qt4, you are likely running into conflict with an already installed version of Qt4 in the /Library/Frameworks directory. The current solution is to delete these libraries before invoking sudo port install LProf. This may break some programs that would depend on Qt4 for their user interface so you may want to back them before deleting them.
The upgrade and fixes to the LProf port were done by michaelld over at macport.org. Thanks a lot michaelld!
I did a complete macports update and build of LProf 20090113_6 on 17 Jan 2011 under MacOS 10.6.5. I did not have Qt installed and so it included a complete build and install of that as well.
I had only one build error which was easy to fix. In vigra/src/impex/png.cxx I had to switch the call png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8().
After that the build completed and installed correctly. I have opened the app and it started up successfully but I don't have any other experience actually using yet.
-Steve