Discussion:
[Latex2rtf-users] can't write output file: latex2rtf for architecture x86_64
Jordan Jameson
2016-01-29 18:49:33 UTC
Permalink
Hello,

I am getting an error when I try to install latex2rtf on my Mac running OS
10.11.3. After running make check I get the output:

cc -DUNIX -c -o fonts.o fonts.c

cc -DUNIX -c -o direct.o direct.c

cc -DUNIX -c -o encodings.o encodings.c

cc -DUNIX -c -o commands.o commands.c

cc -DUNIX -c -o stack.o stack.c

cc -DUNIX -c -o funct1.o funct1.c

cc -DUNIX -c -o tables.o tables.c

cc -DUNIX -c -o chars.o chars.c

cc -DUNIX -c -o ignore.o ignore.c

cc -DUNIX -DCFGDIR=\"/usr/local/share/latex2rtf/cfg\" -c cfg.c -o cfg.o

cc -DUNIX -DCFGDIR=\"/usr/local/share/latex2rtf/cfg\" -c main.c -o
main.o

cc -DUNIX -c -o utils.o utils.c

cc -DUNIX -c -o parser.o parser.c

cc -DUNIX -c -o lengths.o lengths.c

cc -DUNIX -c -o counters.o counters.c

cc -DUNIX -c -o preamble.o preamble.c

cc -DUNIX -c -o letterformat.o letterformat.c

cc -DUNIX -c -o equations.o equations.c

cc -DUNIX -c -o convert.o convert.c

cc -DUNIX -c -o xrefs.o xrefs.c

*xrefs.c:1644:19: **warning: **expression which evaluates to zero treated
as a null*

* pointer constant of type 'char *' [-Wnon-literal-null-conversion]*

pretext = '\0';

* ^~~~*

1 warning generated.

cc -DUNIX -c -o definitions.o definitions.c

cc -DUNIX -c -o graphics.o graphics.c

cc -DUNIX -c -o mygetopt.o mygetopt.c

cc -DUNIX -c -o styles.o styles.c

cc -DUNIX -c -o preparse.o preparse.c

cc -DUNIX -c -o vertical.o vertical.c

cc -DUNIX -c -o fields.o fields.c

cc -DUNIX -c -o labels.o labels.c

cc -DUNIX -c -o biblio.o biblio.c

cc -DUNIX -c -o auxfile.o auxfile.c

cc -DUNIX -c -o acronyms.o acronyms.c

cc -DUNIX fonts.o direct.o encodings.o commands.o stack.o funct1.o
tables.o chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o
counters.o preamble.o letterformat.o equations.o convert.o xrefs.o
definitions.o graphics.o mygetopt.o styles.o preparse.o vertical.o fields.o
labels.o biblio.o auxfile.o acronyms.o -lm -o latex2rtf

cd test && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean

/bin/sh: line 0: cd: test: No such file or directory

make: *** [check] Error 1



I then run "make install" and get the following error:

Jordans-MacBook-Pro:latex2rtf-2.3.10 jordanjameson$ make install

cc -DUNIX fonts.o direct.o encodings.o commands.o stack.o funct1.o
tables.o chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o
counters.o preamble.o letterformat.o equations.o convert.o xrefs.o
definitions.o graphics.o mygetopt.o styles.o preparse.o vertical.o fields.o
labels.o biblio.o auxfile.o acronyms.o -lm -o latex2rtf

ld: can't write output file: latex2rtf for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see
invocation)

make: *** [latex2rtf] Error 1

I am not sure what to do next. Thanks for the help.


Jordan

Loading...