On Jan 6, 2011, at 11:00 AM, Donn Washburn wrote:

> Thanks for the suggestion Sean;
>
> It appears to be related to $(DESTDIR) in Makefile and  
> Makefile.in.  It
> is not set to /usr/bin or /usr/share/brlcad/bin

DESTDIR isn't set for normal builds.  That's a variable that lets you  
override installation paths, commonly used by package management  
systems like apt.

For a regular build, the build targets should be something like $ 
(DESTDIR)$(bindir) where $DESTDIR is empty.  The $bindir variable  
should be near the top of the Makefile.  Mine is:

bindir = ${exec_prefix}/bin

And exec_prefix is:

exec_prefix = ${prefix}

and prefix is:

prefix = /usr/brlcad

If your exec_prefix variable is simply empty, that would match the  
installation behavior you're observing.  If that's the case and  
you're using GNU make, then you could actually override the variable  
with "make exec_prefix=/usr" .. or using DESTDIR in a similar manner.

Cheers!
Sean


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to