 |
 |
Compiling Command Line Apps... ex: teTex
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Status:
Offline
|
|
I'm trying to get pdfTex (or teTex) built under OS X PB1..
The pdfTex src includes a "configure" shell script which generates the following output:
-------------------------------------------
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking host system type... configure: error: can not guess host type; you must specify one
-------------------------------------------
I'm sure someone has run into this problem (in bold) already.. Any suggestions on which files I need to edit to specify the host type?
Thanks;
Jeff
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
The problem comes from the fact that OSX doesn't set a $HOST environment variable (I don't know why, but it doesn't). What you have to do, therefore, is modify your configure call a bit, to:
./configure --host=powerpc-apple-rhapsody10.0
That seems to work for Mozilla and everything related to it, at any rate (well, Fizzilla still won't build as Carbon/Mach, but the configuration works anyway, and the libs compile fine).
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Status:
Offline
|
|
Thanks..
I ran the configure script using the suggested call, and had no serious problems (I was missing a library, but the config script gave me the ftp address fo rthe files I needed)..
Then I ran the resulting make file, only to hit another error.. The make file calls "/usr/bin/ld -lcrt0.o" and gets an error message stating that crt0.o can't be found.. I guess, I'll have to poke around and do a little reading..
Thanks again..
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
Obviously, you could solve the problem, but unless you really want to compile it there already is a fully compiled TeX. I can't remember where but it's described in the manuals of TexShop, which can be found easily.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Status:
Offline
|
|
I hadn't heard of TeXShop before.. I just took a look at the TeXShop page, and I'll give it a try. Thanks.
Honestly, I was just trying to learn a little more about BSD and what it takes to build an app from the available source code.. TeX just happened to be something I could see an immediate use for..
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
Yeah, I did that too, but it was pForth I tried to compile (and did, in the end), with some help from its author and the usual trial-and-error procedure. Good experience.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|