Bug #2383

complia question

Added by 佳兴 范 over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:10/12/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:worksforme Pull request:
Affected Versions:OpenNebula 4.0

Description

Hi,
when i builded the opennebula.there are errors as fllow:
i builded it according http://dev.opennebula.org.all of the dependencies have bean installed.

sudo scons syslog=yes mysql=yes xmlrpc=/usr/bin/xmlrpc old_xmlrpc=yes
scons: Reading SConscript files ...
Testing recipe: pkg-config
Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.c4687c.cc -o .xmlrpc_test/xmlrpc_test.c4687c.cc.out -pthread -L/usr/lib -lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -I/usr/include 1>>.xmlrpc_test/xmlrpc_test.c4687c.cc.log 2>&1

Testing recipe: pkg-config
Error calling pkg-config xmlrpc_client++ xmlrpc++ --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.a3f707.cc -o .xmlrpc_test/xmlrpc_test.a3f707.cc.out -pthread -L/usr/lib -lxmlrpc_client++ -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro -lxmlrpc_packetsocket -I/usr/include 1>>.xmlrpc_test/xmlrpc_test.a3f707.cc.log 2>&1

Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
g++ .xmlrpc_test/xmlrpc_test.a3f707.cc -o .xmlrpc_test/xmlrpc_test.a3f707.cc.out -pthread -I/usr/include -L/usr/lib -lxmlrpc_client -lxmlrpc_client -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_client++ -lxmlrpc++ 1>>.xmlrpc_test/xmlrpc_test.a3f707.cc.log 2>&1

Testing recipe: pkg-config
Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.0f560f.cc -o .xmlrpc_test/xmlrpc_test.0f560f.cc.out -pthread -L/usr/lib -lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -I/usr/include 1>>.xmlrpc_test/xmlrpc_test.0f560f.cc.log 2>&1

Testing recipe: pkg-config
Error calling pkg-config xmlrpc_client++ xmlrpc++ --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.7aa83d.cc -o .xmlrpc_test/xmlrpc_test.7aa83d.cc.out -pthread -L/usr/lib -lxmlrpc_client++ -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro -lxmlrpc_packetsocket -I/usr/include 1>>.xmlrpc_test/xmlrpc_test.7aa83d.cc.log 2>&1

Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
g++ .xmlrpc_test/xmlrpc_test.fb7f93.cc -o .xmlrpc_test/xmlrpc_test.fb7f93.cc.out -pthread -I/usr/include -L/usr/lib -lxmlrpc_client -lxmlrpc_client -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_client++ -lxmlrpc++ 1>>.xmlrpc_test/xmlrpc_test.fb7f93.cc.log 2>&1

scons: done reading SConscript files.
scons: Building targets ...
gzip -c share/man/econe-allocate-address.1 > share/man/econe-allocate-address.1.gz
gzip -c share/man/econe-associate-address.1 > share/man/econe-associate-address.1.gz
gzip -c share/man/econe-attach-volume.1 > share/man/econe-attach-volume.1.gz
gzip -c share/man/econe-create-keypair.1 > share/man/econe-create-keypair.1.gz
gzip -c share/man/econe-create-volume.1 > share/man/econe-create-volume.1.gz
gzip -c share/man/econe-delete-keypair.1 > share/man/econe-delete-keypair.1.gz
gzip -c share/man/econe-delete-volume.1 > share/man/econe-delete-volume.1.gz
gzip -c share/man/econe-describe-addresses.1 > share/man/econe-describe-addresses.1.gz
gzip -c share/man/econe-describe-images.1 > share/man/econe-describe-images.1.gz
gzip -c share/man/econe-describe-instances.1 > share/man/econe-describe-instances.1.gz
gzip -c share/man/econe-describe-keypairs.1 > share/man/econe-describe-keypairs.1.gz
gzip -c share/man/econe-describe-volumes.1 > share/man/econe-describe-volumes.1.gz
gzip -c share/man/econe-detach-volume.1 > share/man/econe-detach-volume.1.gz
gzip -c share/man/econe-disassociate-address.1 > share/man/econe-disassociate-address.1.gz
gzip -c share/man/econe-reboot-instances.1 > share/man/econe-reboot-instances.1.gz
gzip -c share/man/econe-register.1 > share/man/econe-register.1.gz
gzip -c share/man/econe-release-address.1 > share/man/econe-release-address.1.gz
gzip -c share/man/econe-run-instances.1 > share/man/econe-run-instances.1.gz
gzip -c share/man/econe-start-instances.1 > share/man/econe-start-instances.1.gz
gzip -c share/man/econe-stop-instances.1 > share/man/econe-stop-instances.1.gz
gzip -c share/man/econe-terminate-instances.1 > share/man/econe-terminate-instances.1.gz
gzip -c share/man/econe-upload.1 > share/man/econe-upload.1.gz
gzip -c share/man/occi-compute.1 > share/man/occi-compute.1.gz
gzip -c share/man/occi-network.1 > share/man/occi-network.1.gz
gzip -c share/man/occi-storage.1 > share/man/occi-storage.1.gz
gzip -c share/man/oneacct.1 > share/man/oneacct.1.gz
gzip -c share/man/oneacl.1 > share/man/oneacl.1.gz
gzip -c share/man/oneauth.1 > share/man/oneauth.1.gz
gzip -c share/man/onecluster.1 > share/man/onecluster.1.gz
gzip -c share/man/onedatastore.1 > share/man/onedatastore.1.gz
gzip -c share/man/onedb.1 > share/man/onedb.1.gz
gzip -c share/man/onegroup.1 > share/man/onegroup.1.gz
gzip -c share/man/onehost.1 > share/man/onehost.1.gz
gzip -c share/man/oneimage.1 > share/man/oneimage.1.gz
gzip -c share/man/onetemplate.1 > share/man/onetemplate.1.gz
gzip -c share/man/oneuser.1 > share/man/oneuser.1.gz
gzip -c share/man/onevdc.1 > share/man/onevdc.1.gz
gzip -c share/man/onevm.1 > share/man/onevm.1.gz
gzip -c share/man/onevnet.1 > share/man/onevnet.1.gz
gzip -c share/man/onezone.1 > share/man/onezone.1.gz
scons: *** [src/acl/AclManager.o] TypeError `File /usr/bin/xmlrpc found where directory expected.' trying to evaluate `${_concat(INCPREFIX, CPPPATH, INCSUFFIX, env, RDirs, TARGET, SOURCE)}'
scons: building terminated because of errors.

thanks.

History

#1 Updated by Ruben S. Montero over 7 years ago

  • Tracker changed from Request to Bug
  • Status changed from Pending to Closed
  • Resolution set to worksforme
  • Affected Versions OpenNebula 4.0 added

Check that all dependencies have been installed

Also available in: Atom PDF