texlive_base failed to build

Bryan Blackburn blb at macports.org
Fri Oct 17 13:33:01 PDT 2008


On Fri, Oct 17, 2008 at 03:06:48AM -0700, Frank J. R. Hanstick said:
> Hello,
> 	I got the following error when installing octave-vrml dependency  
> texlive_base:
> 
> --->  Fetching texlive_base
[...]
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H  -I. -I. -I.. -I./..  -isystem/opt/ 
> local/include -I../../libs/obsdcompat -I../../libs/obsdcompat/.. - 
> I./../../libs/obsdcompat -I./../../libs/obsdcompat/.. -O2  -I../../ 
> libs/icu-xetex/common -I./../../libs/icu-xetex/common -I./../../libs/ 
> icu-xetex/layout -DLE_USE_CMEMORY -I./../../libs/teckit/source/Public- 
> headers -DHAVE_CONFIG_H  -I. -I. -I.. -I./..  -isystem/opt/local/ 
> include -I../../libs/obsdcompat -I../../libs/obsdcompat/.. -I./../../ 
> libs/obsdcompat -I./../../libs/obsdcompat/.. -O2  -DXETEX_MAC -c  
> xetexdir/XeTeX_mac.c -o XeTeX_mac.o
> gcc -ObjC++ -I../../libs/icu-xetex/common -I./../../libs/icu-xetex/ 
> common -I./../../libs/icu-xetex/layout -DLE_USE_CMEMORY -I/opt/local/ 
> include -I/opt/local/include/freetype2 -DHAVE_CONFIG_H  -I. -I. -I.. - 
> I./..  -isystem/opt/local/include -I../../libs/obsdcompat -I../../ 
> libs/obsdcompat/.. -I./../../libs/obsdcompat -I./../../libs/ 
> obsdcompat/..  -DXETEX_MAC -c xetexdir/XeTeXFontMgr_Mac.mm -o  
> XeTeXFontMgr_Mac.o
> cc1objplus: error: invalid option argument '-ObjC++'

-ObjC++ is a valid option for Apple's gcc so it should work, but I note that
compiling of this file used just 'gcc' whereas the others used
'/usr/bin/gcc-4.0'.  So what is the result of running

$ which gcc

You may have another gcc that could be getting in the way and confusing
things.

Bryan


> make[2]: *** [XeTeXFontMgr_Mac.o] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
> 
> Error: The following dependencies failed to build: octave texlive  
> texlive_base
> Error: Status 1 encountered during processing.
> 
> The platform is a 2001 PowerPC G4 Quicksilver upgraded to a dual 1.73  
> GHz MPC 7448 from a dual 800 MHz MPC-7450 running Mac OS 10.4.11 with  
> all the latest updates.
> 
> The port command was:  sudo port install octave-vrml.
> Frank
> 


More information about the macports-users mailing list