Problem installing teTeX

Eric Brombaugh ebrombaugh at earthlink.net
Sat Nov 3 19:29:20 PDT 2007


Thanks for the suggestion. I tried both of those hierarchies as well  
as a few others (/etc, /Libraries, /System) and didn't find anything.  
Curiouser and curiouser.

Eric

On Nov 3, 2007, at 7:16 PM, Ryan Schmidt wrote:

> Perhaps try searching thru your entire /usr/local and /opt/local  
> directories to see if "(from old Mac)" appears anywhere.
>
> grep "(from old Mac)" -r /usr/local 2>/dev/null
> grep "(from old Mac)" -r /opt/local 2>/dev/null
>
>
> On Nov 3, 2007, at 20:51, Eric Brombaugh wrote:
>
>> Thanks for checking that. I don't have a directory '/usr/local  
>> (from old Mac)/lib' on my machine, but that nomenclature sounds  
>> like something that Migration Assistant might generate - possibly  
>> that was added to a library list somewhere and the config process  
>> picked it up from there.
>>
>> I understand that 'tetex is dead' and given my druthers I wouldn't  
>> be installing it - it's huge and I don't directly use it.  
>> Unfortunately though it is a dependency of octave, so there's no  
>> choice.
>>
>> Eric
>>
>> On Nov 3, 2007, at 6:40 PM, Ryan Schmidt wrote:
>>
>>> On Nov 3, 2007, at 16:49, Eric Brombaugh wrote:
>>>
>>>> Still trying to get octave and octave-forge installed on a  
>>>> Leopard / Santa Rosa Macbook. This time the teTex install bailed  
>>>> out. The relevant error is:
>>>>
>>>> /bin/sh ../libtool --mode=link gcc -o xdvi-xaw.bin -L/opt/local/ 
>>>> lib   browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o  
>>>> events.o filehist.o font-open.o gf.o hypertex.o image-magick.o  
>>>> mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print- 
>>>> internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o  
>>>> search-internal.o special.o string-utils.o tfmload.o util.o vf.o  
>>>> xdvi.o xserver-info.o x_util.o ./gui/libgui.a ../../libs/t1lib/ 
>>>> libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/local (from  
>>>> old Mac)/lib  -L/usr/X11/lib   -lXaw -lXmu -lXt -lSM -lICE -lXp - 
>>>> lXext -lX11 -liconv -lXpm  ../kpathsea/libkpathsea.la -lm
>>>> /bin/sh: -c: line 0: syntax error near unexpected token `('
>>>> /bin/sh: -c: line 0: `/bin/sh ../libtool --mode=link gcc -o xdvi- 
>>>> xaw.bin -L/opt/local/lib   browser.o dvi-draw.o dvi-init.o  
>>>> dvisel.o encodings.o events.o filehist.o font-open.o gf.o  
>>>> hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o  
>>>> pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o  
>>>> psnews.o read-mapfile.o search-internal.o special.o string- 
>>>> utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o ./ 
>>>> gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/ 
>>>> libtype1.a -L/usr/local (from old Mac)/lib  -L/usr/X11/lib   - 
>>>> lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -liconv -lXpm  ../ 
>>>> kpathsea/libkpathsea.la -lm  '
>>>> make[2]: *** [xdvi-xaw.bin] Error 2
>>>> make[1]: *** [all] Error 1
>>>> make: *** [all] Error 1
>>>>
>>>> Digging in it appears that the 'config.cache' file wasn't cleaned  
>>>> out prior to distribution and a bad definition for one of the  
>>>> library paths was left in resulting in the following entry in the  
>>>> xdvik Makefile:
>>>>
>>>> x_ldflags=-L/usr/local (from old Mac)/lib  -L/usr/X11/lib
>>>>
>>>> Removing the " (from old Mac) " in the Makefile allowed the build  
>>>> to proceed to completion.
>>>
>>> tetex is distributed without a config.cache file. That file must  
>>> have been generated on your machine during the build process.  
>>> Also, I downloaded the tetex 3.0 source code and found no  
>>> occurrences of the string "from old Mac" anywhere in it. Do you  
>>> have a directory "/usr/local (from old Mac)" on your Mac? If so,  
>>> try moving it elsewhere or getting rid of it. Then try "sudo port  
>>> clean --work tetex" and try installing again.
>>>
>>> Also, note that there is a bug titled "tetex is dead" which you  
>>> might want to read to see if "tetex" is really the software  
>>> package you want to be using:
>>>
>>> http://trac.macports.org/projects/macports/ticket/12913



More information about the macports-users mailing list