2007-01-19 03:35:26

by 飞天猪

[permalink] [raw]
Subject: [Bluez-devel] Plugz Building Problem

Hello ,everybody!

I am a newbie of bluez.I have downloaded plugz from cvs repository informed on site http://bluetooth-alsa.sourceforge.net/build.html.when I built sbc project I found bootstrap cound not run on my fc6 system directly.It printed the following error message:bash: ./bootstrap: /bin/sh^M: bad interpreter: û???Ǹ??ļ???Ŀ¼, then I tried to run every commands in bootstrap one by one and It generated configure script .The problem also existed when building plugz.So I built sbc project successfully at last.However,I had another trouble when I built plugz.After I ran configure to generate correspording files make had errors:

make all-recursive
make[1]: Entering directory `/download/bluetooth-alsa/plugz'
Making all in avdtp
make[2]: Entering directory `/download/bluetooth-alsa/plugz/avdtp'
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2 -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lasound -lm -ldl -lpthread -lbluetooth
: command not found1:
: command not found3:
: command not found0:
/bin/sed??-e ????ʽ #1???ַ? 10??unknown option to `s'
: command not found4:
: command not found8:
: command not found3:
: command not found4:
../libtool: line 409: syntax error near unexpected token `elif'
'./libtool: line 409: `elif test "X$1" = X--fallback-echo; then
make[2]: *** [avtest] ???? 2
make[2]: Leaving directory `/download/bluetooth-alsa/plugz/avdtp'
make[1]: *** [all-recursive] ???? 1
make[1]: Leaving directory `/download/bluetooth-alsa/plugz'
make: *** [all] ???? 2.

I tried to run libtool script generated by configure following hints.It prints the errors message as well:
: command not found
: command not found
: command not found
/bin/sed??-e ????ʽ #1???ַ? 10??unknown option to `s'
: command not found
: command not found
: command not found
: command not found
libtool: line 409: syntax error near unexpected token `elif'
'ibtool: line 409: `elif test "X$1" = X--fallback-echo; then

So I found out that the problem was the libtool script.Then I found out there was another libtool script in /usr/bin which was installed in libtool-1.5.22-6.1 package and it's different from the libtool generated by configure ,and then I replaced libtool by /usr/bin/libtool and make ran smoothly.The make masseges in the end is

(cd .libs && rm -f libasound_module_ctl_sco.so.0 && ln -s libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so.0)
(cd .libs && rm -f libasound_module_ctl_sco.so && ln -s libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so)
ar cru .libs/libasound_module_ctl_sco.a ctl_sco.o
ranlib .libs/libasound_module_ctl_sco.a
creating libasound_module_ctl_sco.la
(cd .libs && rm -f libasound_module_ctl_sco.la && ln -s ../libasound_module_ctl_sco.la libasound_module_ctl_sco.la)
make[3]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
make[2]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
make[2]: Entering directory `/download/bluetooth-alsa/plugz'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/download/bluetooth-alsa/plugz'
make[1]: Leaving directory `/download/bluetooth-alsa/plugz'


However I found there is no sample.a2dprc file in subdirectory alsa-plugins after make install finished,so I counldn't continue to install plugz following instuction on the site http://bluetooth-alsa.sourceforge.net/build.html.
I am sorry for wasting your time for my unbearably long description.I questions are :
what difference is there between the two libtools,one of which is installed in libtool-1.5.22-6.1 and the other of which is generated by plugz ?have I built plugz successully by replacement of libtool ?can it work with this ?How can I complete the installation ?and is plugz able to embed in arm s3c2440.

Thank you in advance!I am so grateful for your reply since I don't know what to do now!


Yours Jimscene Wang


Attachments:
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments

2007-01-20 00:52:21

by 飞天猪

[permalink] [raw]
Subject: Re: [Bluez-devel] Plugz Building Prob lem

Thank you for your reply:)Yes,I had downloaded it in windows since my linux version cvs doesn't seem to work by proxy,the terminal disappears when I enter the cvs command used proxy.I don't know why so far?Yesterday I downloaded ltmain.sh in linux by firfox and the ltmain.sh could run correctly.Why did the shell script downloaded by cvs in windows can not run normally in linux? I edited it in vim and found it had the same code as the one downloaded in linux except most line end in char '^M' additionally.Cvs download source considering system environment? Now I have built plugz though ,it can't run correctly.I saw prerequistic packages containing xmms.However,I couldn't change default device to a2dpd in xmms configuration since a2dpd didn't appear in option in xmms configuration after I built plugz and installed xmms.I can't find out the problem yet.Is it right that I have to install xmms first and then built plugz,a2dpd only appears in this oder?I will try that again.
Thank you again for your concerning.

