Blah. Well, there were a couple of bugs in the plist files. I was apparently using a non-existent CMake variable (I misspelled "CMAKE_PROJECT_NAME" as "CMAKE_PACKAGE_NAME"), so the package was installing under the name "com.virtualgl.", which is probably what was causing problems. Try the following:
-- Run /opt/TurboVNC/bin/uninstall or "TurboVNC Uninstall.app" to uninstall any package you currently have installed. That should remove the errant "com.virtualgl." package -- Manually run sudo pkgutil --forget com.virtualgl.turbovnc That will get rid of any receipt from a previous legitimate install. -- Now try installing the latest pre-release DMG (http://virtualgl.sourceforge.net/vnc.nightly/) that I just uploaded, and hopefully it will work. You can run pkgutil --pkgs | grep virtualgl to verify that only the 'com.virtualgl.turbovnc' package is installed. On 11/20/12 8:40 PM, James Wettenhall wrote: > DRC, > > I still have the same problem when I try using the v1.1.81 TurboVNC.pkg > installer on my MacBook Pro, running Mac OS X 10.7.5, when using Apple's > built-in "Installer" application - Installer 5.0.1 (537). > > The "Uninstall TurboVNC.app" application installs fine in my > /Applications/ directory, but "TurboVNC Viewer.app" is missing. > > However, I did manage to install the latest TurboVNC.pkg successfully > using the "Pacifist" shareware application to install the TurboVNC.pkg > package, instead of Apple's built-in "Installer" application. > > I think I may have found a problem in the "makemacpkg.in" script within > the TurboVNC source: > > cp -R "$PACKAGE_NAME Viewer.app" "$PKGROOT/Applications/$PACKAGE_NAME/" > cp -R "$TMPDIR/Uninstall $PACKAGE_NAME.app" > "$PKGROOT/Applications/$PACKAGE_NAME/" > > Why is "$TMPDIR/" missing from "$PACKAGE_NAME Viewer.app" in the first > line (which tries to install the Java viewer), whereas it is present in > the second line (which installs the Uninstall apple script application) ? > > Cheers, > James > > > On 14/11/2012, at 3:52 AM, DRC wrote: > >> I attempted to reproduce this but without any luck. I installed the >> 1.1 DMG, then copied /opt/TurboVNC/bin/vncviewer to >> /opt/TurboVNC/bin/vncviewer.bak as you had done, then installed the >> 1.1.81 DMG on top of it without de-installing 1.1, and it seemed to >> work fine. >> >> When I run the uninstaller app, it complains that "The uninstall >> script could not remove some of the files or directories installed by >> the TurboVNC package", which is expected since >> /opt/TurboVNC/bin/vncviewer.bak is still there, but it otherwise works. >> >> I will note that I had observed during testing the package that, at >> least once, it failed to install the files in /Applications/TurboVNC >> for unexplained reasons, and it's possible you ran into that as well. >> Please keep an eye on it in case it happens again, as there may be a >> legitimate issue with the package or perhaps a bug in the OS X >> installer that we need to work around. >> >> The package is built using a script called "makemacpkg", which is >> generated by CMake (to fill in variables, such as the version #, the >> installation directories, etc.) The generated script is in >> pkgscripts/ under your build directory. When you do 'make dmg', it >> simply invokes that script. >> >> I did notice an issue in the uninstaller script whereby it wouldn't >> cleanly get rid of all of the files from previous (pre-1.2) packages >> that didn't exist in the 1.2 package, such as >> /Applications/TurboVNC/Documentation and >> /opt/TurboVNC/man/man1/vncviewer.1. That has been fixed in SVN trunk. >> >> >> On 11/12/12 8:02 PM, James Wettenhall wrote: >>> Hi, >>> >>> I tried using the latest Mac OS X installer for TurboVNC viewer 1.1.81 >>> >>> The installer claimed to have completed successfully. >>> >>> However, when I try to run TurboVNC viewer using >>> /opt/TurboVNC/bin/vncviewer, I get: >>> >>> /opt/TurboVNC/bin/vncviewer: line 1: /Applications/TurboVNC/TurboVNC >>> Viewer.app/Contents/MacOS/JavaApplicationStub: No such file or directory >>> >>> And sure enough, there is no "TurboVNC Viewer.app" in >>> my/Applications/TurboVNC/ directory: >>> >>> James's Mac $ ls -l /Applications/TurboVNC/ >>> total 8 >>> lrwxr-xr-x 1 root admin 42 13 Nov 12:49 TurboVNC User's >>> Guide.html -> /Library/Documentation/TurboVNC/index.html >>> drwxr-xr-x 3 root admin 102 13 Nov 12:49 Uninstall TurboVNC.app >>> James's Mac$ >>> >>> There doesn't seem to be a package receipt in/var/db/receipts/ >>> >>> ls /var/db/receipts/*vnc* >>> ls /var/db/receipts/*VNC* >>> >>> I can't find the package using: >>> >>> pkgutil --pkgs | grep vnc >>> pkgutil --pkgs | grep VNC >>> >>> So I can't query its files using: >>> >>> pkgutil --files PKGID >>> >>> If I try installing the package from the command-line, I get: >>> >>> James's Mac$ sudo installer -verbose -pkg >>> /Volumes/TurboVNC-1.1.81/TurboVNC.pkg -target /Volumes/Macintosh\ HD >>> Password: >>> installer: Package name is >>> installer: Upgrading at base path / >>> installer: Preparing for installation…..... >>> installer: Preparing the disk…..... >>> installer: Preparing …..... >>> installer: Waiting for other installations to complete…..... >>> installer: Configuring the installation…..... >>> installer: >>> # >>> installer: Moving items into place…..... >>> # >>> installer: Moving items into place…..... >>> # >>> installer: Moving items into place…..... >>> # >>> installer: Moving items into place…..... >>> # >>> installer: Moving items into place…..... >>> # >>> installer: Moving items into place…..... >>> # >>> installer: Registering updated applications…..... >>> # >>> installer: Validating packages…..... >>> # >>> installer: >>> installer: Finishing the Installation…..... >>> installer: >>> # >>> installer: The software was successfully installed...... >>> installer: The upgrade was successful. >>> James's Mac$ >>> >>> Is the TurboVNC Mac OS X installer package built using CMake? Or by >>> using some other method which should become obvious to me if I stare >>> at the TurboVNC source tarball for long enough? >>> >>> Cheers, >>> James >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> >>> >>> _______________________________________________ >>> VirtualGL-Devel mailing list >>> VirtualGL-Devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/virtualgl-devel >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ >> VirtualGL-Devel mailing list >> VirtualGL-Devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/virtualgl-devel > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > > _______________________________________________ > VirtualGL-Devel mailing list > VirtualGL-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-devel > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ VirtualGL-Devel mailing list VirtualGL-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-devel