Re: [Freeswitch-users] mod_fax compile fails

2009-10-08 Thread Rob Forman
I had that issue too where make current failed on mod_fax (under libs/ 
tiff).  And yeah, it caused a problem where a bunch of modules  
wouldn't load.  You'll want to get it resolved before installing.  I  
ended up moving the existing source aside and re-checked out the  
trunk, which compiled fine.


On Oct 8, 2009, at 10:06 PM, Mark Campbell-Smith wrote:

> HI all,
>
> I just tried to update to the latest svn and I get these errors right
> at the end after issuing a 'make current'.  I am using Debian Lenny.
>
> making all mod_fax
> make[5]: Entering directory `/home/mark/freeswitch/src/mod/ 
> applications/mod_fax'
> make[6]: Entering directory `/home/mark/freeswitch/src/mod/ 
> applications/mod_fax'
> make[7]: Entering directory `/home/mark/freeswitch/libs/tiff-3.8.2'
> running /bin/sh ./configure  --prefix=/usr/local/freeswitch
> --cache-file=/dev/null --srcdir=. --disable-shared --with-pic
> --no-create --no-recursion
> configure: error: cannot run /bin/sh config/config.sub
> make[7]: *** [config.status] Error 1
> make[7]: Leaving directory `/home/mark/freeswitch/libs/tiff-3.8.2'
> make[6]: *** [../../../../libs/tiff-3.8.2/libtiff/libtiff.la] Error 2
> make[6]: Leaving directory `/home/mark/freeswitch/src/mod/ 
> applications/mod_fax'
> make[5]: *** [all] Error 1
> make[5]: Leaving directory `/home/mark/freeswitch/src/mod/ 
> applications/mod_fax'
> make[4]: *** [mod_fax-all] Error 1
> make[4]: Leaving directory `/home/mark/freeswitch/src/mod'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/mark/freeswitch/src'
> Making all in build
> make[3]: Entering directory `/home/mark/freeswitch/build'
> + FreeSWITCH Build Complete ---+
> + FreeSWITCH has been successfully built.  +
> + Install by running:  +
> +  +
> +   make install   +
> +--+
> make[3]: Leaving directory `/home/mark/freeswitch/build'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/mark/freeswitch'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/mark/freeswitch'
> make: *** [current] Error 2
>
> Also, are the 'Leaving directory / all-recursive' errors going to
> cause a problem?
>
> Thanks!
> Any ideas what the cause is?
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] mod_fax compile fails

2009-10-08 Thread Mark Campbell-Smith
Thanks Rob,

Is this a fault in the svn update process?  if so, should/has it been
bug reported?


On Fri, Oct 9, 2009 at 2:39 PM, Rob Forman  wrote:
> I had that issue too where make current failed on mod_fax (under libs/
> tiff).  And yeah, it caused a problem where a bunch of modules
> wouldn't load.  You'll want to get it resolved before installing.  I
> ended up moving the existing source aside and re-checked out the
> trunk, which compiled fine.
>
>
> On Oct 8, 2009, at 10:06 PM, Mark Campbell-Smith wrote:
>
>> HI all,
>>
>> I just tried to update to the latest svn and I get these errors right
>> at the end after issuing a 'make current'.  I am using Debian Lenny.
>>
>> making all mod_fax
>> make[5]: Entering directory `/home/mark/freeswitch/src/mod/
>> applications/mod_fax'
>> make[6]: Entering directory `/home/mark/freeswitch/src/mod/
>> applications/mod_fax'
>> make[7]: Entering directory `/home/mark/freeswitch/libs/tiff-3.8.2'
>> running /bin/sh ./configure  --prefix=/usr/local/freeswitch
>> --cache-file=/dev/null --srcdir=. --disable-shared --with-pic
>> --no-create --no-recursion
>> configure: error: cannot run /bin/sh config/config.sub
>> make[7]: *** [config.status] Error 1
>> make[7]: Leaving directory `/home/mark/freeswitch/libs/tiff-3.8.2'
>> make[6]: *** [../../../../libs/tiff-3.8.2/libtiff/libtiff.la] Error 2
>> make[6]: Leaving directory `/home/mark/freeswitch/src/mod/
>> applications/mod_fax'
>> make[5]: *** [all] Error 1
>> make[5]: Leaving directory `/home/mark/freeswitch/src/mod/
>> applications/mod_fax'
>> make[4]: *** [mod_fax-all] Error 1
>> make[4]: Leaving directory `/home/mark/freeswitch/src/mod'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/home/mark/freeswitch/src'
>> Making all in build
>> make[3]: Entering directory `/home/mark/freeswitch/build'
>> + FreeSWITCH Build Complete ---+
>> + FreeSWITCH has been successfully built.      +
>> + Install by running:                          +
>> +                                              +
>> +               make install                   +
>> +--+
>> make[3]: Leaving directory `/home/mark/freeswitch/build'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/mark/freeswitch'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/mark/freeswitch'
>> make: *** [current] Error 2
>>
>> Also, are the 'Leaving directory / all-recursive' errors going to
>> cause a problem?
>>
>> Thanks!
>> Any ideas what the cause is?
>>
>> ___
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] mod_fax compile fails

