[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] -l Xpm
From: |
root |
Subject: |
[Axiom-developer] -l Xpm |
Date: |
Sun, 16 Jul 2006 06:29:56 -0400 |
fixed. available in next release --t
=================================================================
Tried to build GoldenAxiom from
address@hidden/axiom--main--1--patch-49
under Ubuntu/dapper
Could not find libXpm.a which is assumed to be under /usr/X11R6/lib,
but is actually in /usr/lib
The following modifications helped (these let the linker find it)
address@hidden:~/p/axiom/axiom-src/axiom-current/GoldenAxiom$ tla file-diffs
src/graph/view2D/Makefile.pamphlet
--- orig/src/graph/view2D/Makefile.pamphlet
+++ mod/src/graph/view2D/Makefile.pamphlet
@@ -283,7 +283,7 @@
${OUT}/view2D: ${VIEW2D_OBJS} ${GDRAW_OBJS} ${LIBFILES}
@ echo 34 linking ${OUT}/view2D
@ ${CC} ${VIEW2D_OBJS} ${GDRAW_OBJS} ${LIBFILES} \
- -o ${OUT}/view2D ${XLIB}/libXpm.a $(LDFLAGS)
+ -o ${OUT}/view2D -L${XLIB} -lXpm $(LDFLAGS)
@
\section{axiom.sty}
address@hidden:~/p/axiom/axiom-src/axiom-current/GoldenAxiom$ tla file-diffs
src/hyper/Makefile.pamphlet
--- orig/src/hyper/Makefile.pamphlet
+++ mod/src/hyper/Makefile.pamphlet
@@ -1058,7 +1058,7 @@
(cd ${OUT} ; \
${CC} -g ${HYPER_OBJS} -o ${OUT}/hypertex ${LIB}/sockio-c.o \
${LIB}/pixmap.o ${LIB}/spadcolors.o ${LIB}/util.o \
- ${LIB}/bsdsignal.o ${LDFLAGS} ${XLIB}/libXpm.a -lX11 -lm
-L${LIB} )
+ ${LIB}/bsdsignal.o ${LDFLAGS} -L${XLIB} -lXpm -lX11 -lm -L${LIB}
)
@
\section{htsearch binary}
--
forwarded from http://wiki.axiom-developer.org/address@hidden
- [Axiom-developer] -l Xpm,
root <=