Jimscen





??2007-01-19??"Fabien Chevalier" <[email protected]> д????

Hi,

Did you use a Windows station at some point in the download process ??

Fabien

> Hello ,everybody!
>
> I am a newbie of bluez.I have downloaded plugz from cvs repository
> informed on site http://bluetooth-alsa.sourceforge.net/build.html.when I
> built sbc project I found bootstrap cound not run on my fc6 system
> directly.It printed the following error message:bash: ./bootstrap:
> /bin/sh^M: bad interpreter: ?????????, then I tried to run
> every commands in bootstrap one by one and It generated configure script
> .The problem also existed when building plugz.So I built sbc project
> successfully at last.However,I had another trouble when I built
> plugz.After I ran configure to generate correspording files make had errors:
>
> make all-recursive
> make[1]: Entering directory `/download/bluetooth-alsa/plugz'
> Making all in avdtp
> make[2]: Entering directory `/download/bluetooth-alsa/plugz/avdtp'
> /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2
> -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lasound -lm -ldl
> -lpthread -lbluetooth
> : command not found1:
> : command not found3:
> : command not found0:
> /bin/sed:-e ??? #1,?? 10:unknown option to `s'
> : command not found4:
> : command not found8:
> : command not found3:
> : command not found4:
> ../libtool: line 409: syntax error near unexpected token `elif'
> './libtool: line 409: `elif test "X$1" = X--fallback-echo; then
> make[2]: *** [avtest] ?? 2
> make[2]: Leaving directory `/download/bluetooth-alsa/plugz/avdtp'
> make[1]: *** [all-recursive] ?? 1
> make[1]: Leaving directory `/download/bluetooth-alsa/plugz'
> make: *** [all] ?? 2.
>
> I tried to run libtool script generated by configure following hints.It
> prints the errors message as well:
> : command not found
> : command not found
> : command not found
> /bin/sed:-e ??? #1,?? 10:unknown option to `s'
> : command not found
> : command not found
> : command not found
> : command not found
> libtool: line 409: syntax error near unexpected token `elif'
> 'ibtool: line 409: `elif test "X$1" = X--fallback-echo; then
>
> So I found out that the problem was the libtool script.Then I found out
> there was another libtool script in /usr/bin which was installed in
> libtool-1.5.22-6.1 package and it's different from the libtool generated
> by configure ,and then I replaced libtool by /usr/bin/libtool and make
> ran smoothly.The make masseges in the end is
>
> (cd .libs && rm -f libasound_module_ctl_sco.so.0 && ln -s
> libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so.0)
> (cd .libs && rm -f libasound_module_ctl_sco.so && ln -s
> libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so)
> ar cru .libs/libasound_module_ctl_sco.a ctl_sco.o
> ranlib .libs/libasound_module_ctl_sco.a
> creating libasound_module_ctl_sco.la
> (cd .libs && rm -f libasound_module_ctl_sco.la && ln -s
> ../libasound_module_ctl_sco.la libasound_module_ctl_sco.la)
> make[3]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
> make[2]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
> make[2]: Entering directory `/download/bluetooth-alsa/plugz'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/download/bluetooth-alsa/plugz'
> make[1]: Leaving directory `/download/bluetooth-alsa/plugz'
>
>
> However I found there is no sample.a2dprc file in subdirectory
> alsa-plugins after make install finished,so I counldn't continue to
> install plugz following instuction on the site
> http://bluetooth-alsa.sourceforge.net/build.html.
> I am sorry for wasting your time for my unbearably long description.I
> questions are :
> what difference is there between the two libtools,one of which is
> installed in libtool-1.5.22-6.1 and the other of which is generated by
> plugz ?have I built plugz successully by replacement of libtool ?can it
> work with this ?How can I complete the installation ?and is plugz able
> to embed in arm s3c2440.
>
> Thank you in advance!I am so grateful for your reply since I don't know
> what to do now!
>
>
>
> Yours Jimscene Wang
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