2009-10-08 Thread Jason White
Mark Campbell-Smith  wrote:
> Thanks Rob,
> 
> Is this a fault in the svn update process?  

Usually, no, it's rather that if you build in a directory that you've checked
out and then run svn update, not everything gets cleaned up properly the next
time you build.

I find it's faster to build in a tmpfs file system anyway, e.g.,

mkdir /tmp/fs && sudo mount -t tmpfs tmpfs /tmpfs && svn export . /tmp/fs
then go into /tmp/fs and run the compilation process, or the package building
command, or whatever you need.

This way, my original svn tree is never altered and it will always update
cleanly.


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] mod_fax compile fails

2009-10-09 Thread Rob Forman
I was in a production window so when the latest trunk worked I moved  
on.  I went back to troubleshoot later when I saw your email but I  
couldn't reproduce it.

I like the tmpfs build- thanks for the tip Jason.


On Oct 9, 2009, at 1:11 AM, Jason White wrote:

> Mark Campbell-Smith  wrote:
>> Thanks Rob,
>>
>> Is this a fault in the svn update process?
>
> Usually, no, it's rather that if you build in a directory that  
> you've checked
> out and then run svn update, not everything gets cleaned up properly  
> the next
> time you build.
>
> I find it's faster to build in a tmpfs file system anyway, e.g.,
>
> mkdir /tmp/fs && sudo mount -t tmpfs tmpfs /tmpfs && svn export . / 
> tmp/fs
> then go into /tmp/fs and run the compilation process, or the package  
> building
> command, or whatever you need.
>
> This way, my original svn tree is never altered and it will always  
> update
> cleanly.
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] mod_fax compile fails

2009-10-09 Thread leo.z...@gmail.com
Hi,

./bootstrap.sh
./configure
make
make install

--
Regards,
Leo



Mark Campbell-Smith wrote:
> HI all,
>
> I just tried to update to the latest svn and I get these errors right
> at the end after issuing a 'make current'.  I am using Debian Lenny.
>
> making all mod_fax
> make[5]: Entering directory 
> `/home/mark/freeswitch/src/mod/applications/mod_fax'
> make[6]: Entering directory 
> `/home/mark/freeswitch/src/mod/applications/mod_fax'
> make[7]: Entering directory `/home/mark/freeswitch/libs/tiff-3.8.2'
> running /bin/sh ./configure  --prefix=/usr/local/freeswitch
> --cache-file=/dev/null --srcdir=. --disable-shared --with-pic
> --no-create --no-recursion
> configure: error: cannot run /bin/sh config/config.sub
> make[7]: *** [config.status] Error 1
> make[7]: Leaving directory `/home/mark/freeswitch/libs/tiff-3.8.2'
> make[6]: *** [../../../../libs/tiff-3.8.2/libtiff/libtiff.la] Error 2
> make[6]: Leaving directory 
> `/home/mark/freeswitch/src/mod/applications/mod_fax'
> make[5]: *** [all] Error 1
> make[5]: Leaving directory 
> `/home/mark/freeswitch/src/mod/applications/mod_fax'
> make[4]: *** [mod_fax-all] Error 1
> make[4]: Leaving directory `/home/mark/freeswitch/src/mod'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/mark/freeswitch/src'
> Making all in build
> make[3]: Entering directory `/home/mark/freeswitch/build'
>  + FreeSWITCH Build Complete ---+
>  + FreeSWITCH has been successfully built.  +
>  + Install by running:  +
>  +  +
>  +   make install   +
>  +--+
> make[3]: Leaving directory `/home/mark/freeswitch/build'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/mark/freeswitch'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/mark/freeswitch'
> make: *** [current] Error 2
>
> Also, are the 'Leaving directory / all-recursive' errors going to
> cause a problem?
>
> Thanks!
> Any ideas what the cause is?
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>   


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org