followup: building pjsip in centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-03-15 at 10:50 +0530, Hemant Kotdiya wrote:
> Hi Arif,
> 
> I would suggest you manually delete the .depend file if find command
> is not helping and run "make dep" again. It's all because of corrupted
> .depend file.

I've tried that earlier with no luck. but i've found something else
running $make dep > /dev/null. It does throw some error in stderr. the
errors are following :

src/pa_unix_hostapis.c:1:61:
error: ../../../portaudio/src/os/unix/pa_unix_hostapis.c: No such file
or directory
src/pa_unix_util.c:1:57:
error: ../../../portaudio/src/os/unix/pa_unix_util.c: No such file or
directory
src/pa_linux_alsa.c:1:63:
error: ../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c: No such file
or directory
src/pa_unix_oss.c:1:60:
error: ../../../portaudio/src/hostapi/oss/pa_unix_oss.c: No such file or
directory
src/pa_allocation.c:1:57:
error: ../../../portaudio/src/common/pa_allocation.c: No such file or
directory
src/pa_converters.c:1:57:
error: ../../../portaudio/src/common/pa_converters.c: No such file or
directory
src/pa_cpuload.c:1:54:
error: ../../../portaudio/src/common/pa_cpuload.c: No such file or
directory
src/pa_dither.c:1:53: error: ../../../portaudio/src/common/pa_dither.c:
No such file or directory
src/pa_debugprint.c:1:57:
error: ../../../portaudio/src/common/pa_debugprint.c: No such file or
directory
src/pa_front.c:1:52: error: ../../../portaudio/src/common/pa_front.c: No
such file or directory
src/pa_process.c:1:54:
error: ../../../portaudio/src/common/pa_process.c: No such file or
directory
src/pa_skeleton.c:1:55:
error: ../../../portaudio/src/common/pa_skeleton.c: No such file or
directory
src/pa_stream.c:1:53: error: ../../../portaudio/src/common/pa_stream.c:
No such file or directory
src/pa_trace.c:1:52: error: ../../../portaudio/src/common/pa_trace.c: No
such file or directory
../src/pjmedia-audiodev/errno.c:23:26: error: portaudio.h: No such file
or directory
../src/pjmedia-audiodev/pa_dev.c:28:23: error: portaudio.h: No such file
or directory

Looks like there are files missing here. is there anything it fetches
from internet during build time ? the files seems to be missing from
source tree entirely.


> 
> regard
> 
> On Wed, Mar 14, 2012 at 6:37 PM, Arif Hossain <etothepowerpi at hotmail.com> wrote:
> > On Wed, 2012-03-14 at 18:40 +0600, Arif Hossain wrote:
> >> I'm trying to build pjsip(www.pjsip.org) in centos 6.2 x86 .
> >>
> >> $git svn info
> >>
> >> Path: .
> >> URL: http://svn.pjsip.org/repos/pjproject/trunk
> >> Repository Root: http://svn.pjsip.org/repos
> >> Repository UUID: 74dad513-b988-da41-8d7b-12977e46ad98
> >> Revision: 3972
> >> Node Kind: directory
> >> Schedule: normal
> >> Last Changed Author: nanang
> >> Last Changed Rev: 3972
> >> Last Changed Date: 2012-03-09 09:29:05 +0600 (Fri, 09 Mar 2012)
> >>
> >>
> >> Whenever i issue make dep, it completes without showing an error. after
> >> i give make it stops with following error.
> >>
> >> make[3]: Entering directory
> >> `/home/freeburn/pjsip/trunk/third_party/build/portaudio'
> >> .libportaudio-i686-pc-linux-gnu.depend:1: *** missing separator.  Stop.
> >> make[3]: Leaving directory
> >> `/home/freeburn/pjsip/trunk/third_party/build/portaudio'
> >> make[2]: *** [libportaudio] Error 2
> >> make[2]: Leaving directory
> >> `/home/freeburn/pjsip/trunk/third_party/build/portaudio'
> >> make[1]: *** [all] Error 1
> >> make[1]: Leaving directory
> >> `/home/freeburn/pjsip/trunk/third_party/build'
> >> make: *** [all] Error 1
> >>
> >> in faq page of pjsip its said that if this error happens, then
> >>
> >> make distclean
> >>
> >> should solve it. But in my case same error happens after make distclean.
> >> someone at the pjsip mailing list suggested to remove every *.depend
> >> file by :
> >>
> >> $ find . -name "*.depend" -print | xargs rm -f
> >>
> >> i've done that. but still no luck. although this not a pjsip mailing
> >> list, the problem occurs because of .depend files, so i thought someone
> >> can shed some light on it so that i get a clue for solving it.
> >>
> >> below is the problem creating .depend file. by viewing that file i'm
> >> sure there is something wrong with it. because all the stuffed into one
> >> line without any line break or spaces. I dont really know what should be
> >> the format of .depend files, but i have seen other .depend files in
> >> pjsip source trees have one path listing per line and there is a "space"
> >> between entries.
> >>
> >> listing of the faulty .depend file:
> >>
> >>
> >> $cat-n
> >> third_party/build/portaudio/.libportaudio-i686-pc-linux-gnu.depend
> >>
> >> gives following output:
> >> 1
> >> output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/output/libportaudio-i686-pc-linux-gnu/
> >>
> >> notice the "1" from "cat -n".
> >>
> >> sorry for too much "noise", i was trying to be more verbose.
> >>
> >>
> >> thanks in advance.
> >>
> >>
> >>
> >
> > After reading .depend file more carefully, i've understood it does not
> > contain any dependencies at all. its just some incomplete rule name
> > smashed togather. so the problem is in "make dep" which failed to
> > produce correct dependencies for every module. but this failure should
> > be logged somewhere. although make dep does not end with a error notice,
> > may be some log file(like build.log) is kept for further scrutiny. I'm
> > willing to look at it if anything wrong with the build script. first i
> > have to know where the logs for "make dep" is kept.
> >> _________________________________
> >
> >> ______________
> >> Visit our blog: http://blog.pjsip.org
> >>
> >> pjsip mailing list
> >> pjsip at lists.pjsip.org
> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >>
> >
> >
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120315/89fddf62/attachment.asc>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux