On 7/19/10 11:17 PM, "Simon Morlat" <
address@hidden> wrote:
> Hi,
>
> Libtool sucks. When building out of standarts install trees, .la files
> don't work. Just remove them. They are absolutely useless in our case.
>
> Simon
>
> Le lundi 19 juillet 2010 à 18:06 +0200, jehan monnier a écrit :
>> Hi,
>>
>>
>> Sorry for the confusion, but speex from Macports is not required as it
>> is already checkout from git in submodules/externals/speex.
>> I was just wondering if it can't cause troubles to have both.
>> Now the issue is more
>> clear:
>> /Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//../liblinp
>> hone-sdk/i386-apple-darwin/lib/
libspeex.la is not found.
>> Double check this file which must have been built previously during
>> the speex build.
>> You may also try to remove the whole build directory
>> from
>> /Users/francescolelli/Desktop/linphone-iphone/submodules/build-i386-apple-dar
>> win and try to re-build from scratch using build command from the README. Or
>> retry from a fresh git clone
>>
>>
>> Cheers
>>
>>
>> Jehan
>>
>>
>> 2010/7/19 Francesco Lelli <
address@hidden>
>> Hi Jehan,
>> yes, speex was missing and I just installed ( speex
>> 1.2rc1_0 varian universal ).
>> If I run the command: make -f
builder-iphone-simulator.mk
>> build-liblinphone V=1
>>
>> This is the error that I get:
>>
>>
>> Macintosh-185:build francescolelli$ make -f
>>
builder-iphone-simulator.mk build-liblinphone
>> V=1cd
>> /Users/francescolelli/Desktop/linphone-iphone/submodules/build/../build-i386-
>> apple-darwin/linphone && make newdate && make && make install
>> cd gtk-glade && make newdate
>> rm -f version_date.h
>> make all-recursive
>> Making all in m4
>> make[3]: Nothing to be done for `all'.
>> Making all in pixmaps
>> make[3]: Nothing to be done for `all'.
>> Making all in po
>> make[3]: Nothing to be done for `all'.
>> Making all in oRTP
>> make all-recursive
>> Making all in src
>> Making all in .
>> make[6]: Nothing to be done for `all-am'.
>> Making all in tests
>> Making all in win_receiver
>> make[7]: Nothing to be done for `all'.
>> Making all in win_sender
>> make[7]: Nothing to be done for `all'.
>> make[7]: Nothing to be done for `all-am'.
>> Making all in build
>> Making all in win32native
>> make[6]: Nothing to be done for `all'.
>> Making all in wince
>> make[6]: Nothing to be done for `all'.
>> Making all in winmob
>> make[6]: Nothing to be done for `all'.
>> make[6]: Nothing to be done for `all-am'.
>> Making all in include
>> Making all in ortp
>> make[6]: Nothing to be done for `all'.
>> make[6]: Nothing to be done for `all-am'.
>> make[5]: Nothing to be done for `all-am'.
>> Making all in mediastreamer2
>> make all-recursive
>> Making all in src
>> make all-am
>> make[6]: Nothing to be done for `all-am'.
>> Making all in build
>> Making all in win32native
>> make[6]: Nothing to be done for `all'.
>> Making all in win32-novideo
>> make[6]: Nothing to be done for `all'.
>> Making all in wince
>> make[6]: Nothing to be done for `all'.
>> Making all in winmob
>> make[6]: Nothing to be done for `all'.
>> make[6]: Nothing to be done for `all-am'.
>> Making all in include
>> Making all in mediastreamer2
>> make[6]: Nothing to be done for `all'.
>> make[6]: Nothing to be done for `all-am'.
>> Making all in tests
>> /bin/sh ../libtool --tag=CC
>> --mode=link
>> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
>> -std=c99 -arch i386
>> --sysroot=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhone
>> Simulator4.0.sdk -miphoneos-version-min=4.0
>> -I/Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//linphone
>> /mediastreamer2
>> -I/Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//linphone
>> /mediastreamer2/../oRTP/include -DORTP_INET6 -DINET6 -Wall -O2 -g
>> -rdynamic
>> -Wl,-syslibroot,/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
>> iPhoneSimulator4.0.sdk -o mediastream mediastream.o
>> ../src/
libmediastreamer.la ../../oRTP/src/
libortp.la
>> -L/Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//../libli
>> nphone-sdk/i386-apple-darwin/lib -lspeex
>> -L/Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//../libli
>> nphone-sdk/i386-apple-darwin/lib -lgsm -framework CoreFoundation -framework
>> AudioToolbox -framework CoreAudio -ldl
>> libtool: link: cannot find the library
>>
>> `/Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//../liblin
>> phone-sdk/i386-apple-darwin/lib/
libspeex.la' or unhandled argument
>> `/Users/francescolelli/Desktop/linphone-iphone/submodules/build/..//../liblin
>> phone-sdk/i386-apple-darwin/lib/
libspeex.la'
>>
>> make[5]: *** [mediastream] Error 1
>> make[4]: *** [all-recursive] Error 1
>> make[3]: *** [all] Error 2
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all] Error 2
>>
>> make: *** [build-liblinphone] Error 2
>>
>>
>>
>>
>> Talk soon,
>> Francesco
>>
>> Dr. Francesco Lelli
>> web:
http://www.inf.usi.ch/postdoc/lelli/
>>
>>
>>
>> On 7/19/10 4:51 PM, "jehan monnier"
>> <
address@hidden> wrote:
>>
>>
>> Hmm,
>>
>> The issue seems to come from libspeexdsp which is
>> either missing or with a bad version.
>>
>> Do you have macport version of speex or speex-devel
>> installed?
>>
>> Can you provide me with build logs in verbose mode
>> svp ?
>>
>>
>> make -f
builder-iphone-simulator.mk
>> <
http://builder-iphone-simulator.mk>
>> build-liblinphone V=1
>>
>>
>> Cheers
>>
>> Jehan
>>
>> 2010/7/19 Francesco Lelli
>> <
address@hidden>
>>
>>
>>
>>
>> On 7/19/10 3:40 PM, "jehan monnier"
>> <
address@hidden
>> <
http://jehan.monnier@
linphone.org> > wrote:
>>
>>
>> Hi,
>>
>> Forgot the last message. The issue is
>> probably that I forgot to add intltool
>> to the list of ports that must be
>> installed.
>> Once installed, execute ./autogen.sh
>> in directory submodules/linphone then
>> re-build.
>>
>> Let me know
>> Cheers
>>
>> Jehan
>>
>>
>> 2010/7/19 jehan monnier
>> <
address@hidden
>> <
http://jehan.monnier@
linphone.org> >
>> Hmm,
>>
>> I suspect you use glibtoolize
>> from xcode instead of the one
>> from Macports.
>> Can you double check you have
>> libtoolize installed from
>> Macports at the following
>> path /opt/local/bin/glibtoolize ?
>>
>> Cheers
>>
>>
>>
>> 2010/7/19 Francesco Lelli
>> <
address@hidden
>> <
http://francesco.lelli@
lu.unisi.ch>
>> >
>>
>> Hi Jehan,
>> full version of
>> the logs is attached.
>>
>> Talk soon,
>> Francesco
>>
>> Dr. Francesco Lelli
>> web:
>>
>>
http://www.inf.usi.ch/postdoc/lelli/
>>
>>
>>
>>
>> On 7/19/10 2:48 PM,
>> "jehan monnier"
>> <
address@hidden
>> <
http://jehan.monnier@
linphone.org> <
http://jehan.monnier@
linphone.org> >
>> wrote:
>>
>>
>> Hi Francesco,
>>
>> Thanks for
>> your input. I
>> need the full
>> build log,
>> from the
>> beginning to
>> figure out
>> what was
>> happened.
>>
>> Cheers
>>
>>
>>
>> 2010/7/19
>> Francesco
>> Lelli
>>
>> <
address@hidden <
http://francesco.lelli@
lu.unisi.ch>
>> <
http://francesco.lelli@
lu.unisi.ch> >
>> Thanks
>> Jehan,
>> this also
>> solve my previous mail! A small report of my test and some issues for you:
>>
>> 1)
>> install both
>> xcode fine.
>>
>> No
>> versioning is
>> pacified, these are the versions that I used.
>>
>> 2)
>> install
>> MacPorts (
www.macports.org <
http://www.macports.org>
>> <
http://www.macports.org> <
http://www.macports.org> ) with the following
>> ports:
>>
>>
>>
>> -automake
>> 1.11.1_0
>> -autoconf (it
>> will be installed in cascade, we may should remove this?)
>> -libtool
>> 2.2.10_0 variant universal
>> -wget
>> 1.12_1
>> variant unversal?
>>
>> Link
>> macport
>> libtoolize to glibtoolize (sudo ln -s /opt/local/bin/glibtoolize
>> /opt/local/bin/libtoolize)
>>
>> To
>> generate the
>> liblinphone dual arch sdk, once the above commands have been executed:
>> cd
>>
>> submodules/build
>>
>> make -f
>>
builder-iphone-simulator.mk <
http://builder-iphone-simulator.mk>
>> <
http://builder-iphone-simulator.mk> <
http://builder-iphone-simulator.mk>
>> all && make -f
builder-iphone-os.mk <
http://builder-iphone-os.mk>
>> <
http://builder-iphone-os.mk> <
http://builder-iphone-os.mk> all &&make -f
>>
builder-iphone-os.mk <
http://builder-iphone-os.mk>
>> <
http://builder-iphone-os.mk> <
http://builder-iphone-os.mk> delivery-sdk
>>
>>
>>
>>
>> While
>> executing the
>> last command (make bla bla) I obtains the following exception:
>>
>> ........
>> checking for
>> SPEEX... yes
>> checking for
>> getenv... yes
>> checking for
>> sighandler_t... no
>> checking for
>> sgmltools... no
>> checking for
>> doxygen... false
>> configure:
>> creating ./config.status
>>
>> config.status: creating Makefile
>>
>> config.status: creating m4/Makefile
>>
>>
>> config.status: error: cannot find input file: `po/
Makefile.in.in
>> <
http://Makefile.in.in> <
http://Makefile.in.in> <
http://Makefile.in.in> '
>>
>>
>>
>> make:
>> ***
>>
>> [/Users/francescolelli/Desktop/linphone-iphone/submodules/build/../build-i386
>> -apple-darwin/linphone/Makefile] Error 1
>>
>>
>> However
>> something in liblinphone-sdk is created but if I try to run the phone (build
>> and run) I obtains the following exception:
>>
>> CpResource
>> build/Debug-iphonesimulator/linphone.app/ringback.wav
>> liblinphone-sdk/apple-darwin/share/sounds/linphone/ringback.wav
>> cd
>> /Users/francescolelli/Desktop/linphone-iphone
>> setenv
>> PATH
>>
>> "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/u
>> sr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>>
>> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
>> -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks
>> /Users/francescolelli/Desktop/linphone-iphone/liblinphone-sdk/apple-darwin/sh
>> are/sounds/linphone/ringback.wav
>> /Users/francescolelli/Desktop/linphone-iphone/build/Debug-iphonesimulator/lin
>> phone.app
>>
>>
>> /Users/francescolelli/Desktop/linphone-iphone/liblinphone-sdk/apple-darwin/sh
>> are/sounds/linphone: No such file or directory
>> Command
>> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
>> failed with exit code 1
>>
>>
>>
>>
>> Do you
>> have
>> any
>> advice?
>>
>> Talk
>> soon,
>> Francesco
>>
>>
>> Dr.
>> Francesco
>> Lelli
>> web:
>>
>>
http://www.inf.usi.ch/postdoc/lelli/
>>
>>
>>
>>
>> On
>> 7/19/10 11:53
>> AM, "jehan monnier" <
address@hidden
>> <
http://jehan.monnier@
linphone.org> <
http://jehan.monnier@
linphone.org>
>> <
http://jehan.monnier@
linphone.org> > wrote:
>>
>>
>> Hi,
>>
>> Thanks for your feedback.
>> I have uploaded a new version of linphone-iphone including
>> both liblinphone and its dependencies along with build
>> scripts.
>> So clone linphone-iphone with --recursive option
>> (
http://www.linphone.org/eng/download/git.html) and follow
>> instructions from the README file.
>>
>> Cheers
>>
>> Jehan
>>
>>
>> 2010/7/19 08zlou <
address@hidden
>> <
http://08zlou@
stu.edu.cn> <
http://08zlou@
stu.edu.cn>
>> <
http://08zlou@
stu.edu.cn> >
>>
>>
>> Dear guys,
>>
>> Hello! Nice to meet you all. I am a beginning
>> linphone developer on the iPhone platform(Xcode). I have some
>> problems when debugging the sources downloaded from
>>
http://www.linphone.org/index.php/eng/download
>> <
http://www.linphone.org/index.php/eng/download>
>> (linphone-iphone). When I use Xcode to build the sources, it
>> just tells me that I lack some necessary libraries, such as
>> ortp, mediastreamer2, msiounit and so on. I search them on the
>> internet for a long time, but it still cannot be successfully
>> builed!
>>
>>
>> So I want to ask you for the liblinphone-sdk, which
>> includes the whole library I need(msilbc, msiounit, linphone,
>> eXosip2, ortp, mediastreamer2, speex, speexdsp, osipparser2,
>> osip2). Does anyone have this kind of liblinphone-sdk? I will
>> be very glad if you can send it to me! Thanks very much!
>>
>> Oliver
>>
>> _______________________________________________
>> Linphone-developers mailing list
>>
>>
address@hidden
>> <
http://Linphone-developers@
nongnu.org>
>> <
http://Linphone-developers@
nongnu.org>
>> <
http://Linphone-developers@
nongnu.org>
>>
http://lists.nongnu.org/mailman/listinfo/linphone-developers
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Linphone-developers mailing list
>>
address@hidden
>>
http://lists.nongnu.org/mailman/listinfo/linphone-developers
>
>