[Desktop_architects] Error in compiling the Commondesktop-1.0beta tar file

Daisuke Kameda kameda at smg.co.jp
Thu Nov 1 02:09:04 PDT 2007


Perhaps, libunoconverter may not be able to be compiled.

For example, when the process of OpenOffice exists, 
compilation of the converter library or sample about UNO may go wrong.

Is there libunoconverter.so* in /root/commondesktop-install/lib ?

-- 
Daisuke Kameda
  Japan KDE Users' Group:  President
    mailto:daisuke at kde.gr.jp  http://www.kde.gr.jp/~daisuke/
  immodule for Qt Project:  Project Maintainer
    http://www.freedesktop.org/wiki/Software_2fimmodule_2dqt
  SMG Co., Ltd.:  Engineering Creator
    mailto:kameda at smg.co.jp  http://www.smg.co.jp/
    http://www.smg.co.jp/opensource/CommonDesktopInfrastructure/


________________________________

From: prema selvaraj [mailto:premum at gmail.com] 
Sent: Thursday, November 01, 2007 5:23 PM
To: Daisuke Kameda
Cc: desktop_architects at lists.linux-foundation.org
Subject: Re: [Desktop_architects] Error in compiling the
Commondesktop-1.0beta tar file


oooh yes..I executed "source setenv.sh" the second time in the different
console only..Because I was struck again with an error.

 I couldnt get the sample compiled fully.. Inside the UNO folder when I try
to "make" 
its returning an error status

/usr/bin/ld: cannot find -lunoconverter
collect2: ld returned 1 exit status
make: ***
[/root/OpenOffice.org2.0_SDK 

	/LINUXexample.out/lib/sampleService.uno.so]
	Error 1



Couldnt understand what might be the problem or what am missing..

Thanks.,


On 11/1/07, Daisuke Kameda <kameda at smg.co.jp> wrote: 

	Is it true that you executed "source setenv.sh" twice?
	I recognize that it is enough to execute "source setenv.sh" only
once.
	
	I should write README more clear.
	But, I can't understand reason about executing "source setenv.sh"
before
	make UNO sample. If you executed it in another console, this is the
reason.
	
	And, your full execution process is correct.
	
	By the way, could you execute sample?
	--
	Daisuke Kameda 
	  Japan KDE Users' Group:  President
	    mailto:daisuke at kde.gr.jp  http://www.kde.gr.jp/~daisuke/
	  immodule for Qt Project:  Project Maintainer 
	    http://www.freedesktop.org/wiki/Software_2fimmodule_2dqt
	  SMG Co., Ltd.:  Engineering Creator
	    mailto: kameda at smg.co.jp <mailto:kameda at smg.co.jp>   http://www.
smg.co.jp/
	    http://www.smg.co.jp/opensource/CommonDesktopInfrastructure/ 
	
	
	________________________________
	
	From: desktop_architects-bounces at lists.linux-foundation.org
	[mailto: desktop_architects-bounces at lists.linux-foundation.org
<mailto:desktop_architects-bounces at lists.linux-foundation.org> ] On Behalf
Of
	prema selvaraj
	Sent: Thursday, November 01, 2007 3:56 PM
	To: Daisuke Kameda
	Cc: desktop_architects at lists.linux-foundation.org
	Subject: Re: [Desktop_architects] Error in compiling the
	Commondesktop-1.0betatar file
	
	
	Daisuke ..
	
	As you told I first created a SDK environment by running the source
setenv. 
	sh .
	
	The sequence of my execution..
	
	   source setenv.sh
	   cd sample/uno2qtdbus/
	   qt2codegen.sh qt.xml qt qtdbus.service
	    qt2common.sh qt.xml . common.xml
	    common2unocode.sh idl/common.xml uno unosample.idl
	    cd qt/target/
	    qmake
	    make
	    cd ../../uno/
	    cp -p sampleService.cxx src/.
	   make
	
	This make is again not detecting the SDK environment variable and
throws an
	error.. 
	
	/usr/bin/ld: cannot find -lunoconverter
	collect2: ld returned 1 exit status
	make: ***
	[/root/OpenOffice.org2.0_SDK/LINUXexample.out/lib/sampleService.uno.
so]
	Error 1
	
	
	Should I create a SDK environment again..Can you please make the
README file 
	bit more clear.
	
	Thanks...
	
	(Attached is my full execution process..please check out am I wrong
	anywhere)
	
	
	
	On 10/31/07, Daisuke Kameda <daisuke at kde.gr.jp > wrote:
	
	        I want to talk with you.
	        But, it is difficult for me to talk in IRC using English.
	        Sorry...
	
	        Perhaps, ld can't find the libqtconverter.so which have been

	installed.
	        You need to execute "source setenv.sh " in installed
directory.
	        I will update README tomorrow.
	
	
	        prema selvaraj is wrote:
	        > and generated the commondesktop installer..And when
running the 
	samples .,
	        > am coming across soo many warnings and ending up with this
error..
	
	        >
	        > /usr/bin/ld: cannot find -lqtdbusconverter
	        > collect2: ld returned 1 exit status 
	        > make: *** [lib/libqt.so.1.0.0] Error 1
	        > )
	        >
	        > I couldnt understand why this code is searching for
	lqtdbusconverter in
	        > /usr/bin/ld ... Is there any flags which I have to set.? 
	        >
	        > Thanks in advance..
	        >
	        >
	        > On 10/31/07, prema selvaraj <premum at gmail.com> wrote:
	        >> Thanks for your quick response. I have installed
libboost* from 
	debian.Nowthat error is
	        >> cleared.But still I have got few more doubts in compiling
the
	sample.
	        >>
	        >> It will be very helpful if I could meet you in any IRC
channels.. 
	Is there
	        >> any channels for CommonDesktop project..?Or else can you
join me
	in
	        >> #BOSS-Nrcfoss in FreeNode.
	        >>
	        >> Thanks
	
	        --
	        Daisuke Kameda 
	           Japan KDE Users' Group:  President
	             mailto:daisuke at kde.gr.jp
http://www.kde.gr.jp/~daisuke/
	           immodule for Qt Project:  Project Maintainer 
	
http://www.freedesktop.org/wiki/Software_2fimmodule_2dqt
	           SMG Co., Ltd.:  Engineering Creator
	             mailto: kameda at smg.co.jp <mailto:kameda at smg.co.jp>
http://www.smg.co.jp/ <http://www.smg.
	co.jp/>
	
http://www.smg.co.jp/opensource/CommonDesktopInfrastructure/
	
	        _______________________________________________
	        Desktop_architects mailing list
	         Desktop_architects at lists.linux-foundation.org
<mailto:Desktop_architects at lists.linux-foundation.org> 
	
	
https://lists.linux-foundation.org/mailman/listinfo/desktop_architects
	<
https://lists.linux-foundation.org/mailman/listinfo/desktop_architects
<https://lists.linux-foundation.org/mailman/listinfo/desktop_architects> >
	
	
	
	
	
	--
	Prema
	
	_______________________________________________
	Desktop_architects mailing list
	Desktop_architects at lists.linux-foundation.org
	
https://lists.linux-foundation.org/mailman/listinfo/desktop_architects
	




-- 
Prema 



More information about the Desktop_architects mailing list