axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] axiom-silverbranch for linux (libXpm.a not at the


From: Gabriel Dos Reis
Subject: Re: [Axiom-developer] axiom-silverbranch for linux (libXpm.a not at the right place)
Date: 28 Oct 2006 14:59:50 +0200

Francois Maltey <address@hidden> writes:

| > On my debian testing I have X11/gnome running but I must install
| > headers files for x11 and xt packages.
| > 
| >   apt-get install libx11-dev
| >   apt-get install libxt-dev
| > 
| > I began to compile 2 hours ago and the main make works without complains.
| But I get a new error. The file isn't in the right place.
| 
| I add apt-get install libxpm-dev and get a new error.
| 
| The makefile of viewman is looking for a /usr/X11R6/lib/libXpm.a file
| but this file is in /usr/lib/libXpm.a.
| 
| ls -l /usr/lib/libXpm.a 
| -rw-r--r-- 1 root root 86648 2006-08-30 23:15 /usr/lib/libXpm.a
| 
| Where must I add a $I or $L option in order to force axiom to look 
| at the right place ?

Everywhere whether the toplevel Makefile explicitly says
/path/to/libXpm.a is wrong.  Rather, it should just specify 

  -L/some/path  -lXpm

in the LDF variable.

Remove those junks from the Makefile.  If Xpm is in /usr/lib on your
system, just add -lXpm to LDFLAGS in the makefile -- the compiler will
automatically search /usr/lib because it is a standard place.  But You
can also add -L/usr/lib to LDFLAGS if you really want to be sure.

Add "-L/usr/lib"

-- Gaby




reply via email to

[Prev in Thread] Current Thread [Next in Thread]