[asterisk-bugs] [Asterisk 0009643]: make install fails on: cannot stat `.libs/libchan_h323.so.1.0.1'

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 29 09:38:53 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9643 
====================================================================== 
Reported By:                Seb7
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9643
Category:                   Channels/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 379 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             05-01-2007 12:15 CDT
Last Modified:              10-29-2007 09:38 CDT
====================================================================== 
Summary:                    make install fails on: cannot stat
`.libs/libchan_h323.so.1.0.1'
Description: 
make went fine, but in make install:
make[1]: Entering directory
`/usr/src/asterisk-addons-1.4-svn/asterisk-ooh323c'
cp .libs/libchan_h323.so.1.0.1 /usr/lib/asterisk/modules/chan_ooh323.so
cp: cannot stat `.libs/libchan_h323.so.1.0.1': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/src/asterisk-addons-1.4-svn/asterisk-ooh323c'
make: *** [install] Error 2

I also tried a fresh copy of asterisk-addons-1.4.1 on a different server
just to be sure! (But that had the same error.)
====================================================================== 

---------------------------------------------------------------------- 
 zenon - 10-29-07 09:38  
---------------------------------------------------------------------- 
bkruse, no. And I could solve it with 

--- asterisk-ooh323c/Makefile.am.orig   2007-05-14 18:22:44.000000000
+0200
+++ asterisk-ooh323c/Makefile.am        2007-10-28 18:50:08.000000000
+0100
@@ -21,8 +21,13 @@
 debugthread:
        $(MAKE) "CFLAGS = -g -DGNU -D_GNU_SOURCE -D_REENTRANT
$(DEBUG_THREADS)" all

-install:
-       cp .libs/libchan_h323.so.1.0.1
$(DESTDIR)/usr/lib/asterisk/modules/chan_ooh323.so
+install:
+       if test -f .libs/libchan_h323.so.1.0.1; \
+       then \
+               cp .libs/libchan_h323.so.1.0.1
$(DESTDIR)/usr/lib/asterisk/modules/chan_ooh323.so; \
+       else \
+               cp .libs/libchan_h323.1.0.1
$(DESTDIR)/usr/lib/asterisk/modules/chan_ooh323.so; \
+       fi

 sample:
        cp h323.conf.sample $(DESTDIR)/etc/asterisk/ooh323.conf 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-29-07 09:38  zenon          Note Added: 0072640                          
======================================================================




More information about the asterisk-bugs mailing list