[asterisk-bugs] [Asterisk 0007876]: [patch] Compilation failures when building on Solaris with Zaptel drivers

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Sep 9 22:20:09 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7876 
====================================================================== 
Reported By:                bob
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   7876
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.2.13 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             09-03-2006 05:55 CDT
Last Modified:              09-09-2007 22:20 CDT
====================================================================== 
Summary:                    [patch] Compilation failures when building on
Solaris with Zaptel drivers
Description: 
Several search paths are not correct when compiling under Solaris with
zaptel drivers. In addition some other seach paths need to be modified to
account for theuse of the /opt path for include files and library searches.


Installation paths are also peculiar for Solaris systems.
====================================================================== 

---------------------------------------------------------------------- 
 bob - 09-09-07 22:20  
---------------------------------------------------------------------- 
The entire build system for 1.4 is seriously broken for Solaris.
Unfortunately there are way too many problems for us to devote time to
fixing in a manner that would be reasonable to contribute back. We took the
axe out and hacked our own build solution for asterisk 1.4 on Solaris which
we continue to use today.

SOme of the biggest issues that we ran into had to do with specifying the
full path to option libraries which prevent the linker from performing any
searches making it impossible to specify alternative library search paths -
this was a particular impact when trying to incorporate the c-client imap
library. If anyone is wondering Solaris typically uses /opt and /usr/sfw
rather than /usr/local.

We also found that CFLAG and LDFLAG options provided to the configure
script were not being properly passed down to sub-ordinate configure
scripts - this further broke the build process.

Finally - menuselect is a complete waste of time and adds a fully
non-standard method to configure the build that everyone has to learn. All
build options should be specified to the configure script. Take a look at
the way PHP is built. If PHP doesn't need something like menuselect I don't
see why asterisk does.

I hope that others with far more experience than I will be able to fully
fix the build process for asterisk 1.4 so that it is compliant with the
vast majority of opensource software that uses the autoconf/configure build
process.

Please do not wait on me to close this ticket as I am not able to
contribute anything back to fix the problems that I reported. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-09-07 22:20  bob            Note Added: 0070232                          
======================================================================




More information about the asterisk-bugs mailing list