Opened 18 years ago
Closed 18 years ago
#9147 closed defect (duplicate)
teTeX 3.02 will not build on darwinports 1.211
Reported by: | mdugdale@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
On trying to updgrade from teTeX 3.01 to 3.02, using "sudo port upgrade teTeX", I get the following errror
---> Building teTeX with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_lo$ Command output: make[2]: Nothing to be done for `all'. cd include && make DESTDIR="" all cd ncurses && make DESTDIR="" all make[2]: Nothing to be done for `all'. making all in utils/dialog make[1]: Nothing to be done for `all'. making all in texk cd ./kpathsea && make CC='gcc' CFLAGS='-g -O2 ' LDFLAGS= prefix=/opt/local/var/db/dports/build$ make[2]: Nothing to be done for `default'. for d in web2c afm2pl bibtex8 cjkutils detex devnag dtl dvi2tty dvidvi dviljk dvipdfm dvipng dvip$
(cd $d && make CC='gcc' CFLAGS='-g -O2 ' LDFLAGS= prefix=/opt/local/var/db/dports/build/_opt$
cd man && make all make[3]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. cd gui; make CC='gcc' CFLAGS='-g -O2 ' libgui.a make[3]: `libgui.a' is up to date. /bin/sh ../libtool --mode=link gcc -o xdvi-motif.bin browser.o dvi-draw.o dvi-init.o dvisel.o e$ gcc -o xdvi-motif.bin browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o fo$ /usr/bin/ld: can't locate file for: -lXm collect2: ld returned 1 exit status make[2]: * [xdvi-motif.bin] Error 1 make[1]: * [all] Error 1 make: * [all] Error 1
Error: Unable to upgrade port: 1
Any help would be appreciated
Change History (7)
comment:1 Changed 18 years ago by gwright@…
Owner: | changed from darwinports-bugs@… to gwright@… |
---|
comment:2 Changed 18 years ago by mdugdale@…
Hi, and thanks for your prompt reply. I had installed the X11 sdk with the version of Xcode on the Tigre dvd, and recently upgraded it to Xcode 2.3. To make sure the X11 SDK is there, I re-installed that package. I've tried Google, but I haven't found out how to tell if the SDK is properly installed or not. I *think*, then, that the SDK is installed although I'm afraid I don't know how to verify that. Still, teTeX didn't build, giving the same error as above.
When I tried installing it with the +nox11 variant, it didn't build cleanly. The output is as follows:
EnCheeze:/ gquark$ sudo port install teTeX +nox11 ---> Fetching teTeX ---> Verifying checksum(s) for teTeX ---> Extracting teTeX ---> Configuring teTeX ---> Building teTeX with target all â---> Staging teTeX into destroot ---> Installing teTeX 3.0_2+nox11 ---> Activating teTeX 3.0_2+nox11 Error: Target com.apple.activate returned: shell command "fmtutil-sys --all" returned error 1 Command output: \font\nullfont=nullfont 0 words of font info for 0 preloaded fonts 0 hyphenation exceptions Hyphenation trie of length 256 has 0 ops out of 35111 No pages of output. Transcript written on mptopdf.log. fmtutil: /opt/local/share/texmf-var/web2c/aleph.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/cont-en.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/etex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/lambda.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/lamed.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/mptopdf.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/omega.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/pdfetex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/pdftex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/tex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/metafun.mem installed. fmtutil: /opt/local/share/texmf-var/web2c/mpost.mem installed. fmtutil: /opt/local/share/texmf-var/web2c/mf.base installed.
############################################################################### fmtutil: Error! Not all formats have been built successfully. Visit the log files in directory
/opt/local/share/texmf-var/web2c
for details. ###############################################################################
This is a summary of all `failed' messages and warnings: `pdfetex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed `pdfetex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
Error: /opt/local/bin/port: Status 1 encountered during processing.
Any help would be greatly appreciated, as teTeX is important to my life right now (thesis in progress).
Thanks, Mikw
comment:3 Changed 18 years ago by mdugdale@…
Hi again, Gregory.
A little update.
I moved the files from the Apple X11 dist. (in /usr/X11R6), rm -rf'd the directory, and installed XFree86 via Darwinports. Then installed teTeX with sudo port install teTeX, and although it built, as with the +nox11 variant, it did not do so entirely cleanly;
Error: Target com.apple.activate returned: shell command "fmtutil-sys --all" returned error 1 Command output: \font\nullfont=nullfont 0 words of font info for 0 preloaded fonts 0 hyphenation exceptions Hyphenation trie of length 256 has 0 ops out of 35111 No pages of output. Transcript written on mptopdf.log. fmtutil: /opt/local/share/texmf-var/web2c/aleph.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/cont-en.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/etex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/lambda.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/lamed.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/mptopdf.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/omega.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/pdfetex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/pdftex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/tex.fmt installed. fmtutil: /opt/local/share/texmf-var/web2c/metafun.mem installed. fmtutil: /opt/local/share/texmf-var/web2c/mpost.mem installed. fmtutil: /opt/local/share/texmf-var/web2c/mf.base installed.
I've tries compiling a few chapters from my thesis, and all seems well, so I guess the build has been okay, so I'm more or less happy. I'll be looking into what those files are for, but for now I'm happy I can compile my thesis.
Anyways, I'm wondering if teTeX requires some libraries found in XFree86 that aren't available with the usual Tigre X11.app? I like the integration of X11.app with Aqua, so I'm thinking that I'll likely re-install X11.app, unless I can find a way to have it and XFree86 play nice with each other.
Thanks again for your help, Mike
comment:4 Changed 18 years ago by gwright@…
Status: | new → assigned |
---|
Hi Mike,
The error you are getting is unusual. It is coming from the "post-activate" phase: after teTeX is installed, a script runs to build the databases used internally by TeX to find the files it uses. I don't see what this has to do with X11 at all.
There does seem to be a problem in which the openmotif port causes a problem for teTeX. Do you have that installed? Also, what is your hardware, ppc or intel?
Best Wishes, Greg
comment:5 Changed 18 years ago by mdugdale@…
Hi Greg,
My hardware is an iBook G4, 512MB RAM. It's interesting that you mentioned openmotif. I do have it installed (version 2.3.0-20060106_0+darwin_8) , as it is a dependency for the grace package (another thesis tool).
What I'm thinking of trying is deactivating openmotif, rebuilding teTeX, and then reactivating openmotif. I'll let you know how it goes.
Thanks again, Mike
comment:6 Changed 18 years ago by mdugdale@…
Hi,
I got a clean install this time. First, I disabled openmotif, in case that was causing the problem, then I uninstalled teTeX. Interestingly, it left the /opt/local/share/texmf-var directory with a few files left in it (I am usually pretty consistent with putting things in a texmf-local folder, so I was surprised to see it there). So I rm -rf'd it, and installed teTeX from the source.
I'm not sure which of these procedures did it (sorry for doing them both at the same time... I know how that makes diagnosing a problem more difficult). On the other hand, as no one else seems to be having difficulty with it, I'm sure it's not a bug. And, in the end I've got teTeX working, and I'm a happy boy!
Thanks again for all your help, Cheers, -Mike
comment:7 Changed 18 years ago by gwright@…
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Closed as a duplicate of 9196, which first mention the possibility of a conflict with openmotif.
-Greg
* This bug has been marked as a duplicate of 9196 *
Mike,
Did you install the X11 SDK when you installed your development tools? If not, try using the +no_x11 variant.
-Greg