* [Bluez-devel] autoconf breaks portability. Film at 11.
@ 2004-05-11 9:47 David Woodhouse
2004-05-12 13:31 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: David Woodhouse @ 2004-05-11 9:47 UTC (permalink / raw)
To: BlueZ Mailing List
I cannot build libs2. The autoconf stuff is broken. The last thing it
says is this:
configure.in:19: required file `./ltmain.sh' not found
Please can we ditch this crap and use sane makefiles instead?
--
dwmw2
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-11 9:47 [Bluez-devel] autoconf breaks portability. Film at 11 David Woodhouse
@ 2004-05-12 13:31 ` Marcel Holtmann
2004-05-12 13:38 ` David Woodhouse
0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-05-12 13:31 UTC (permalink / raw)
To: David Woodhouse; +Cc: BlueZ Mailing List
Hi David,
> I cannot build libs2. The autoconf stuff is broken. The last thing it
> says is this:
>
> configure.in:19: required file `./ltmain.sh' not found
>
> Please can we ditch this crap and use sane makefiles instead?
I heard of that problem, but I can't reproduce it. If you call
"./bootstrap" every that is necessary should be created.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 13:31 ` Marcel Holtmann
@ 2004-05-12 13:38 ` David Woodhouse
2004-05-12 13:48 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: David Woodhouse @ 2004-05-12 13:38 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
On Wed, 2004-05-12 at 15:31 +0200, Marcel Holtmann wrote:
> Hi David,
>
> > I cannot build libs2. The autoconf stuff is broken. The last thing it
> > says is this:
> >
> > configure.in:19: required file `./ltmain.sh' not found
> >
> > Please can we ditch this crap and use sane makefiles instead?
>
> I heard of that problem, but I can't reproduce it. If you call
> "./bootstrap" every that is necessary should be created.
Still no substitute for proper makefiles. Do we _really_ need the system
to check for itself how to build Fortran shared libraries? Yes, that's
one of the things it does.
Btw, swave() in hciattach still uses 10 characters of a 9-char array.
--- bluez-utils-2.7/tools/hciattach.c.orig 2004-05-11 23:08:57.668856200 +0100
+++ bluez-utils-2.7/tools/hciattach.c 2004-05-11 23:11:43.626626784 +0100
@@ -640,7 +640,7 @@
static int swave(int fd, struct uart_t *u, struct termios *ti)
{
struct timespec tm = {0, 500000};
- char cmd[9], rsp[100];
+ char cmd[10], rsp[100];
int r;
// Silicon Wave set baud rate command
--
dwmw2
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 13:38 ` David Woodhouse
@ 2004-05-12 13:48 ` Marcel Holtmann
2004-05-12 14:11 ` David Woodhouse
0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-05-12 13:48 UTC (permalink / raw)
To: David Woodhouse; +Cc: BlueZ Mailing List
Hi David,
> > I heard of that problem, but I can't reproduce it. If you call
> > "./bootstrap" every that is necessary should be created.
>
> Still no substitute for proper makefiles. Do we _really_ need the system
> to check for itself how to build Fortran shared libraries? Yes, that's
> one of the things it does.
if you can tell me how to disable C++ and Fortran checking I am glad to
include it ;)
> Btw, swave() in hciattach still uses 10 characters of a 9-char array.
Fixed in CVS now.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 13:48 ` Marcel Holtmann
@ 2004-05-12 14:11 ` David Woodhouse
2004-05-12 17:23 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: David Woodhouse @ 2004-05-12 14:11 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
On Wed, 2004-05-12 at 15:48 +0200, Marcel Holtmann wrote:
> if you can tell me how to disable C++ and Fortran checking I am glad to
> include it ;)
I sent you proper Makefiles a long time ago. You didn't apply them :)
This is what I get on Fedora Core 2 on both i386 and PPC, btw:
hades /hades/bluez/libs2 $ ./bootstrap
configure.in: installing `./install-sh'
configure.in: installing `./missing'
configure.in:19: installing `./config.guess'
configure.in:19: installing `./config.sub'
configure.in:19: required file `./ltmain.sh' not found
compat/Makefile.am: installing `./depcomp'
> > Btw, swave() in hciattach still uses 10 characters of a 9-char array.
>
> Fixed in CVS now.
OK, you can have another one then :)
On PPC, the HCI/LMP version numbers and manufacturer code are
byte-swapped in hciconfig from utils2. hciconfig from bluez-utils-2.7
gives:
HCI Ver: 1.2 (0x2) HCI Rev: 0x4d9 LMP Ver: 1.2 (0x2) LMP Subver: 0x4d9
Manufacturer: Cambridge Silicon Radio (10)
... while hciconfig from utils2 gives:
HCI Ver: 1.2 (0x2) HCI Rev: 0xd904 LMP Ver: 1.2 (0x2) LMP Subver: 0xd904
Manufacturer: not assigned (2560)
--
dwmw2
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 14:11 ` David Woodhouse
@ 2004-05-12 17:23 ` Marcel Holtmann
2004-05-12 18:03 ` David Woodhouse
0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-05-12 17:23 UTC (permalink / raw)
To: David Woodhouse; +Cc: BlueZ Mailing List
Hi David,
> I sent you proper Makefiles a long time ago. You didn't apply them :)
must have missed it. Please send it again.
> This is what I get on Fedora Core 2 on both i386 and PPC, btw:
>
> hades /hades/bluez/libs2 $ ./bootstrap
> configure.in: installing `./install-sh'
> configure.in: installing `./missing'
> configure.in:19: installing `./config.guess'
> configure.in:19: installing `./config.sub'
> configure.in:19: required file `./ltmain.sh' not found
> compat/Makefile.am: installing `./depcomp'
but this isn't a problem. It says something like that, but also creates
every file that it complains about.
> OK, you can have another one then :)
>
> On PPC, the HCI/LMP version numbers and manufacturer code are
> byte-swapped in hciconfig from utils2. hciconfig from bluez-utils-2.7
> gives:
>
> HCI Ver: 1.2 (0x2) HCI Rev: 0x4d9 LMP Ver: 1.2 (0x2) LMP Subver: 0x4d9
> Manufacturer: Cambridge Silicon Radio (10)
>
> ... while hciconfig from utils2 gives:
>
> HCI Ver: 1.2 (0x2) HCI Rev: 0xd904 LMP Ver: 1.2 (0x2) LMP Subver: 0xd904
> Manufacturer: not assigned (2560)
Actually I think I have fixed it in both packages. The different between
them is that the byteswap is done in libs2 and not utils2, while it is
done in utils and not libs. Please reinstall libs2 from CVS and check
again.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 17:23 ` Marcel Holtmann
@ 2004-05-12 18:03 ` David Woodhouse
2004-05-12 21:46 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: David Woodhouse @ 2004-05-12 18:03 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
On Wed, 2004-05-12 at 19:23 +0200, Marcel Holtmann wrote:
> Hi David,
>
> > I sent you proper Makefiles a long time ago. You didn't apply them :)
>
> must have missed it. Please send it again.
It was October 2002. I don't seem to be able to find my list archives
from then -- it's possible I wasn't subscribed at the time, although
that surprises me.
http://sourceforge.net/mailarchive/message.php?msg_id=2348496
http://sourceforge.net/mailarchive/message.php?msg_id=2360924
ftp://ftp.uk.linux.org/pub/people/dwmw2/random/bluez-makefiles-3.tar.gz
I'd have to update them and there were a couple of missing features
('make DESTDIR=xx install' comes to mind) but I'm more than happy to do
so if you're interested.
> > configure.in:19: required file `./ltmain.sh' not found
> > compat/Makefile.am: installing `./depcomp'
>
> but this isn't a problem. It says something like that, but also creates
> every file that it complains about.
hades /hades/bluez/libs2 $ ./configure
-bash2: ./configure: No such file or directory
> Actually I think I have fixed it in both packages. The different between
> them is that the byteswap is done in libs2 and not utils2, while it is
> done in utils and not libs. Please reinstall libs2 from CVS and check
> again.
'cvs up' shows no changes since I tested, in either libs2 or utils2.
Will try again to eliminate user error in the morning. Three hours of
phone conferences just melted my brain...
--
dwmw2
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 18:03 ` David Woodhouse
@ 2004-05-12 21:46 ` Marcel Holtmann
2004-05-13 6:53 ` David Woodhouse
0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-05-12 21:46 UTC (permalink / raw)
To: David Woodhouse; +Cc: BlueZ Mailing List
Hi David,
> It was October 2002. I don't seem to be able to find my list archives
> from then -- it's possible I wasn't subscribed at the time, although
> that surprises me.
>
> http://sourceforge.net/mailarchive/message.php?msg_id=2348496
> http://sourceforge.net/mailarchive/message.php?msg_id=2360924
>
> ftp://ftp.uk.linux.org/pub/people/dwmw2/random/bluez-makefiles-3.tar.gz
>
> I'd have to update them and there were a couple of missing features
> ('make DESTDIR=xx install' comes to mind) but I'm more than happy to do
> so if you're interested.
I am not interested in this way. I am interested in fixing this the
autoconf/automake way.
> > > configure.in:19: required file `./ltmain.sh' not found
> > > compat/Makefile.am: installing `./depcomp'
> >
> > but this isn't a problem. It says something like that, but also creates
> > every file that it complains about.
>
> hades /hades/bluez/libs2 $ ./configure
> -bash2: ./configure: No such file or directory
There must be another problem. Please do a clean CVS checkout.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-devel] autoconf breaks portability. Film at 11.
2004-05-12 21:46 ` Marcel Holtmann
@ 2004-05-13 6:53 ` David Woodhouse
0 siblings, 0 replies; 9+ messages in thread
From: David Woodhouse @ 2004-05-13 6:53 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
On Wed, 2004-05-12 at 23:46 +0200, Marcel Holtmann wrote:
> > hades /hades/bluez/libs2 $ ./configure
> > -bash2: ./configure: No such file or directory
>
> There must be another problem. Please do a clean CVS checkout.
A clean checkout on a third machine shows the same problem. It seems I
can make it build by running 'libtoolize' or manually copying in
ltmain.sh from one of the five different versions of automake which is
installed.
Perhaps someone needs to write 'autoauto' to help people automate all
this gratuitous package automation?
Personally, I'll stick with M-x makefile-mode :)
--
dwmw2
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-05-13 6:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-11 9:47 [Bluez-devel] autoconf breaks portability. Film at 11 David Woodhouse
2004-05-12 13:31 ` Marcel Holtmann
2004-05-12 13:38 ` David Woodhouse
2004-05-12 13:48 ` Marcel Holtmann
2004-05-12 14:11 ` David Woodhouse
2004-05-12 17:23 ` Marcel Holtmann
2004-05-12 18:03 ` David Woodhouse
2004-05-12 21:46 ` Marcel Holtmann
2004-05-13 6:53 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox