From: Reuti <[email protected]>
Subject: Re: [gridengine users] Build from source, how to pass lib location to 
aimk?
Date: Thu, 4 May 2017 13:11:04 +0200

> 
>> Am 03.05.2017 um 21:56 schrieb Petter Gustad <[email protected]>:
>> 
>>>> […]
>>> 
>>> My first attempt would be to use a more recent source from 
>>> https://arc.liv.ac.uk/trac/SGE
>> 
>> Thank you Reuti,
>> 
>> I tried
>> 
>> $ git rev-parse HEAD
>> 9b99ef86b09516976fdad5cbd39af70667662902
>> $ ./aimk
>> In file included from ../libs/sgeobj/sge_binding.h:43,
>>                 from ../libs/sgeobj/sge_binding.c:39:
>> ../libs/uti/sge_binding_hlp.h:45:21: error: hwloc.h: No such file or 
>> directory
>>                 In file included from ../libs/sgeobj/sge_binding.h:43,
>>                                  from ../libs/sgeobj/sge_binding.c:39:
>> 
>> So I tried to download and build hwloc which appears to be the source
>> of the problem. The error message I get when builing hwloc is
>> 
>> $ cd utils/lstopo
>> $ make
>>   CCLD     lstopo
>>   libtool: link: cannot find the library `/usr/lib64/libexpat.la' or 
>> unhandled argument `/usr/lib64/libexpat.la'
>>   make: *** [lstopo] Error 1
>> 
>> And I'm basically at the same problem. But at least now I the problem
>> is to get the hwloc libtool find the locally installed libexpat. Also,
>> here setting LDFLAGS does not seem to resolve this issue.
> 
> AFAICS libexpat is a library for parsing XML, hence it should be somewhere in 
> the repository of your CentOS distribution.

Yes, it's an xml parser library. The library, e.g. .so files are also
a part of the CentOS distro, but the CentOS installation does not
contain libexpat.la


> You could try --disable-libxml2 while configuring hwloc. `lstopo` shouldn't 
> be relevant to SGE. XML support in hwlock seems to allow arbitrary 
> configurations to be imported to test it.

Good tip, but unfortunately it fails with the same message as above.

> BTW: Does `locate libexpat` give any results on your machine?

Yes, it will find the .so files in /lib64. But there is no .la file
there. "locate" will also find the 'libexpat.la' I've built locally.

Again, back to my origional problem that I don't know how I can tell
libtool how to find libexpat.la in the other location.

//Petter



_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to