[one-users] errors on scons compiling

Javier Fontan jfontan at gmail.com
Fri Apr 15 03:42:04 PDT 2011


This kind of messages are normal

--8<------
Testing recipe: pkg-config
  Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -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.c06a50.cc.log 2>&1
------>8--

There is a script that tries to compile with different configurations
as xmlrpc package is not configured the same in every linux distro.
Maybe the messages are too verbose but we think it is better that way
as we get more information when there's some kind of trouble.

If it continued compiling then it should be ok, it ends with this message:

scons: done building targets.



On Fri, Apr 15, 2011 at 12:34 PM, Mike Putter
<mp at wirelesswebsolutions.nl> wrote:
> Hi Javier,
>
> Thanks for your help; I got a little bit further with this as I reinstalled
> some packages (development packages instead of normal ones). The error
> messages still came on but at least it continued the compilation. It might
> well be that I can expect trouble down the road ?
>
>
> On my cluster frontend I have:
>
> g++ --version
>
> g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
>
>
>
> xmlrpc-c-config c++2 client --libs --cflags
>
>
> -L/usr/lib  -lxmlrpc_client++ -lcurl -lxmlrpc_client -lxmlrpc++ -lxmlrpc
> -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -Wl,--rpath -Wl,/usr/lib
> -I/usr/include
>
>
> Is this ok ?
>
>
>
>
>
> On 04/15/2011 11:55 AM, Javier Fontan wrote:
>>
>> Can you tell me what is your g++ version? Also execute
>> "xmlrpc-c-config c++2 client --libs --cflags" and tell me what is the
>> output.
>>
>> On Thu, Apr 7, 2011 at 4:50 PM, Mike Putter<mp at wirelesswebsolutions.nl>
>>  wrote:
>>>
>>> Hi,
>>>
>>> I'm receiving the following errors during scons compiling:
>>>
>>>
>>> Testing recipe: pkg-config
>>>   Error calling pkg-config xmlrpc_server_abyss++ --static --libs
>>> Testing recipe: xmlrpc-c-config
>>> g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
>>> .xmlrpc_test/xmlrpc_test.c06a50.cc.out  -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.c06a50.cc.log
>>> 2>&1
>>>
>>> Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian
>>> lenny)
>>> g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
>>> .xmlrpc_test/xmlrpc_test.c06a50.cc.out  -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.c06a50.cc.log
>>> 2>&1
>>>
>>> Testing recipe: hardcoded libraries for Mac OS X (installed using port)
>>> g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
>>> .xmlrpc_test/xmlrpc_test.c06a50.cc.out  -I/opt/local/include
>>> -L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit -lwwwapp
>>> -lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp
>>> -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore
>>> -lwwwutils -lmd5 -ldl -lz -lpthread -lxmlrpc_client++ -lxmlrpc_client
>>> -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok
>>> -lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
>>> -lxmlrpc_server -lxmlrpc_abyss 1>>.xmlrpc_test/xmlrpc_test.c06a50.cc.log
>>> 2>&1
>>>
>>>
>>> the xmlrpc-test log reads:
>>>
>>> g++ .xmlrpc_test/xmlrpc_test.b6d8e5.cc -o
>>> .xmlrpc_test/xmlrpc_test.b6d8e5.cc.out  -L/usr/lib  -lxmlrpc_client++
>>> -lcurl
>>> -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
>>> -lxmlrpc_
>>> xmltok -Wl,--rpath -Wl,/usr/lib  -I/usr/include
>>> 1>>.xmlrpc_test/xmlrpc_test.b6d8e5.cc.log 2>&1
>>> .xmlrpc_test/xmlrpc_test.b6d8e5.cc: In function 'int main(int, char**)':
>>> .xmlrpc_test/xmlrpc_test.b6d8e5.cc:36: warning: taking address of
>>> temporary
>>> .xmlrpc_test/xmlrpc_test.b6d8e5.cc:37: warning: taking address of
>>> temporary
>>> .xmlrpc_test/xmlrpc_test.b6d8e5.cc:40: warning: taking address of
>>> temporary
>>> .xmlrpc_test/xmlrpc_test.b6d8e5.cc:41: warning: taking address of
>>> temporary
>>>
>>>
>>> I'm stuck now; no luck Googling around or reinstalling alternatives to
>>> necessary packages...
>>> Anyone ?
>>>
>>>
>>> --
>>> Met vriendelijke groet,
>>>
>>> Mike Putter
>>>
>>> Wireless Web Solutions
>>> Jubelpark 10
>>> 1567 HP Assendelft
>>>
>>> T: +31 (0)75 20 22 32 6
>>> M: +31 (0)6 18 42 40 77
>>> E: mp at wirelesswebsolutions.nl
>>> W: http://www.wirelesswebsolutions.nl/
>>> Skype: mikeputter
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list