> (http://track.sipfoundry.org/browse/XX-7487), decided to give a try :
> 
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:17: 
> package org.sipfoundry.openfire.client does not exist
>      [javac] import 
> org.sipfoundry.openfire.client.OpenfireClientException;
>      [javac]                                      ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:18: 
> package org.sipfoundry.openfire.client does not exist
>      [javac] import
> org.sipfoundry.openfire.client.OpenfireXmlRpcPresenceClient;
>      [javac]                                      ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:19: 
> package org.sipfoundry.openfire.plugin.presence does not exist
>      [javac] import
> org.sipfoundry.openfire.plugin.presence.XmlRpcPresenceProvider;
>      [javac]                                               ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:20: 
> package org.sipfoundry.sipcallwatcher does not exist
>      [javac] import org.sipfoundry.sipcallwatcher.SipResourceState;
>      [javac]                                     ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:25: 
> cannot find symbol
>      [javac] symbol  : class OpenfireXmlRpcPresenceClient
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]     private OpenfireXmlRpcPresenceClient presenceClient;
>      [javac]             ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:28: 
> cannot find symbol
>      [javac] symbol  : class OpenfireXmlRpcPresenceClient
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]         this.presenceClient = new 
> OpenfireXmlRpcPresenceClient(IvrConfiguration.get().getOpenfireHost(),
>      [javac]                                   ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:36: 
> cannot find symbol
>      [javac] symbol  : variable XmlRpcPresenceProvider
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]             if 
> (unifiedPresence.get(XmlRpcPresenceProvider.STATUS_CODE).equal
> s(XmlRpcPresenceProvider.ERROR))
> {
>      
> [javac]                                                       
>                          
> ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:36: 
> cannot find symbol
>      [javac] symbol  : variable XmlRpcPresenceProvider
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]             if 
> (unifiedPresence.get(XmlRpcPresenceProvider.STATUS_CODE).equal
> s(XmlRpcPresenceProvider.ERROR))
> {
>      [javac]                                     ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:37: 
> cannot find symbol
>      [javac] symbol  : class OpenfireClientException
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]                 throw new 
> OpenfireClientException("Error in 
> processing request for STATUS_CODE");
>      [javac]                           ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:40: 
> cannot find symbol
>      [javac] symbol  : variable XmlRpcPresenceProvider
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]             if 
> (unifiedPresence.get(XmlRpcPresenceProvider.SIP_PRESENCE).equa
> ls(XmlRpcPresenceProvider.ERROR))
> {
>      
> [javac]                                                       
>                           
> ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:40: 
> cannot find symbol
>      [javac] symbol  : variable XmlRpcPresenceProvider
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]             if 
> (unifiedPresence.get(XmlRpcPresenceProvider.SIP_PRESENCE).equa
> ls(XmlRpcPresenceProvider.ERROR))
> {
>      [javac]                                     ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:41: 
> cannot find symbol
>      [javac] symbol  : class OpenfireClientException
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]                 throw new 
> OpenfireClientException("Error in 
> processing request for SIP_PRESENCE");
>      [javac]                           ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:44: 
> cannot find symbol
>      [javac] symbol  : variable XmlRpcPresenceProvider
>      [javac] location: class org.sipfoundry.sipxivr.PhonePresence
>      [javac]             String sipPresence = (String) 
> unifiedPresence.get(XmlRpcPresenceProvider.SIP_PRESENCE);
>      [javac]                                                  
>              ^
>      [javac]
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/sipxivr
> /PhonePresence.java:48: 
> package SipResourceState does not exist
>      [javac]             if 
> (sipPresence.equals(SipResourceState.BUSY.toString())) {
>      [javac]                                                    ^
>      [javac] Note: 
> /home/daniel/sipx/sipXivr/src/main/java/org/sipfoundry/voicema
> il/ExtMailStore.java
> uses unchecked or unsafe operations.
>      [javac] Note: Recompile with -Xlint:unchecked for details.
>      [javac] 14 errors
> 
> BUILD FAILED
> /home/daniel/sipx/sipXivr/src/ant-targets.xml:145: Compile 
> failed; see the compiler error output for details.
>      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1085)
>      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:885)
>      at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
>      at java.lang.reflect.Method.invoke(Method.java:597)
>      at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUt
> ils.java:106)
>      at org.apache.tools.ant.Task.perform(Task.java:348)
>      at org.apache.tools.ant.Target.execute(Target.java:357)
>      at org.apache.tools.ant.Target.performTasks(Target.java:385)
>      at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>      at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Def
> aultExecutor.java:41)
>      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>      at org.apache.tools.ant.Main.runBuild(Main.java:758)
>      at org.apache.tools.ant.Main.startAnt(Main.java:217)
>      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> 
> Total time: 3 seconds
> make[4]: *** [all-ant] Error 1
> make[4]: Leaving directory `/home/daniel/sipx/BUILD/sipXivr/src'
> Making all in bin
> make[4]: Entering directory `/home/daniel/sipx/BUILD/sipXivr/bin'
> chmod +x sipxivr-config
> make[4]: Leaving directory `/home/daniel/sipx/BUILD/sipXivr/bin'
> Making all in etc
> make[4]: Entering directory `/home/daniel/sipx/BUILD/sipXivr/etc'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/daniel/sipx/BUILD/sipXivr/etc'
> Making all in meta
> make[4]: Entering directory `/home/daniel/sipx/BUILD/sipXivr/meta'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/daniel/sipx/BUILD/sipXivr/meta'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/daniel/sipx/BUILD/sipXivr'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/daniel/sipx/BUILD/sipXivr'
> make[1]: *** [recurse] Error 1
> make[1]: Leaving directory `/home/daniel/sipx/BUILD'
> make: *** [build] Error 2
> 
> According to the output this is an openfire issue so tried 
> removing ac-cachefile and reconfigure with --disable-openfire 
> but nothing seems to work.
> Any suggestion ?
> Thanks in advance.

The component that fails to build is sipXivr.  Seems like it cannot find some 
of the dependencies it has.  As a test, go to the sipXopenfire directory in 
your build directory and then run 'make all install' then retry your build to 
see if it works. If that gets you around the problem, this means that the 
dependencies are wrong in the sipXivr project and that we need to fix them.
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to