POV-Ray : Newsgroups : povray.unix : Cannot install for KDE Server Time
23 Dec 2024 11:21:35 EST (-0500)
  Cannot install for KDE (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Cousin Ricky
Subject: Cannot install for KDE
Date: 18 Jan 2012 17:20:01
Message: <web.4f174558e986070385de7b680@news.povray.org>
I have just installed POV-Ray 3.6 for Linux.  When I try to do the KDE
integration, I get the message:
______________________________________________________

POV-Ray 3.6 installation
==========================

------------------------------------------------------
installing KDE integration for user 'ricky'...
could not determine user KDEHOME directory.
make sure KDE is correctly installed
______________________________________________________

As far as I can tell, KDE is working fine.  The POV-Ray test run ran fine,
although the output window was strangely transparent.

OS: openSUSE Linux 12.1
Hardware: HP Pavilion dv5030us Notebook PC (32 bits, as far as I'm aware)


Post a reply to this message

From: Jim Henderson
Subject: Re: Cannot install for KDE
Date: 18 Jan 2012 17:34:15
Message: <4f1748e7@news.povray.org>
On Wed, 18 Jan 2012 17:19:04 -0500, Cousin Ricky wrote:

> I have just installed POV-Ray 3.6 for Linux.  When I try to do the KDE
> integration, I get the message:
> ______________________________________________________
> 
> POV-Ray 3.6 installation ==========================
> 
> ------------------------------------------------------
> installing KDE integration for user 'ricky'...
> could not determine user KDEHOME directory.
> make sure KDE is correctly installed
> ______________________________________________________
> 
> As far as I can tell, KDE is working fine.  The POV-Ray test run ran
> fine,
> although the output window was strangely transparent.
> 
> OS: openSUSE Linux 12.1 Hardware: HP Pavilion dv5030us Notebook PC (32
> bits, as far as I'm aware)

In a terminal window, what do you get if you execute:

echo $KDEHOME

?

Just a guess, but it looks like POVRay may be trying to use that to 
determine the user's home directory.  (Not a KDE user myself so I don't 
know that that's what KDEHOME is supposed to be, but it seems a 
reasonable guess).

Jim


Post a reply to this message

From: Cousin Ricky
Subject: Re: Cannot install for KDE
Date: 18 Jan 2012 19:00:00
Message: <web.4f175c1648da0d5b85de7b680@news.povray.org>
Jim Henderson <nos### [at] nospamcom> wrote:
> In a terminal window, what do you get if you execute:
>
> echo $KDEHOME
>
> ?
>
> Just a guess, but it looks like POVRay may be trying to use that to
> determine the user's home directory.  (Not a KDE user myself so I don't
> know that that's what KDEHOME is supposed to be, but it seems a
> reasonable guess).
>
> Jim

It's blank.  I did find a directory .kde4 in my home directory, and I wonder if
it's supposed to be set to that.

As far as learning the innards of KDE, I'm not sure where to start.  There's so
much documentation and so little direction.


Post a reply to this message

From: Jim Henderson
Subject: Re: Cannot install for KDE
Date: 18 Jan 2012 19:21:31
Message: <4f17620b$1@news.povray.org>
On Wed, 18 Jan 2012 18:56:06 -0500, Cousin Ricky wrote:

> It's blank.  I did find a directory .kde4 in my home directory, and I
> wonder if it's supposed to be set to that.

I'm not sure, but a quick google search found a result that showed KDEHOME 
pointed to a .kde2 directory in someone's home directory - I'd try 
pointing it at that .kde4 directory and see if that works.  Seems a 
reasonable thing to try.

Jim


Post a reply to this message

From: Cousin Ricky
Subject: Re: Cannot install for KDE
Date: 18 Jan 2012 20:40:00
Message: <web.4f17738f48da0d5b85de7b680@news.povray.org>
Jim Henderson <nos### [at] nospamcom> wrote:
> On Wed, 18 Jan 2012 18:56:06 -0500, Cousin Ricky wrote:
>
> > It's blank.  I did find a directory .kde4 in my home directory, and I
> > wonder if it's supposed to be set to that.
>
> I'm not sure, but a quick google search found a result that showed KDEHOME
> pointed to a .kde2 directory in someone's home directory - I'd try
> pointing it at that .kde4 directory and see if that works.  Seems a
> reasonable thing to try.

That didn't work.  I edited the install file to set KDEHOME directly, and it ran
without errors.

Now, I'll need someone to tell me what I should be seeing differently.


Post a reply to this message

From: Jim Henderson
Subject: Re: Cannot install for KDE
Date: 19 Jan 2012 00:05:41
Message: <4f17a4a5$1@news.povray.org>
On Wed, 18 Jan 2012 20:36:15 -0500, Cousin Ricky wrote:

> Jim Henderson <nos### [at] nospamcom> wrote:
>> On Wed, 18 Jan 2012 18:56:06 -0500, Cousin Ricky wrote:
>>
>> > It's blank.  I did find a directory .kde4 in my home directory, and I
>> > wonder if it's supposed to be set to that.
>>
>> I'm not sure, but a quick google search found a result that showed
>> KDEHOME pointed to a .kde2 directory in someone's home directory - I'd
>> try pointing it at that .kde4 directory and see if that works.  Seems a
>> reasonable thing to try.
> 
> That didn't work.  I edited the install file to set KDEHOME directly,
> and it ran without errors.

In Linux, remember that just setting the variable in a terminal doesn't 
get the setting to propagate to the parent environment.  You need to put 
it in eg. the .bashrc file and then log out and back in - or set it in a 
shell window, export it (if you're using bash), and then run the command 
in the window.

Environment variables in Linux (and Unix, for that matter) can be a bit 
tricky.  But if you don't do that, then when you run the program it isn't 
going to see the variable and it'll behave as if it isn't set (because it 
isn't in that particular terminal/shell).

But modifying the install file works. :)  I worked with a guy who said 
when he was in the Army, his CO frequently said "if it's stupid but it 
works, it ain't stupid." - while I don't think that's *always* the case, 
it's certainly true a lot of the time. :)

Jim


Post a reply to this message

From: Ger
Subject: Re: Cannot install for KDE
Date: 19 Jan 2012 00:57:23
Message: <4f17b0c3@news.povray.org>
wrote:

> Jim Henderson <nos### [at] nospamcom> wrote:
>> On Wed, 18 Jan 2012 18:56:06 -0500, Cousin Ricky wrote:
>>
>> > It's blank.  I did find a directory .kde4 in my home directory, and I
>> > wonder if it's supposed to be set to that.
>>
>> I'm not sure, but a quick google search found a result that showed
>> KDEHOME pointed to a .kde2 directory in someone's home directory - I'd
>> try
>> pointing it at that .kde4 directory and see if that works.  Seems a
>> reasonable thing to try.
> 
> That didn't work.  I edited the install file to set KDEHOME directly, and
> it ran without errors.
> 
> Now, I'll need someone to tell me what I should be seeing differently.

Hi,

I have been using Povray under KDE/Linux since many years and never had any 
problems with it. Since you're using opensuse you should preferably let 
zypper do the install for you. That way you'll get all files where they need 
to be. It will also give you a .conf file under /etc/povray which is root-
only. As root you can edit that file to set/reset read/write options.

KDEHOME, as far as I know, is a relicq of "olden days". Povray can use a 
folder with conf file under the user home folder 
/home/<user>/.povray/3.6/povray.conf, but honestly, I have never seen the 
use for it.

You also mentioned a transparent render window when povray is running. That 
is a direct effect of the Povray display code being ancient compared to the 
KDE display code. A simple workaround is to start a render with the -D 
option, no display, and then open the image being rendered with gwenview. 
Gwenview is a standard in KDE and can handle images that are incomplete.

HTH
-- 
Ger


Post a reply to this message

From: Ger
Subject: Re: Cannot install for KDE
Date: 19 Jan 2012 01:08:21
Message: <4f17b355$1@news.povray.org>
wrote:

> I have just installed POV-Ray 3.6 for Linux.  When I try to do the KDE
> integration, I get the message:
> ______________________________________________________
> 
> POV-Ray 3.6 installation
> ==========================
> 
> ------------------------------------------------------
> installing KDE integration for user 'ricky'...
> could not determine user KDEHOME directory.
> make sure KDE is correctly installed
> ______________________________________________________
> 
> As far as I can tell, KDE is working fine.  The POV-Ray test run ran fine,
> although the output window was strangely transparent.
> 
Question, How did you install povray? and logged in as who?


> OS: openSUSE Linux 12.1
> Hardware: HP Pavilion dv5030us Notebook PC (32 bits, as far as I'm aware)

On opensuse 10.x and up (I have been using it since 7.2 or .3) you can let 
zypper do the job for you. 

Oh and as a side note, Povray for Linux doesn't know or use any graphics 
desktops. It just blurts out some graphics info in the general direction of 
the screen and hopes it works out. My main render machine runs text-only.

If you have any more questions, just holler.
-- 
Ger


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Cannot install for KDE
Date: 19 Jan 2012 03:14:21
Message: <4f17d0dd$1@news.povray.org>
On 19/01/12 06:57, Ger wrote:
> You also mentioned a transparent render window when povray is running. That
> is a direct effect of the Povray display code being ancient compared to the
> KDE display code. A simple workaround is to start a render with the -D
> option, no display, and then open the image being rendered with gwenview.
> Gwenview is a standard in KDE and can handle images that are incomplete.

   IIRC, the solution for that was to use the "-visual DirectColor" switch.

--
Jaime


Post a reply to this message

From: Ger
Subject: Re: Cannot install for KDE
Date: 19 Jan 2012 03:35:35
Message: <4f17d5d7@news.povray.org>
Jaime Vives Piqueres wrote:

> On 19/01/12 06:57, Ger wrote:
>> You also mentioned a transparent render window when povray is running.
>> That is a direct effect of the Povray display code being ancient compared
>> to the KDE display code. A simple workaround is to start a render with
>> the -D option, no display, and then open the image being rendered with
>> gwenview. Gwenview is a standard in KDE and can handle images that are
>> incomplete.
> 
>    IIRC, the solution for that was to use the "-visual DirectColor"
>    switch.
> 
Could be. I haven't heard of it and obviously never used it.

-- 
Ger


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.