[OS X TeX] dvipng1-8 and SAGE

Thomas Rike tricycle222 at earthlink.net
Wed Aug 9 07:17:07 CEST 2006


On Aug 8, 2006, at 6:39 PM, Thomas Rike wrote:

>
> On Aug 8, 2006, at 4:50 PM, Martin Costabel wrote:
>
>> Thomas Rike wrote:
>> []
>>>>
>>> Thanks for the help.  I tried presetting the flags as you  
>>> suggested with and without "kpathsea" but the output is still the  
>>> same:
>>> checking for kpse_set_progname in -lkpathsea... no
>>> configure: error: cannot find/use libkpathsea
>>
>> Have a look into the config.log file; it will tell you more about  
>> why configure thinks it cannot find/use libkpathsea. Look for a line
>>
>> configure:2942: checking for kpse_set_progname in -lkpathsea
>>
>> and then watch what comes afterwards.
>>
>> -- 
>> Martin
>>
> Thank you for this hint (I'm so new to this that I didn't realize  
> that the config.log was sitting there.) This is very illuminating.  
> I am using Mac Intel and it appears that libkpathsea.a is  
> referencing a ppc.  Do I need another libkpathsea.a for the intel  
> Mac? I just finished looking at the web and saw that this same type  
> of error occurred on May 4 in a post by Joseph Slater.  I couldn't  
> quite make out what the final outcome was. I will look into an  
> update since I installed in March. Thanks again.
>
> configure:2942: checking for kpse_set_progname in -lkpathsea
> configure:2972: gcc -o conftest -g -O2 -I/usr/local/teTeX/include/ 
> kpathsea -L/usr/local/teTeX/lib conftest.c -lkpathsea  -lgd -lpng - 
> lz -lm  >&5
> /usr/bin/ld: warning /usr/local/teTeX/lib/libkpathsea.a archive's  
> cputype (18, architecture ppc) does not match cputype (7) for  
> specified -arch flag: i386 (can't load from it)
> /usr/bin/ld: Undefined symbols:
> _kpse_set_progname
> collect2: ld returned 1 exit status
> configure:2978: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
>
I have now reinstalled LaTeX using the i-Installer and checking in  
the terminal I now have 2 architectures. I get

Thomas-Rikes-Computer:~ trike$ file /usr/local/teTeX/lib/libkpathsea.a
/usr/local/teTeX/lib/libkpathsea.a: Mach-O universal binary with 2  
architectures
/usr/local/teTeX/lib/libkpathsea.a (for architecture ppc):       
current ar archive
/usr/local/teTeX/lib/libkpathsea.a (for architecture i386):      
current ar archive random library

However, there is still a problem. The libkpathsea.a is out of date.  
The configuration log now says

configure:2942: checking for kpse_set_progname in -lkpathsea
configure:2972: gcc -o conftest -g -O2 -I/usr/local/teTeX/include/ -L/ 
usr/local/teTeX/lib conftest.c -lkpathsea  -lgd -lpng -lz -lm  >&5
/usr/bin/ld: table of contents for archive: /usr/local/teTeX/lib/ 
libkpathsea.a is out of date; rerun ranlib(1) (can't load from it)
collect2: ld returned 1 exit status
configure:2978: $? = 1
configure: failed program was:
| /* confdefs.h.  */

I am not giving up yet. Thanks for all the hints. I'm learning a lot  
in the process.  Tom Rike
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list