#15595 closed defect (worksforme)
mlterm 2.9.2 build error
Reported by: | itabtabai@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | libtool | Cc: | jmroot (Joshua Root) |
Port: | mlterm |
Description
I've tried compiling mlterm port with variants and was unsuccessful. So I tried to compile with only the +bidi, still not successful. The build log: I have a macmini with leopard and x code3.
# port -d install mlterm +bidi . . . Mlterm was configured as follows Installation path prefix : /opt/local Build shared libraries : yes Build static libraries : yes Optimization for redrawing a line : no BiDi rendering (Fribidi) : yes ISCII rendering (libind) : no External tools : mlclient mlcc Image library : utmp support : no Type engines : xcore DnD : yes Input Methods : XIM kbd Scrollbars : simple sample extra ---> Building mlterm with target all . . . /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_pty_streams.c -fno-common -DPIC -o .libs/kik_pty_streams.lo In file included from kik_pty_streams.c:38: kik_str.h:53: error: syntax error before '*' token kik_str.h:59: error: syntax error before '*' token kik_str.h:63: error: syntax error before '*' token kik_pty_streams.c: In function 'kik_pty_fork': kik_pty_streams.c:102: error: 'O_NDELAY' undeclared (first use in this function) kik_pty_streams.c:102: error: (Each undeclared identifier is reported only once kik_pty_streams.c:102: error: for each function it appears in.) kik_pty_streams.c:133: error: 'CEOF' undeclared (first use in this function) kik_pty_streams.c:135: error: 'CERASE' undeclared (first use in this function) kik_pty_streams.c:136: error: 'CINTR' undeclared (first use in this function) kik_pty_streams.c:137: error: 'CKILL' undeclared (first use in this function) kik_pty_streams.c:138: error: 'CQUIT' undeclared (first use in this function) kik_pty_streams.c:139: error: 'CSTART' undeclared (first use in this function) kik_pty_streams.c:140: error: 'CSTOP' undeclared (first use in this function) kik_pty_streams.c:141: error: 'CSUSP' undeclared (first use in this function) make[2]: *** [kik_pty_streams.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mlterm/work/mlterm-2.9.2" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_unistd.c -fno-common -DPIC -o .libs/kik_unistd.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_unistd.c -o kik_unistd.o >/dev/null 2>&1 mv -f .libs/kik_unistd.lo kik_unistd.lo ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_sig_child.c rm -f .libs/kik_sig_child.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_sig_child.c -fno-common -DPIC -o .libs/kik_sig_child.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_sig_child.c -o kik_sig_child.o >/dev/null 2>&1 mv -f .libs/kik_sig_child.lo kik_sig_child.lo ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_pty_streams.c rm -f .libs/kik_pty_streams.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_pty_streams.c -fno-common -DPIC -o .libs/kik_pty_streams.lo In file included from kik_pty_streams.c:38: kik_str.h:53: error: syntax error before '*' token kik_str.h:59: error: syntax error before '*' token kik_str.h:63: error: syntax error before '*' token kik_pty_streams.c: In function 'kik_pty_fork': kik_pty_streams.c:102: error: 'O_NDELAY' undeclared (first use in this function) kik_pty_streams.c:102: error: (Each undeclared identifier is reported only once kik_pty_streams.c:102: error: for each function it appears in.) kik_pty_streams.c:133: error: 'CEOF' undeclared (first use in this function) kik_pty_streams.c:135: error: 'CERASE' undeclared (first use in this function) kik_pty_streams.c:136: error: 'CINTR' undeclared (first use in this function) kik_pty_streams.c:137: error: 'CKILL' undeclared (first use in this function) kik_pty_streams.c:138: error: 'CQUIT' undeclared (first use in this function) kik_pty_streams.c:139: error: 'CSTART' undeclared (first use in this function) kik_pty_streams.c:140: error: 'CSTOP' undeclared (first use in this function) kik_pty_streams.c:141: error: 'CSUSP' undeclared (first use in this function) make[2]: *** [kik_pty_streams.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 Warning: the following items did not execute (for mlterm): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
I hope the above helps.
Change History (4)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|---|
Milestone: | → Port Bugs |
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Keywords: | libtool added; mlterm 2.9.2 kik_str.h:53: error: syntax error before '*' token removed |
---|---|
Port: | mlterm added |
Resolution: | → worksforme |
Status: | new → closed |
Seems to be working now. Maybe one of the fixes in MacPorts 1.7 helped.
Note: See
TracTickets for help on using
tickets.
Fixed in r37571, but now I get a different error later on: