help-octave
[Top][All Lists]
Advanced

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

Re: Freebsd install, question N+1: search setting for configure?


From: Thomas D. Dean
Subject: Re: Freebsd install, question N+1: search setting for configure?
Date: Mon, 20 Sep 2010 21:41:09 -0700

On Sun, 2010-09-19 at 19:34 +0000, fork wrote:
> When I run configure, the error output tells me that tons of libraries are not
> available, for example:
> 
> "configure: WARNING: PCRE library not found.  This will result in some loss of
> functionality for the regular expression matching functions."
> 
> Since I am freebsd, most of these libraries (I verifed PCRE) are somewhere 
> under
> "/usr/local" (not /usr).  So, the pcre lib is /usr/local/lib/libpcre.so.0. 
> 
> I ran configure as:
> 
> ./configure LDFLAGS='-L/usr/local/lib'  CPPFLAGS='-I/usr/local/lib' 
> ./configure
>  1>confout 2>conferr
> 
> Is there a way to tell configure to look under /usr/local/... the same as it
> would /usr/.. in a Linux ish system?

I think I found an answer:

env -i F77=gfortran44 PATH=/usr/local/bin:/usr/bin:/bin \     
    LDFLAGS="-L/usr/local/lib -L/lib" ./configure

The LDFLAGS needs to be in the proper order.

tomdean



reply via email to

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