compiling siphone code

164 views
Skip to first unread message

iAndroid

unread,
Feb 11, 2012, 11:30:28 AM2/11/12
to Siphon
Hi,

I am trying to compile siphon code. I followed all steps which is
written on compiling guidline, but i tried to run aconfigure file then
it says that you dont have permission (sh: ./aconfigure: Permission
denied
), i tried it with root user but i am getting the same problem. I
tried to run other config files but the same result came. Please
suggest what should i do? I thing i have read only code of siphon,
then from where i download the writable code??

System config : MAC 10.6.8.
iOS : 3.0 and above.

Thanks,

Ankur Shah

unread,
Feb 11, 2012, 11:33:49 AM2/11/12
to sip...@googlegroups.com
Sounds like the file is not executable. Run the following command and re-try:

$chmod 0755 ./aconfigure

iAndroid

unread,
Feb 12, 2012, 3:52:07 AM2/12/12
to Siphon
Thanks Ankur.

It is working now.

After run make command, it is showing error in pjlib that UIDevice not
found and CFNetwork not found. I think there is problem in
configuration file thats why they are not able to find these
framework. Could you please suggest from where i can change these
settings, as i dont have experience from command line compile code. I
have used only Xcode for that. Please suggest .

Thanks,

On Feb 11, 9:33 pm, Ankur Shah <4an...@gmail.com> wrote:
> Sounds like the file is not executable. Run the following command and
> re-try:
>
> $chmod 0755 ./aconfigure
>

Samuel Vinson

unread,
Feb 14, 2012, 7:45:35 AM2/14/12
to sip...@googlegroups.com
In pjsip, you should have a configure-iphone. You can define DEVPATH, IPHONESDK.

Samuel

2012/2/12 iAndroid <iandroi...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Siphon" group.
To post to this group, send email to sip...@googlegroups.com.
To unsubscribe from this group, send email to siphon+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/siphon?hl=en.


iAndroid

unread,
Feb 15, 2012, 10:17:17 AM2/15/12
to Siphon
Hi Samuel,

Thanks you very much for your reply, As i dont have much experience on
Make file and command line building so i am still facing problem.

I go through the configure-iphone file and i think the DEVPATH and
IPHONESDK path is right, but i am not sure as i have less experience
in make files. I am using iPhone SDK 5.0. Could you please change the
below files content if the path is not right:
(My system's developer file path is /Developer/Platforms/
iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/ )

# Set the main iPhone developer directory, if not set
if test "x${DEVPATH}" = "x"; then
DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
echo "$F: DEVPATH is not specified, using ${DEVPATH}"
fi

# Make sure $DEVPATH directory exist
if test ! -d $DEVPATH; then
echo "$F error: directory $DEVPATH does not exist. Please install
iPhone development kit"
exit 1
fi

# Choose SDK version to use
if test "$IPHONESDK" = ""; then
# If IPHONESDK is not set, use the latest one
for f in `ls $DEVPATH/SDKs/`; do echo $f | sed 's/\(.sdk\)//'; done
| sort | tail -1 > tmpsdkname
IPHONESDK=`cat tmpsdkname`.sdk
rm -f tmpsdkname
SDKPATH=${DEVPATH}/SDKs/${IPHONESDK}
echo "$F: IPHONESDK is not specified, choosing ${IPHONESDK}"
elif test -d ${IPHONESDK}; then
# .. else if IPHONESDK is set and it points to a valid path, just
use it
SDKPATH=${IPHONESDK}
else
# .. else assume the SDK name is used.
SDKPATH=${DEVPATH}/SDKs/${IPHONESDK}
fi


Thanks,
Vivek Kumar

On Feb 14, 5:45 pm, Samuel Vinson <samuelv0...@gmail.com> wrote:
> In pjsip, you should have a configure-iphone. You can define DEVPATH,
> IPHONESDK.
>
> Samuel
>
> 2012/2/12 iAndroid <iandroid2011...@gmail.com>
Reply all
Reply to author
Forward
0 new messages