Re: [udunits] Problems installing udunits-2.2.25 with EXPAT

Luis,

This could be as simple as using LDFLAG instead of LDFLAGS with an S. Try LDFLAGS and see if configure picks it up then.

It's also possible it might need the include directory as well that would be a CPPFLAGS="-I/.../include".

Matt

On 07/21/2017 10:29 AM, Luis Cebamanos wrote:
Hi,

I have successfully installed EXPAT on a local directory since it seems it wasn't installed on the system, then tried to build udunits using:

CC=icc CXX=icpc ./configure LDFLAG="-L/lustre/home/z04/user/tickets/expat/lib"

but I still get the same error configure: error: cannot find EXPAT function 
XML_StopParser

Checking the config.log I can see that configure still uses -lexpat but it does 
not add -L/lustre/home/z04/user/tickets/expat/lib.
Nevertheless, it has also been added to LD_LIBRARY_PATH, what is really going 
on here?

Regards,
Luis



The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


udunits mailing list
udunits@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, or change your membership options, visit: 
http://www.unidata.ucar.edu/mailing_lists/



--
Matt Thompson, SSAI, Sr Scientific Programmer/Analyst
NASA GSFC,    Global Modeling and Assimilation Office
Code 610.1,  8800 Greenbelt Rd,  Greenbelt,  MD 20771
Phone: 301-614-6712                 Fax: 301-614-6246
http://science.gsfc.nasa.gov/sed/bio/matthew.thompson



  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the udunits archives: