Help for installing kde under cygwin
Douglas Allen
kb9agt at gmail.com
Wed Jul 4 19:06:07 CEST 2007
The directions are still there.
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/
Copy/pasted:
Snapshot release of KDE 3.4.1
IMPORTANT
This kde release may not run with newer qt libraries from
http://cygwin-ports.sf.net. If you like to run newer qt releases please
remove this packages completely and install kde from the independent project
http://cygwin-ports.sf.net.
INSTALLATION
1. install required cygwin packages
cygwin xorg-x11-base freetype2 fontconfig libxslt libxml2 libiconv libtiff5
openssl libbz2_1 zlib libpcre0 jpeg libaspell15 libart_lgpl libsasl2 ash
rebase
2. download the packages and unpack them into the cygwin root
wget -nd
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/qt-x11-free-3.3.4-1.tar.bz2
wget -nd
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/kdelibs-3.4.1-0.tar.bz2
wget -nd
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/kdebase-3.4.1-0.tar.bz2
wget -nd
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/kdepim-3.4.1-0.tar.bz2
wget -nd
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/kdesdk-3.4.1-0.tar.bz2
tar -C / -xjf qt-x11-free-3.3.4-1.tar.bz2
tar -C / -xjf kdelibs-3.4.1-0.tar.bz2
tar -C / -xjf kdebase-3.4.1-0.tar.bz2
tar -C / -xjf kdepim-3.4.1-0.tar.bz2
tar -C / -xjf kdesdk-3.4.1-0.tar.bz2
3. rebase all dll's to avoid cygwin remap problem
<before running rebaseall make sure, that no cygwin process is running>
1. create file list
find /opt/qt/3.3 /opt/kde3.4 -name '*.dll' >/tmp/files.lst
2. close *ALL* cygwin processes
3. open a windows command shell (cmd.exe) from Start/Run and goto
cygwin installation root
cd c:\cygwin
bin\ash bin/rebaseall -b 0x61000000 -v -T tmp/files.lst
4. start kde
1. display only kicker (uses Xwin multiwindow mode)
at first create a simple startscript
cat >~/startkde
/usr/sbin/cygserver &
export CYGWIN=server
export DISPLAY=127.0.0.1:0
xwin -multiwindow &
xwinclip &
xhost +
export SHELL=/bin/bash
kdeinit +kicker &
[press ENTER, then CTRL-D]
chmod a+x ~/startkde
no you can start kde with
~/startkde &
stop kde - run
kdeinit_shutdown
then close the bash window
2. using full kde desktop (uses Xwin rootless mode)
cat >~/startkde
#!/bin/bash
cygserver &
export CYGWIN=server
export SHELL=/bin/bash
xwin -fullscreen -noreset &
xwinclip &
xhost +
/opt/kde3.4/bin/startkde
kdeinit_shutdown
taskkill /IM xwin
taskkill /IM xwinclip
taskkill /IM cygserver
[press ENTER, then CTRL-D]
chmod a+x ~/startkde
no you can start kde with
~/startkde &
Notes
1. If you encounter problem with kmail (load loading time when opening new
email window or seg faults), you can install the cygwin-dll-2005-04-13
package, which runs stable for me.
cd ~
wget -nd
http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/cygwin-dll-2005-04-13.tar.bz2
tar -xjf cygwin-dll-2005-04-13.tar.bz2
cp bin/cygwin1.dll /
<close all cygwin apps and start a cmd shell, then enter >
cd c:\cygwin (or wherever your cygwin root is located)
copy cygwin1.dll bin
<now you can restart kde>
2. You can add the Entries of your windows start menu with the lnk2desktop
tool. See the readme.txt in the package lnk2dektop-x.y.z.tar.bz2 for more
information.
3. How to install a KDE language package:
1. download the related language package from
ftp://ftp.kde.org/pub/kde/stable/3.4.1/SuSE/noarch
2. install cygwin rpm package
3. create a symbolic link from /opt/kde3.4 to /opt/kde3 if not
already existent:
ln -s kde3.4 /opt/kde3
4. install the downloaded language package
rpm -ivh kde3-i18n-xx-x.y.z-p.noarch.tar.bz2--ignoreos
5. setup new language with kpersonalizer
in case of problems see http://kde-cygwin.sf.net/kde3 and/or contact
kde-cygwin at kde.org
*From:* Douglas Allen [mailto:kb9agt at gmail.com]
*Sent:* Thursday, March 29, 2007 3:36 AM
HEY Thar;
There was a set of directions on the snapshots site but it's gone now. But I
did follow those directions and got KDE to work. The term is "rebase". I
guess one could look for this in the man files. It takes the required DLLs
and puts them in the right directories to let KDE exe's to find them. That's
all I know.
I should have saved that page, drat!
On 3/27/07, *Joseph Thomas-Kerr* <jokester01au at gmail.com> wrote:
Hi,
I have also been battling trying to get kde to start within cygwin.
I finally have made some progress. It seems that environment variables set
within your cygwin shell (eg in .bashrc) don't propagate to the new shell
that is running startkde. As a result you have to edit the Windows
environment variables by right-clicking on "My Computer" and "Advanced".
After I added all of the environment variables mentioned in
http://kde-cygwin.sourceforge.net/kde3/faq.php#debug_kde3, things started
to work.
To start X I just run "startx &".
Then, to start KDE I run "startkde"
I haven't as yet got to a working KDE desktop - several of the kdeinit
instances hang.
But it's progress. I'm going to try to run individual applications, once I
can find a distribution of cygipc, which so far is elusive.
Regards,
Joe.
> From: Schricker, Bradley
> Sent: Friday, August 18, 2006 10:12 AM
> To: 'kde-cygwin at ...'
> Subject: Problems getting KDE to start...
>
> Greetings,
>
> I am encountering problems getting KDE to start with Cygwin. I hope that
> you
> might be able to help me. Currently, I have Cygwin launching using the
> startxwin.bat
> file. Within this file, I use the simple scripts:
>
> run XWin
>
> run wmaker
>
> I have opened a bash shell prompt and followed the installation
> instructions,
> but they just do not work for me. Thus, I guess I have a series of
> questions:
>
> 1.) Obviously, I startup XWin in single window mode. Is this
> incompatible with
> KDE?
>
> 2.) I have run the instructions in each of the script files that you
> list in
> your installation instructions (not at the same time, of course --
> different
> tries) one line at a time (taking into account that I am using single
> window
> mode) from the command prompt. The first script does not seem to
> accomplish
> anything. The second one turns the wallpaper within my running Cygwin
> instance
> black, but has no other discernible effects. Is there something obvious
> that I
> am doing wrong here?
>
> 3.) Is there a way to start KDE directly from a windows batch file, like
> I start
> Cygwin now?
>
> Any help is greatly appreciated!
>
> Kindest Regards,
>
> Bradley C. Schricker
_______________________________________________
kde-cygwin mailing list
kde-cygwin at kde.org
https://mail.kde.org/mailman/listinfo/kde-cygwin
On 7/4/07, Douglas Allen <kb9agt at gmail.com> wrote:
>
>
>
> On 6/23/07, Karim Yousfi <yousfi.karim at gmail.com> wrote:
>
> > Good evening,
> >
> > I'm sending you this mail from paris and I've a bigproblem to install
> > KDE under Cygwin.
> >
> > I already spent all my afternoon to try to fixthe pb unfortunately
> > without any result.
> >
> > Please somebody could help me or I'm going to be crazy. It seems that
> > oneof the problems is
> > the absence of the xwinclip command.
> >
> > This is the error message:
> >
> > $ cygserver: Initialization complete. Waiting for requests.
> > Welcome to the XWin X Server
> > Vendor: The Cygwin/X Project
> > Release: 6.8.99.901-4
> >
> > Contact: cygwin-xfree at cygwin.com
> >
> > XWin was started with the following command line:
> >
> > xwin -fullscreen -noreset
> >
> > /d/home/startkde: line 6: xwinclip: command not found
> > _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> > _XSERVTransMakeAllCOTSServerListeners: server already running
> >
> > Fatal server error:
> > Cannot establish any listening sockets - Make sure an X server isn't
> > already run
> > ning
> > access control disabled, clients can connect from any host
> > xset: bad font path element (#62), possible causes are:
> > Directory does not exist or has wrong permissions
> > Directory missing fonts.dir
> > Incorrect font server address or syntax
> > startkde: Starting up...
> > startkde: Running kpersonalizer...
> > DCOP: register 'anonymous-3088' -> number of clients is now 1
> > DCOP: unregister 'anonymous-3088'
> > DCOP: register 'kpersonalizer-3284' -> number of clients is now
> > 1QFont::setPoint
> > Size: Point size <= 0 (-3)
> >
> > WARNING: Problem deleting stale lockfile
> > /opt/kde3.4/home/share/config/kpersonal
> > izerrc.lock
> > WARNING: Problem deleting stale lockfile
> > /opt/kde3.4/home/share/config/kpersonal
> > izerrc.lock
> > WARNING: Problem deleting stale lockfile
> > /opt/kde3.4/home/share/config/kpersonal
> > izerrc.lock
> > WARNING: Problem deleting stale lockfile
> > /opt/kde3.4/home/share/config/kpersonal
> >
> > Thanks a lot for your help
> >
> > --
> > Karim YOUSFI
> >
> > _______________________________________________
> > kde-cygwin mailing list
> > kde-cygwin at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-cygwin
> >
> >
> I installed KDE according to
>
>
>
> http://webdev.cegit.de/snapshots/kde-cygwin/kde/kde3.4/
>
>
>
> and installation went smootly. However, KDE did not start up - kdeinit
> hung without further information. After quite a while I figured out that the
> problem was the missing *cygart_lgpl-2.dll* coming with *libart_lgpl2*.
> Maybe this information could be updated as the above installation procedure
> does advise to install *libart_lgpl. *That'll be very helpful.
>
>
>
> Regards,
>
>
> Steffen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-cygwin/attachments/20070704/712d1705/attachment-0001.html
More information about the kde-cygwin
mailing list