* [Bluez-devel] [PATCH] Fix 64 configuration
@ 2007-11-15 2:53 Manuel Naranjo
2007-11-15 15:18 ` Bastien Nocera
0 siblings, 1 reply; 3+ messages in thread
From: Manuel Naranjo @ 2007-11-15 2:53 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
Hello everyone,
It's been about 1 month since I got my 64 bits laptop, and after a hole
month I started to figure out why the he## I couldn't get the audio
service working on it. Or the pan service, or the serial service, or
what ever service you might think off.
I was always getting: dbus.exceptions.DBusException:
org.bluez.Error.Failed: Exec format error
When ever I asked dbus to register a new server.
After a long trial and error, I discovered that by default bluez was
installing all the services to ${prefix}/lib instead of ${prefix}/lib64.
Here's a little patch that fixes that problem. I'm not sure if I fixed
the problem in the best way, I haven't ever used auto tools for over 10
seconds, so I might have broken something. I tested, it builds, and then
when I make the install it puts the files into lib64.
The patch was made against the latest cvs version.
Thanks,
Manuel Naranjo
Wireless Cables Inc.
www.aircable.net
[-- Attachment #2: bluez-utils_64bits.cvs.patch --]
[-- Type: text/x-patch, Size: 389 bytes --]
47,49c47,50
<
< if (test "${libdir}" = '${exec_prefix}/lib'); then
< libdir="${prefix}/lib"
---
>
> dnl if lib64 is present then we use it
> if (test -d "${prefix}/lib64" ); then
> libdir="${prefix}/lib64"
51c52,57
<
---
>
> dnl and then only if ${libdir} keeps beeing empty we use lib
> if ( test -z "${libdir}" ) ; then
> libdir="${prefix}/lib"
> fi
>
68a75
>
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] [PATCH] Fix 64 configuration
2007-11-15 2:53 [Bluez-devel] [PATCH] Fix 64 configuration Manuel Naranjo
@ 2007-11-15 15:18 ` Bastien Nocera
2007-11-15 16:33 ` Manuel Naranjo
0 siblings, 1 reply; 3+ messages in thread
From: Bastien Nocera @ 2007-11-15 15:18 UTC (permalink / raw)
To: BlueZ development
On Wed, 2007-11-14 at 23:53 -0300, Manuel Naranjo wrote:
<snip>
> The patch was made against the latest cvs version.
Please use "diff -up" to generate your patches. There's not even a
filename in the diff you posted.
-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] [PATCH] Fix 64 configuration
2007-11-15 15:18 ` Bastien Nocera
@ 2007-11-15 16:33 ` Manuel Naranjo
0 siblings, 0 replies; 3+ messages in thread
From: Manuel Naranjo @ 2007-11-15 16:33 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
Oops!! Sorry.
> Please use "diff -up" to generate your patches. There's not even a
> filename in the diff you posted.
>
>
Here it's again.
[-- Attachment #2: bluez-utils_64bits.cvs.patch --]
[-- Type: text/x-patch, Size: 637 bytes --]
--- acinclude.m4.orig 2007-11-14 23:40:12.000000000 -0300
+++ acinclude.m4 2007-11-15 12:22:48.000000000 -0300
@@ -44,11 +44,17 @@ AC_DEFUN([AC_INIT_BLUEZ], [
prefix="${ac_default_prefix}"
fi
-
- if (test "${libdir}" = '${exec_prefix}/lib'); then
- libdir="${prefix}/lib"
+
+ dnl if lib64 is present then we use it
+ if (test -d "${prefix}/lib64" ); then
+ libdir="${prefix}/lib64"
fi
-
+
+ dnl and then only if ${libdir} keeps beeing empty we use lib
+ if ( test -z "${libdir}" ) ; then
+ libdir="${prefix}/lib"
+ fi
+
if (test "$sysconfdir" = '${prefix}/etc'); then
configdir="${prefix}/etc/bluetooth"
else
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-15 16:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-15 2:53 [Bluez-devel] [PATCH] Fix 64 configuration Manuel Naranjo
2007-11-15 15:18 ` Bastien Nocera
2007-11-15 16:33 ` Manuel Naranjo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox