[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: building qt-copy and kde in a seperate tree
From:       Andrew <akar3d () yahoo ! com ! au>
Date:       2002-12-08 1:50:35
[Download RAW message or body]

On Fri, 6 Dec 2002 08:00 am, Nick Brown wrote:
> The webpage you point to assumes QT is compiled in the place it will
> reside, but this not compulsory. I'm trying to it differently from how it
> is "suggested" there. I want 3 seperate trees, as is often used with GNU
> software.
> The export (which does not make things available to others, only to child
> processes) lines are only for the configure/build/install process. When I'm
> finished and ready to use it I'll fix up my profile so I can use it.
> It's only the configure/build/install process I have problem with.
>
> thanks,
> Nick

Well the install part is easy. Both QT and KDE will install into whatever 
location you set the configure --prefix= switch to. For KDE that value will  
default to KDEDIR if that has been set so be careful.
So if you use prefix=/home/bob/kde3 for both QT and KDE then they will both 
install into that location when you do a make install.

As for keeping the source and build separate, I think the way that Xfree does 
it should be OK.
If your source is in /home/bob/kde_source then making a link to it called 
/home/bob/kde_build should do it since the configure/build process seems to 
use relative paths. You then configure, make in the kde_build tree.

I dont know why you want your source and build separate; I have seen the above 
technique work many times but I have also seen it fail on large compilations 
(probably due to the huge number of virtual symlnks it is creating)

Installing them both into one location is no problem. You just add the 
kde3/lib directory to ld.so.conf and run ldconfig. In your /etc/profile.d 
create a kde.sh file (or add this info to some other relevant place) in which 
you add the Kde PATH  and export the KDEDIR and QTDIR variables which should 
both be set to /home/bob/kde3 (or whatever) and you may also want to add the 
line ;
alias kde="xinit /usr/local/kde3/bin/startkde" with your path.

-- 
Regards,
andrew
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic