EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: building EPICS base on Mac OS X 10.5 (Leopard)
From: <[email protected]>
To: "Tom Pelaia"<[email protected]>, [email protected]
Date: Tue, 20 Nov 2007 10:34:29 +0900 (JST)
Hi,

Here is a list of /usr/libexec/gcc on my MacOSX10.5 machine.

  /usr/libexec/gcc:
  total used in directory 0 available 446416
  drwxr-xr-x   5 root  wheel   170 Oct 31 08:41 .
  drwxr-xr-x@ 94 root  wheel  3196 Oct 31 08:41 ..
  drwxr-xr-x   6 root  wheel   204 Sep 24 07:42 darwin
  drwxr-xr-x   3 root  wheel   102 Sep 24 07:37 i686-apple-darwin9
  drwxr-xr-x   3 root  wheel   102 Sep 24 07:37 powerpc-apple-darwin9

and contents in /usr/lib/exec/gcc/darwin

   /usr/libexec/gcc/darwin:
  total used in directory 0 available 446416
  drwxr-xr-x  6 root  wheel  204 Sep 24 07:42 .
  drwxr-xr-x  5 root  wheel  170 Oct 31 08:41 ..
  drwxr-xr-x  3 root  wheel  102 Sep 24 07:43 i386
  drwxr-xr-x  3 root  wheel  102 Sep 24 07:43 ppc
  drwxr-xr-x  3 root  wheel  102 Sep 24 07:43 ppc64
  drwxr-xr-x  3 root  wheel  102 Sep 24 07:43 x86_64

The error message you sent says:
>include -I/sw/include   ../../../src/libCom/bucketLib/bucketLib.c
>/usr/libexec/gcc/i686-apple-darwin8/4.0.1/as: assembler (/usr/bin/../ 

>libexec/gcc/darwin/i386/as or /usr/bin/../local/libexec/gcc/darwin/ 
>i386/as) for architecture i386 not installed
>Installed assemblers are:
>/usr/bin/../libexec/gcc/darwin/ppc64/as for architecture ppc64
>/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64

So, I suggest to check your installation of Xcode.

my Env:
bash-3.2$ uname -a
Darwin xxx.yyy.zzz 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct  9 21:37:58 PDT 2007; root:xnu-1228~\1/RELEASE_PPC Power Macintosh

bash-3.2$ cc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.

You need to install epicsMath.h from Eric.
You may also need to edit configure/os/CONFIG.Common.darwin-ppcx86 to
delete 

-isysroot /Developer/SDKs/MacOSX10.4u.sdk

and 

-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk

from options.

Hope this help,

Noboru

--- "Tom Pelaia" <[email protected]> ---

>Has anyone successfully built EPICS base 3.14.9 on Mac OS X 10.5  
>(Leopard) for X86?  It fails when I attempt to run make.
>
>thanks,
>tom
>
>I get the following result and error when running make:
>
>t6p@i73072: make
>make -C config install
>perl /Library/EPICS/Versions/Current/configure/tools/makeMakefile.pl  
>O.darwin-x86 ../..
>mkdir O.Common
>make -C O.darwin-x86 -f ../Makefile TOP=../.. T_A=darwin-x86 install
>make[2]: Nothing to be done for `install'.
>make -C configure install
>perl /Library/EPICS/Versions/Current/configure/tools/makeMakefile.pl  
>O.darwin-x86 ../..
>mkdir O.Common
>make -C O.darwin-x86 -f ../Makefile TOP=../.. T_A=darwin-x86 install
>perl /Library/EPICS/Versions/Current/configure/tools/convertRelease.pl  
>-h darwin-x86 CONFIG_APP_INCLUDE
>make -C src install
>make -C libCom install
>perl /Library/EPICS/Versions/Current/configure/tools/makeMakefile.pl  
>O.darwin-x86 ../../..
>mkdir O.Common
>make -C O.darwin-x86 -f ../Makefile TOP=../../.. T_A=darwin-x86 install
>perl ../../../src/libCom/misc/makeEpicsVersion.pl /Library/EPICS/ 
>Versions/Current/configure/CONFIG_BASE_VERSION ../O.Common
>Building epicsVersion.h from /Library/EPICS/Versions/Current/configure/ 
>CONFIG_BASE_VERSION
>Found EPICS Version 3.14.9
>Installing generated generic include file ../../../include/ 
>epicsVersion.h
>/usr/bin/cc -c            -DUNIX  -Ddarwin   -ansi  -O3  -Wall          
>-fno-common -fPIC -I. -I.. -I../../../src/libCom/bucketLib -I../../../ 
>src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/ 
>cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/ 
>cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib - 
>I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/ 
>libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/ 
>gpHash -I../../../src/libCom/logClient -I../../../src/libCom/macLib - 
>I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/ 
>libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs  
>-I../../../include/os/Darwin -I../../../include       -I/opt/local/ 
>include -I/sw/include   ../../../src/libCom/bucketLib/bucketLib.c
>/usr/libexec/gcc/i686-apple-darwin8/4.0.1/as: assembler (/usr/bin/../ 
>libexec/gcc/darwin/i386/as or /usr/bin/../local/libexec/gcc/darwin/ 
>i386/as) for architecture i386 not installed
>Installed assemblers are:
>/usr/bin/../libexec/gcc/darwin/ppc64/as for architecture ppc64
>/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
>make[3]: *** [bucketLib.o] Error 1
>make[2]: *** [install.darwin-x86] Error 2
>make[1]: *** [libCom.install] Error 2
>make: *** [src.install] Error 2
>t6p@i73072:
>
>
>
>
>
>
>
>
>


Replies:
Re: building EPICS base on Mac OS X 10.5 (Leopard) Tom Pelaia
References:
building EPICS base on Mac OS X 10.5 (Leopard) Tom Pelaia

Navigate by Date:
Prev: Re: subArray INDX field set to 0 if NORD <= 0 J. Lewis Muir
Next: RE: building EPICS base on Mac OS X 10.5 (Leopard) Denison, PN (Peter)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: building EPICS base on Mac OS X 10.5 (Leopard) Tom Pelaia
Next: Re: building EPICS base on Mac OS X 10.5 (Leopard) Tom Pelaia
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·