Perhaps you could provide details of your system: distribution, compiler...
and more details about the problems you're having...
--
Rex A. Dieter
Computer System Administrator
Mathematics and Statistics
University of Nebraska Lincoln
http://linux-sxs.org/kde3.htmlQuote:> It struck me that perhaps I am simply wasting time. Did anyone else
> succeed in compiling 3.0.3 and getting it to connect to the X-server? I
> cannot find any instructions anywhere about what to do after installing
>> It struck me that perhaps I am simply wasting time. Did anyone else
>> succeed in compiling 3.0.3 and getting it to connect to the X-server? I
>> cannot find any instructions anywhere about what to do after installing
> http://linux-sxs.org/kde3.html
> http://developer.kde.org/build/index.html
Looking at the first URL, I see the instructions are different, and that
a stack of options are passed to configure. One that may explain my
problem is '--with-x' given for kdebase. My problem seems to be a
failure to connect to X, so I'll try that and see if anything changes.
--
richard
>>On Saturday 21 September 2002 02:02 pm, someone claiming to be richard
>>>It struck me that perhaps I am simply wasting time. Did anyone else
>>>succeed in compiling 3.0.3 and getting it to connect to the X-server? I
>>>cannot find any instructions anywhere about what to do after installing
>>http://linux-sxs.org/kde3.html
>>http://developer.kde.org/build/index.html
> Ok, thanks. I followed the instructions at the second URL with the
> exception that I used checkinstall to do the make as it creates an rpm
> which makes it possible for me to uninstall in the future (for the next
> upgrade). Perhaps that is the source of my problem. I don't truly know
> what checkinstall does, so maybe it alters the outcome.
What distro are you using?Quote:> Looking at the first URL, I see the instructions are different, and that
> a stack of options are passed to configure. One that may explain my
> problem is '--with-x' given for kdebase. My problem seems to be a
> failure to connect to X, so I'll try that and see if anything changes.
HTH,
Tim
[snip]
That is good to know -- at least I can eliminate that as a problem.Quote:>>>>It struck me that perhaps I am simply wasting time. Did anyone else
>>>>succeed in compiling 3.0.3 and getting it to connect to the X-server?
[snip]
>> checkinstall
[snip]
> I used checkinstall to install my KDE3.0.3 and had no problems.
That did not help - I still get "xsetroot: unable to open display ''"Quote:>> [snip] I see the instructions are different, and
>> that a stack of options are passed to configure. One that may explain
>> my problem is '--with-x' given for kdebase. My problem seems to be a
>> failure to connect to X, so I'll try that and see if anything changes.
RH7.3Quote:> What distro are you using?
Hmm, I've put qt.sh and kde.sh scripts into /etc/profile.d/ to set $QTDIRQuote:> Are KDEDIR, KDEDIRS, and KDEHOME getting set properly? I suspect the
> problem is KDEHOME. It's probly ~/.kde or ~/.kde3. You could try mv'ing
> either (or both) to a backup file and try to start kde again.
--
richard
> [snip]
>>>>>It struck me that perhaps I am simply wasting time. Did anyone else
>>>>>succeed in compiling 3.0.3 and getting it to connect to the X-server?
> [snip]
>>>checkinstall
> [snip]
>>I used checkinstall to install my KDE3.0.3 and had no problems.
> That is good to know -- at least I can eliminate that as a problem.
>>>[snip] I see the instructions are different, and
>>>that a stack of options are passed to configure. One that may explain
>>>my problem is '--with-x' given for kdebase. My problem seems to be a
>>>failure to connect to X, so I'll try that and see if anything changes.
> That did not help - I still get "xsetroot: unable to open display ''"
> and "cannot connect to X server" etc.
>>What distro are you using?
> RH7.3
>>Are KDEDIR, KDEDIRS, and KDEHOME getting set properly? I suspect the
>>problem is KDEHOME. It's probly ~/.kde or ~/.kde3. You could try mv'ing
>>either (or both) to a backup file and try to start kde again.
> Hmm, I've put qt.sh and kde.sh scripts into /etc/profile.d/ to set $QTDIR
> and $KDEDIR and to add these to $PATH. Neither $KDEHOME nor $KDEDIRS is
> set. I've not heard of them before. In fact, on the other box upstairs
> running KDE2.2 on RH7.1, none of these are set except $KDEDIR - which is
> set to '/usr' so presumably not used either. No problem starting KDE
> there. I wish I had some idea what I was doing here...
$KDEDIR, $KDEHOME and $PATH are normally set in the kde startup script.
If compiling from source, the startup script is <kde install
dir>/bin/startkde, which in my case is /opt/kde3/bin/startkde, since I
compiled kde3 with --prefix=/opt/kde3. I have /usr/X11R6/bin/kde3 set up
as a symlink to /opt/kde3/bin/startkde.
I'm using Caldera eW3.1 and they still have pieces of KDE1*
around, making the use of $KDEDIRS necessary, I don't doubt that
$KDEDIRS is not needed with RedHat. I do not have anything called qt.sh,
or kde.sh, nor have I heard of them being required. Why do you think you
need them? Is it a RedHat thing?
Try mv'ing your $HOME/.kde directory to $HOME/.kde.old and removing all
the mcop-*, kde-*, and ksocket-* files from /tmp and trying to start kde
again. Determine *exactly* which script starts kde (I don't know how
RedHat starts KDE since I'm not using it) and make sure it's configuring
the environment correctly.
HTH,
Tim
[snip]
Yes, mine is /usr/local/kde/bin/startkde. And yes, it does set $KDEHOMEQuote:>> I still get "xsetroot: unable to open display ''"
>> and "cannot connect to X server" etc.
>>>What distro are you using?
>> RH7.3
[snip]
> If not set, I believe ~/.kde is used. Do you have a .kde directory in
> your $HOME?
> $KDEDIR, $KDEHOME and $PATH are normally set in the kde startup script.
> If compiling from source, the startup script is <kde install
> dir>/bin/startkde, which in my case is /opt/kde3/bin/startkde, since I
> compiled kde3 with --prefix=/opt/kde3. I have /usr/X11R6/bin/kde3 set up
> as a symlink to /opt/kde3/bin/startkde.
It may be. As far as I can see, /etc/profile.d/ has some shell scriptsQuote:> I'm using Caldera eW3.1 and they still have pieces of KDE1*
> around, making the use of $KDEDIRS necessary, I don't doubt that
> $KDEDIRS is not needed with RedHat. I do not have anything called qt.sh,
> or kde.sh, nor have I heard of them being required. Why do you think you
> need them? Is it a RedHat thing?
I did try this, to no avail. I am away for a couple of days so I'll haveQuote:> Try mv'ing your $HOME/.kde directory to $HOME/.kde.old and removing all
> the mcop-*, kde-*, and ksocket-* files from /tmp and trying to start kde
> again. Determine *exactly* which script starts kde (I don't know how
> RedHat starts KDE since I'm not using it) and make sure it's configuring
> the environment correctly.
Thanks in the mean time.
--
richard
<snip>Quote:> That did not help - I still get "xsetroot: unable to open display ''"
> and "cannot connect to X server" etc.
Are you trying while su'd to another user, by chance?
Any clues in .xsession-errors or /var/log/XFree86.0.log?
> It may be. As far as I can see, /etc/profile.d/ has some shell scripts
> that are all run before ~/.bash_profile and ~/.bashrc when you log on.
> Someone told me this is the best place to set environment variables. It
> certainly seems to work efficiently. I simply copied scripts from the
> other machine (running KD2.2), adjusted to give the correct variables.
--
JRT
1. Compiling Abiword: Has anyone successfully compile it on Solaris 9?
2. font server for Solaris x86 host?
3. anyone successfully compiled 'expect' ???
4. SATAN documentation release
5. Anyone compile Satan on 1.2.13 successfully?
6. why ap_send_http_header sets errno to 1?
7. Anyone successfully compile ytalk on Solaris 2.3 machine?
8. Ultra DMA 33
9. MH-6.8 compiled with gcc under Solaris2.1 Anyone done it successfully?
10. Anyone successfully compiled/installed "xvnews" on Linux?
11. Has anyone compiled NCSA HTTPD 1.4 successfully???
12. Has anyone successfully compiled Xarchie 1.2 on AIX 3.2?
13. Anyone successfully compiled MUMAIL 2.3b???