Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-29-2008, 06:44 AM   #1
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
Trying to build a kde environment with emerge on W-Vista


I'm having a rough time following this guide:

My goal is to compile Amarok on windows vista.

At one stage I had emerge downloading kdebase and hours later it managed to install nothing (this was on Windows XP).

I have started over since because the next day it kept saying it couldn't find even though it kept pointing right to it.

Now, in Vista, starting over I have new issues.

I followed the guide 100%.

I setup my files and everything.

But this is all I get from emerge qt:

c:\kderoot\emerge\bin>emerge qt

c:\kderoot\emerge\bin>echo emerge.bat executed
emerge.bat executed

c:\kderoot\emerge\bin>python \emerge\bin\ qt
Traceback (most recent call last):
File "\emerge\bin\", line 22, in <module>
import utils
File "C:\emerge\bin\", line 32, in <module>
WGetExecutable = os.path.join( os.getenv( "KDEROOT" ), "gnuwin32", "bin", "w
get.exe" )
File "c:\python25\lib\", line 90, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()

This Screenshot shows my directories/setup and the settings batch file, maybe I got something wrong someone can pinpoint for me? thanks.


The image didn't have enough room to include the entire batch file, here is the whole thing::

@echo off
rem here you set the base directory under which the whole kde
rem system will live
set KDEROOT=c:\kderoot

rem here you set the compiler to be used:
rem mingw : use the mingw gcc compiler (recommended)
rem msvc2005: use the microsoft visual studio 2005 c-compiler

rem here you should set the path to your python installation
rem this is needed, so that python will be found, when
rem python scripts will be executed. by setting this here,
rem you donīt have to change the environment settings of
rem windows at all
set PYTHONPATH=c:\python25

rem here you set set the path to msys if you want to compile
rem automake-based projects (only needed for some internal packages)
set MSYSDIR=c:\kderoot\msys

rem here you can set the download directory to another dir
rem if you want, so you can share the same download dir between
rem mingw and msvc
set DOWNLOADDIR=c:\kdedownload

rem here you can tell emerge in which dir you want to save the
rem svn checkout of kde sources, and you can optionally
rem set the server instead of the
rem one, so that you can directly commit your changes from the
rem svn checkout from emerge, if you want.
set KDESVNDIR=c:\kdesvn
rem for security reasons you better log in to the kde server by hand
rem and set the username and password at first login. then svn will
rem remember the password and it does not have to be written down here
rem set KDESVNPASSWORD=password

rem if you use svn+ssh, you'll need a ssh-agent equaivalent for managing the authorization 
rem Pageant is provided by putty, get it at 
rem and make sure plink is in your path and Pageant is configured (you need to import your key)
set SVN_SSH=plink 

rem it is not recommended anymore to use the traditional layout.
rem if you want to use together with the kdewin-installer, you should set
rem the value of directory_layout to 'installer', if you leave it unset or set it to
rem 'traditional' you get the category sublayout
set directory_layout=installer

rem You can set type of emerge build.
rem There are standard two build types: Debug and Release
rem - both are used if no EMERGE_BUILDTYPE is set.
rem There is a third buildtype called RelWithDebInfo
rem - which is release (optimized) build but containing debugging information.
rem You can override the build type at the commandline using the '--buildtype=[BuildType]' option.
rem The build type which is set here will not override the buildtype in .py package files.

rem If you want to have verbose output uncomment the following option and set it to any positive integer
rem for verbose output and to 0 or disable it for normal output

rem If you want to have shorter build times, and less disk usage, enable the next option
rem for all kde svn based stuff it will not copy the svn sources again
rem problem is that you cannot make packages when this option is set

rem If you want to build all packages with buildTests, enable the next option
rem this applies only to the cmake based packages

rem The next option only applies if you want to make packages
rem it sets the output directory where your generated packages should be stored

rem No editing should be necessary below this line (in an ideal world)
rem ##################################################################


echo kdesettings.bat executed
echo KDEROOT     : %KDEROOT%
I'd REALLY appreciate help.

Last edited by Virtuality; 01-29-2008 at 06:47 AM.
Old 01-29-2008, 06:50 AM   #2
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
OH GOD I ....


set PYTHONPATH=c:\python25\bin


set PYTHONPATH=c:\python25

how did I not see that...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for build environment setup recommendations hq4ever Programming 1 11-09-2006 09:19 AM
LXer: Here is why anti-piracy technology being in-build in Microsoft Vista could help GNU/Linux LXer Syndicated Linux News 0 10-06-2006 10:54 PM
build environment arkss Linux - Software 0 06-25-2005 03:54 PM
cannot emerge kde irfanhab Linux - Distributions 3 05-28-2005 10:41 PM
I've installed gcc, how do i build a complier environment? Derek-kun Linux - Newbie 4 09-23-2003 09:50 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration