Bernard,
I think that the libdir variable that was added to configure.in is getting
in the way of the --prefix. I have set up my environment to install the
binaries in a different directory for debugging purposes. Now when I run 'make
install', it is trying to install the libraries to /usr/lib rather than the
--prefix location. The following script in configure.in needs to respect
--prefix as well.
+dnl Python module config files need to know where to look for libraries
(/usr/lib vs /usr/lib64)
+AC_SUBST_FILE(libdir)
+if test "x$host_cpu" = "xx86_64"; then
+ libdir=/usr/lib64
+else
+ libdir=/usr/lib
+fi
Brad
>>> On 11/8/2007 at 10:18 AM, in message <[EMAIL PROTECTED]>, "Brad
Nicholes" <[EMAIL PROTECTED]> wrote:
>>>> On 11/8/2007 at 10:09 AM, in message
> <[EMAIL PROTECTED]>, "Bernard Li"
> <[EMAIL PROTECTED]> wrote:
>> Hi Brad:
>>
>> On 11/8/07, Brad Nicholes <[EMAIL PROTECTED]> wrote:
>>
>>> This is just a pathing problem in the .conf file. On a 64-bit machine the
>> library files (ie. the .so's) are written to a lib64 directory rather than
>> lib. Each of the module .conf files contain a path to where gmond can find
>> the .so file. The path in the .conf files just needs to be changed. We
>> should probably write a small awk script that fixes up the .conf files for
>> 64-bit machines during the RPM build.
>>
>> My suggestion would be to rename the .conf files .conf.in and have
>> variables @LIBDIR@ be replaced during ./configure -- this way people
>> who just build them manually will also not run into this issue.
>>
>> But other better suggestions are welcome.
>>
>> Cheers,
>>
>> Bernard
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general