Changes between Initial Version and Version 1 of Ticket #16916


Ignore:
Timestamp:
Oct 19, 2008, 5:14:53 AM (16 years ago)
Author:
mf2k (Frank Schima)
Comment:

Assigning to maintainer.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16916

    • Property Keywords texlive added; texlive_base removed
    • Property Owner changed from macports-tickets@… to milosh@…
    • Property Port texlive_base added; texlive removed
  • Ticket #16916 – Description

    initial v1  
    11During the first attempt to install octive-vrml, I experienced the following error:
    22
     3{{{
    34gcc -ObjC++ -I../../libs/icu-xetex/common -I./../../libs/icu-xetex/
    45common -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./..
     
    1213texlive_base
    1314Error: Status 1 encountered during processing.
     15}}}
    1416
    1517It was pointed out to me that the error should not have occurred if gcc-4.0.1 was used; but, gcc-4.0.1 was not used when compiling xetexdir/XeTeXFontMgr_Mac.mm.  Earlier, I had installed gcc-mt-4.3.2 via MacPorts and gcc-mt-4.3.2 does not recognize -ObjC++.  The curious part was that only xetexdir/XeTeXFontMgr_Mac.mm tried to compile with gcc-mt-4.3.2.  All other files used gcc-4.0.1.  Further research explained why the xetexdir/XeTeXFontMgr_Mac.mm did not reference gcc-4.0.1.  Instead of a prefixed call to /usr/bin/gcc, the call for xetexdir/XeTeXFontMgr_Mac.mm was gcc with no prefix.  In order to use MacPorts installed programs, the path has /opt/local/bin as the first option in the path name.  Since /opt/local/bin is the first option, an unprefixed gcc call will find the gcc-mt-4.3.2 first and use it instead of gcc-4.0.1.  This simple structure caused this problem with the unprefixed gcc call.  To verify that the call was an (no change because of installing gcc-mt-4.3.2) unprefixed gcc in every case, I uninstalled gcc-mt-4.3.2, did a build with the -d option while outputting to a log file, and checking the log file for the xetexdir/XeTeXFontMgr_Mac.mm compile command to find that I was correct in an unprefixed call to gcc.  Not having gcc-mt-4.3.2 installed resulted in a good build which was expected.  Reinstalling gcc-mt-4.3.2 resulted in a bad build which I also expected.  I then suspected that the Makefile used for compilation contained the unprefixed call and to verify that suspicion unpacked texlive_base in my Desktop directory, searched the various directories to find the directory for compiling xetexdir/XeTeXFontMgr_Mac.mm, and found that Makefile had not yet been created.  I then ran ./configure and the result was a Makefile with an unprefixed call to gcc for xetexdir/XeTeXFontMgr_Mac.mm and prefixed calls to gcc for all other modules.  I did not trace the problem source back any further than the Makefile generation verification because I did not know enough of the procedure needed to build texlive to make changes farther back.  As far as I know, this is a problem for the texlive_base author to fix; but, decided to go through MacPorts since MacPorts is porting texlive_base and the maintainer of the texlive port should be aware of this problem and already have contacts with the authors of texlive.  I am not going to attach the log file because it is quite large; but, will make it available upon request if needed.  The log file will probably not tell you any more than I already have, namely that xetexdir/XeTeXFontMgr_Mac.mm is the only module with an unprefixed gcc call.