Attachments:
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments

2007-01-19 09:26:34

by Fabien Chevalier

[permalink] [raw]
Subject: Re: [Bluez-devel] Plugz Building Problem


Hi,

Did you use a Windows station at some point in the download process ??

Fabien

> Hello ,everybody!
>
> I am a newbie of bluez.I have downloaded plugz from cvs repository
> informed on site http://bluetooth-alsa.sourceforge.net/build.html.when I
> built sbc project I found bootstrap cound not run on my fc6 system
> directly.It printed the following error message:bash: ./bootstrap:
> /bin/sh^M: bad interpreter: ?????????, then I tried to run
> every commands in bootstrap one by one and It generated configure script
> .The problem also existed when building plugz.So I built sbc project
> successfully at last.However,I had another trouble when I built
> plugz.After I ran configure to generate correspording files make had errors:
>
> make all-recursive
> make[1]: Entering directory `/download/bluetooth-alsa/plugz'
> Making all in avdtp
> make[2]: Entering directory `/download/bluetooth-alsa/plugz/avdtp'
> /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -O2
> -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lasound -lm -ldl
> -lpthread -lbluetooth
> : command not found1:
> : command not found3:
> : command not found0:
> /bin/sed:-e ??? #1,?? 10:unknown option to `s'
> : command not found4:
> : command not found8:
> : command not found3:
> : command not found4:
> ../libtool: line 409: syntax error near unexpected token `elif'
> './libtool: line 409: `elif test "X$1" = X--fallback-echo; then
> make[2]: *** [avtest] ?? 2
> make[2]: Leaving directory `/download/bluetooth-alsa/plugz/avdtp'
> make[1]: *** [all-recursive] ?? 1
> make[1]: Leaving directory `/download/bluetooth-alsa/plugz'
> make: *** [all] ?? 2.
>
> I tried to run libtool script generated by configure following hints.It
> prints the errors message as well:
> : command not found
> : command not found
> : command not found
> /bin/sed:-e ??? #1,?? 10:unknown option to `s'
> : command not found
> : command not found
> : command not found
> : command not found
> libtool: line 409: syntax error near unexpected token `elif'
> 'ibtool: line 409: `elif test "X$1" = X--fallback-echo; then
>
> So I found out that the problem was the libtool script.Then I found out
> there was another libtool script in /usr/bin which was installed in
> libtool-1.5.22-6.1 package and it's different from the libtool generated
> by configure ,and then I replaced libtool by /usr/bin/libtool and make
> ran smoothly.The make masseges in the end is
>
> (cd .libs && rm -f libasound_module_ctl_sco.so.0 && ln -s
> libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so.0)
> (cd .libs && rm -f libasound_module_ctl_sco.so && ln -s
> libasound_module_ctl_sco.so.0.0.0 libasound_module_ctl_sco.so)
> ar cru .libs/libasound_module_ctl_sco.a ctl_sco.o
> ranlib .libs/libasound_module_ctl_sco.a
> creating libasound_module_ctl_sco.la
> (cd .libs && rm -f libasound_module_ctl_sco.la && ln -s
> ../libasound_module_ctl_sco.la libasound_module_ctl_sco.la)
> make[3]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
> make[2]: Leaving directory `/download/bluetooth-alsa/plugz/alsa-plugins'
> make[2]: Entering directory `/download/bluetooth-alsa/plugz'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/download/bluetooth-alsa/plugz'
> make[1]: Leaving directory `/download/bluetooth-alsa/plugz'
>
>
> However I found there is no sample.a2dprc file in subdirectory
> alsa-plugins after make install finished,so I counldn't continue to
> install plugz following instuction on the site
> http://bluetooth-alsa.sourceforge.net/build.html.
> I am sorry for wasting your time for my unbearably long description.I
> questions are :
> what difference is there between the two libtools,one of which is
> installed in libtool-1.5.22-6.1 and the other of which is generated by
> plugz ?have I built plugz successully by replacement of libtool ?can it
> work with this ?How can I complete the installation ?and is plugz able
> to embed in arm s3c2440.
>
> Thank you in advance!I am so grateful for your reply since I don't know
> what to do now!
>
>
>
> Yours Jimscene Wang
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel