login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #306 libXpm.a is in /usr/lib under Ubuntu. revision 2 of 2

1 2
Editor: kratt6
Time: 2007/12/28 15:19:59 GMT-8
Note:

added:

From kratt6 Fri Dec 28 15:19:59 -0800 2007
From: kratt6
Date: Fri, 28 Dec 2007 15:19:59 -0800
Subject: 
Message-ID: <20071228151959-0800@axiom-wiki.newsynthesis.org>

Status: pending (next release) => closed 


Submitted by : (unknown) at: 2007-11-17T22:24:10-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

Tried to build GoldenAxiom from 
arch@axiom-developer.org--axiom/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)

antalk@neurophysa:~/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}



antalk@neurophysa:~/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}




------------------------------------------------------------


pending --greg, Sun, 16 Jul 2006 09:26:58 -0500

Status: open => pending (next release) 




... --kratt6, Fri, 28 Dec 2007 15:19:59 -0800

Status: pending (next release) => closed