#9196 closed defect (wontfix)
BUG: Can't build teTeX - teTeX or openmotif problem?
Reported by: | ghenshaw@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mww@…, yves@…, mdugdale@…, gwright@… | |
Port: | teTeX |
Description (last modified by blb@…)
I can't get teTeX to build; it chokes when including /opt/local/include/Xm/Xm.h, which is an openmotif file.
$ sudo port clean --all teTeX ---> Cleaning teTeX $ sudo port upgrade teTeX ---> Fetching teTeX ---> Attempting to fetch tetex-src-3.0.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Verifying checksum(s) for teTeX ---> Extracting teTeX ---> Configuring teTeX ---> Building teTeX with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_print_teTeX/work/tetex-src-3.0" && make all" returned error 2 Command output: t1funcs.c: In function 'Type1OpenScalable': t1funcs.c:242: warning: pointer targets in passing argument 2 of 'fontfcnB' differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1info.c -o t1info.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1io.c -o t1io.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1snap.c -o t1snap.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c t1stub.c -o t1stub.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c token.c -o token.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c type1.c -o type1.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c util.c -o util.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c bstring.c -o bstring.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c ps2pk.c -o ps2pk.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c encoding.c -o encoding.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -g -O2 -c pkout.c -o pkout.o /bin/sh ../libtool --mode=link gcc -o ps2pk arith.o curves.o fontfcn.o hints.o lines.o objects.o paths.o regions.o scanfont.o spaces.o t1funcs.o t1info.o t1io.o t1snap.o t1stub.o token.o type1.o util.o bstring.o basics.o ps2pk.o encoding.o pkout.o filenames.o ../kpathsea/libkpathsea.la -lm gcc -o ps2pk arith.o curves.o fontfcn.o hints.o lines.o objects.o paths.o regions.o scanfont.o spaces.o t1funcs.o t1info.o t1io.o t1snap.o t1stub.o token.o type1.o util.o bstring.o basics.o ps2pk.o encoding.o pkout.o filenames.o ../kpathsea/.libs/libkpathsea.a -lm make[2]: Nothing to be done for `all'. cd gui; make CC='gcc' CFLAGS='-g -O2 ' libgui.a gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -W -Wall -Wunused -I.. -I./.. -I/opt/local/include -I/usr/X11R6/include -DPS_GS -DXSERVER_INFO -g -O2 -c help-window.c -o help-window.o In file included from /opt/local/include/Xm/Xm.h:2094,
from ../xdvi.h:772, from help-window.c:29:
/opt/local/include/Xm/XmIm.h:104: error: parse error before 'XmImGetXICResetState' /opt/local/include/Xm/XmIm.h:105: warning: type defaults to 'int' in declaration of 'XmImGetXICResetState' /opt/local/include/Xm/XmIm.h:105: warning: data definition has no type or storage class help-window.c: In function 'show_help': help-window.c:1081: warning: implicit declaration of function 'XBell' make[3]: * [help-window.o] Error 1 make[2]: * [libguibuild] Error 2 make[1]: * [all] Error 1 make: * [all] Error 1
Error: Unable to upgrade port: 1
Change History (10)
comment:1 Changed 18 years ago by gwright@…
Owner: | changed from darwinports-bugs@… to gwright@… |
---|
comment:3 Changed 18 years ago by gwright@…
Cc: | mdugdale@… added |
---|
* Bug 9147 has been marked as a duplicate of this bug. *
comment:4 Changed 18 years ago by gwright@…
Status: | new → assigned |
---|
comment:5 Changed 18 years ago by mww@…
Cc: | mww@… yves@… added |
---|
perhaps we should use $prefix/include/openmotif as base-include-dir for openmotif instead of just $prefix/include? Unfortunately ~20 ports currently depend on the current directory, which means a bit of an effort...
comment:6 Changed 17 years ago by nox@…
Cc: | mww@… yves@… added; mww@… yves@… removed |
---|---|
Milestone: | → Port Bugs |
Priority: | Expected → Normal |
Summary: | Can't build teTeX - teTeX or openmotif problem? → BUG: Can't build teTeX - teTeX or openmotif problem? |
Version: | 1.2 |
comment:7 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | gwright@… added |
---|
comment:8 Changed 16 years ago by blb@…
Description: | modified (diff) |
---|
Since texlive is the preferred TeX distribution in MacPorts now, can this be closed?
comment:9 Changed 16 years ago by nox@…
Port: | teTeX added |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
teTeX has been deprecated, use texlive.
I'll take a look. teTeX depends on X11 (if you don't want it use the +no_x11 variant), but I didn't think it should use openmotif.
-Greg