Offline Software Installation on Mac OS X 10.5.5

From Daya Bay
Jump to navigation Jump to search

26 Nov 08: David Jaffe's experience installing trunk under Mac OS X 10.5.5 1 May 09: David's additional experience installting upgrade under Mac OS X 10.5.6


Failed to build CMT due to Xcode problem

Solution

Dan sez:

Hi David,

A quick search recommends the following:

"I had a very similar error (below) when I tried to make the CUDA 2.0 SDK. 
Turns out I had installed the XcodeTools when my Mac was running Tiger (10.4) 
and I hadn't re-installed after I'd upgraded to Leopard (10.5). Putting the Leopard 
install disk in and running XcodeTools.mpkg from the Optional Installs > Xcode 
Tools directory did the trick for me."

http://forums.nvidia.com/index.php?showtopic=69682

Failed to build root.

Problem

g++ -O2 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude   -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -D__DARWIN_UNIX03=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__C
INTBODY -Icint/src -D_REENTRANT -pthread -Icint/lib/ -Wno-strict-aliasing -o cint/src/gcc4strm.o -c cint/src/gcc4strm.cxx
In file included from cint/src/gcc4strm.cxx:7:
cint/src/gcc4strm.h:30:20: error: iostrm.h: No such file or directory

Solution Execute g++ line manually with added -Icint/lib/gcc4strm into the command.

FAILED COMMAND:

g++ -O2 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude   -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -D__DARWIN_UNIX03=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -D_REENTRANT -pthread -Icint/lib/ -Wno-strict-aliasing -o cint/src/gcc4strm.o -c cint/src/gcc4strm.cxx

SUCCESSFUL COMMAND:

 g++ -O2 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude   -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -D__DARWIN_UNIX03=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -D_REENTRANT -pthread -Icint/lib/ -Icint/lib/gcc4strm -Wno-strict-aliasing -o cint/src/gcc4strm.o -c cint/src/gcc4strm.cxx

This might be related: https://savannah.cern.ch/bugs/?40291

Failed to build openmotif

First openmotif failure

Problem

i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libpng.3.0.0.dylib: No such file or directory

Solution softlink to existing file

as root# ln -s libpng.3.dylib libpng.3.0.0.dylib

Second openmotif failure

Problem

Error: $LANG contains an unknown character set

Info: no UID file was produced

Info: errors: 1  warnings: 0  informationals: 1
make[3]: *** [dog.uid] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


from dump of environmentals at end of log file:

LANG=en_US.US-ASCII

Solution Set LANG by hand to english

$ export LANG=en

Upgrade failed due to inability to download files

The upgrade uses python scripts to retrieve files needed to build the externals. On the mac, it is possible to define different proxies for different applications and this leads to trouble. In my case, I can use one proxy for iTunes and another for dybinst-allation. There is no problem with this scheme if wget is used to retrieve files, but python appears to be too clever. I get the following sorts of errors:

IOError: [Errno socket error] (60, 'Operation timed out')
CMT> Error: execution_failed : pkg_get


urllib2.URLError: <urlopen error (60, 'Operation timed out')>
=== nosebit_install : ERROR cmd easy_install is present /usr/bin/easy_install but not within /Users/davidjaffe/Documents/Reactor/work/Upgrade090429

The cleverness of python is described in [1], in particular this statement "In a Macintosh environment, urlopen() will retrieve proxy information from Internet Config." Additional googling led me to understand that Internet Config is now supplemented by other Apps, but this is the root of the problem. Using the same proxy for both iTunes and dybinst appears to be a satisfactory solution for my mac.