POV-Ray : Newsgroups : povray.unix : Povray Linux installation in Mandrake 9 Server Time
29 Oct 2024 22:49:04 EDT (-0400)
  Povray Linux installation in Mandrake 9 (Message 1 to 8 of 8)  
From: Loop
Subject: Povray Linux installation in Mandrake 9
Date: 22 May 2003 18:25:04
Message: <web.3ecd4dc5b832491b1279d2580@news.povray.org>
Hey,

I'm having a real hard time trying to install Povray 3.5 in Mandrake 9.
I've unzipped the files but i can only run the program through the konsole.
 When i try to run other .pov files i keep gettin this error message.

    INI File Error: reading from povray.ini is not permitted

I've checked the configuration of povray.conf and ticked the read & write
boxes.
I don't know why it won't run??

Can anyone help??

CHeers


Post a reply to this message

From: Christopher James Huff
Subject: Re: Povray Linux installation in Mandrake 9
Date: 22 May 2003 21:50:00
Message: <cjameshuff-A99D20.20505922052003@netplex.aussie.org>
In article <web.3ecd4dc5b832491b1279d2580@news.povray.org>,
 "Loop" <llo### [at] hotmailcom> wrote:

> I'm having a real hard time trying to install Povray 3.5 in Mandrake 9.
> I've unzipped the files but i can only run the program through the konsole.

Do you mean only Konsole works? I don't know how it could work on 
Konsole but not with another terminal program, but that wouldn't be a 
POV problem.


>  When i try to run other .pov files i keep gettin this error message.

What do you mean "other .pov files"?
You seem to imply that it does work sometimes, but you are very unclear 
about when it works and when it doesn't.


>     INI File Error: reading from povray.ini is not permitted
> 
> I've checked the configuration of povray.conf and ticked the read & write
> boxes.
> I don't know why it won't run??

This looks like the permissions on the povray.ini file don't allow you 
to read it. If so, adjust them to give yourself read permissions.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Loop
Subject: Re: Povray Linux installation in Mandrake 9
Date: 22 May 2003 22:45:06
Message: <web.3ecd8adaf8f27bba1279d2580@news.povray.org>
Hi thanks for the reply

I'm a complete novice at Linux so im sorry if i sound vague.  I don't seem
to be able to run Povray when i click on the icon, but when i try to open
the file in Konsole it does something but ends up with the error message I
said earlier.  When i try to open another file by typing [povray
whatever.pov] the same problem occurs.  I've gone through the readme files
and to the best of knowledge have done what they've said.  The problem
seems to be the .ini file.  Sorry about the vagueness but this is the first
thing i've tried to install on the machine.
Hope this makes a it little clearer.

Cheers.


Post a reply to this message

From: Steve
Subject: Re: Povray Linux installation in Mandrake 9
Date: 23 May 2003 06:10:46
Message: <slrnbcrsru.jia.steve@zeropps.org.uk>
On Thu, 22 May 2003 22:43:38 EDT, Loop wrote:
> 
> Hi thanks for the reply
> 
> I'm a complete novice at Linux so im sorry if i sound vague.  I don't seem
> to be able to run Povray when i click on the icon, but when i try to open
> the file in Konsole it does something but ends up with the error message I
> said earlier.  When i try to open another file by typing [povray
> whatever.pov] the same problem occurs.  I've gone through the readme files
> and to the best of knowledge have done what they've said.  The problem
> seems to be the .ini file.  Sorry about the vagueness but this is the first
> thing i've tried to install on the machine.
> Hope this makes a it little clearer.

Are you running pov from a directory where you have write access?

Create a pov file in your home directory and call it steve.pov
and insert the following text

#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve

then save the file in your home directory and then in an xterm or console
or whatever do:

povray steve.pov

Now if you're still getting that error message then there's something wrong
somewhere. 

my .povryrc file contains:

Library_Path=/usr/local/lib/povray-3.5/include
;;Library_Path=/home/sjlen/pov
;;Library_Path=/home/sjlen/povincludes

;; Image size.
Width=800                       ;; (+Wn)
Height=600                      ;; (+Hn)


;; Partial trace of the image.
;; Values range from top left to bottom right.
;; Can use either 0.0 to 1.0 as fraction of height/width, or
;; whole numbers as rows and columns.
;Start_Row=0.1                  ;; (+SR0.n / +SRn)
;End_Row=0.2                    ;; (+ER0.n / +ERn)
;Start_Column=45                ;; (+SC0.n / +SCn)
;End_Column=90                  ;; (+EC0.n / +ECn)


;; Test for trace abort.  Use 'q' or 'Q' to abort if enabled.  Not
;; really needed on Unix as you can always use the Interrupt signal.
Test_Abort=true                 ;; (+/-X)
Test_Abort_Count=100            ;; (+Xn)


;; Output quality. (Ray tracer actions).
;;     0-1    Quick colours.  Full ambient lighting only.
;;     2-3    Quick colours.  Diffuse and ambient lighting only.
;;     4      Quick colours.  Render shadows.  No extended lights.
;;     5      Quick colours.  Render shadows including extended lights.
;;     6-7    Texture patterns.
;;     8      Reflected, refracted and transmitted rays.
;;     9      Compute media.
;;     10     Compute radiosity but no media.
;;     11     Compute radiosity and media.
Quality=9                       ;; (+Qn)


;; Anti-aliasing controls.
Antialias=false                 ;; (+/-An)
;Sampling_Method=0.01


;; Display the image while tracing controls.
Display=true                    ;; (+/-D)
Pause_When_Done=false           ;; (+/-P)


;; Internal animation loop control.
;; The 'clock' definition within the source changes from 0 to 1 for each
;; frame of the animation.  If cyclic animation is enabled it steps from
;; 0 to a fraction below 1 (actually 1 - 1/Final_Frame).
;;Initial_Frame=1               ;; (+KFIn)
;;Final_Frame=24                        ;; (+KFFn)
;;Cyclic_Animation=true         ;; (+/-KC)


;; File output type control.
;;     T    Uncompressed Targa-24
;;     C    Compressed Targa-24
;;     P    UNIX PPM
;;     N    PNG (8-bits per colour RGB)
;;     Nc   PNG (``c'' bit per colour RGB where 5 <= c <= 16)
Output_to_File=true
Output_File_Type=P              ;; (+/-Ftype)


;; Define the Gamma output responce of the monitor.
;; This is about correct for most Unix an PC monitors.
Display_Gamma=2.2               ;; (Not available as command line switch)

;;;;;;;;; End of .povrayrc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

This .povrayrc file is the Linux equivelant to the POVRAY.INI in windows as 
far as I can remember, and the file is kept in my home directory.  All .files
are hidden files so to see them in a console or xterm you need to use the -a
switch with ls, so to see all the files in your come directory do:

ls -a ~/ 

The "-a" means show all files, "ls" means "list files" and "~/" means home 
directory.  You can get to your home directory form anywhere on the system by
doing:

cd

That  by itsself  brings you  to the  home directory  of the  user who
you're logged in as.

I hope some of that helps. 

-- 
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

From: Christopher James Huff
Subject: Re: Povray Linux installation in Mandrake 9
Date: 23 May 2003 20:58:36
Message: <cjameshuff-E5ED5A.19593923052003@netplex.aussie.org>
In article <web.3ecd8adaf8f27bba1279d2580@news.povray.org>,
 "Loop" <llo### [at] hotmailcom> wrote:

> I'm a complete novice at Linux so im sorry if i sound vague.  I don't seem
> to be able to run Povray when i click on the icon

Click on what icon? Maybe you're expecting a graphical interface like 
the Windows and Mac versions have...the Unix version does not have this, 
it only has an X11 preview.


> When i try to open another file by typing [povray
> whatever.pov] the same problem occurs.  I've gone through the readme files
> and to the best of knowledge have done what they've said.  The problem
> seems to be the .ini file.  Sorry about the vagueness but this is the first
> thing i've tried to install on the machine.
> Hope this makes a it little clearer.

How exactly did you install it?

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Loop
Subject: Re: Povray Linux installation in Mandrake 9
Date: 25 May 2003 12:50:01
Message: <web.3ed0f421f8f27bba1279d2580@news.povray.org>
Dear Chris,

All i have done is unzipped the folder which contained Povray, I then
attempted to click on the Povray icon but nothing happended so I tried the
Install icon.  With neither opening anything i then went into the Konsole
(the command prompt i think) and opended the Povray-3.5 folder.  When i
type Povray this seems to run a program, but after displaying a far amount
of text (which is similar to the post from Steve) it ends with the error
message that i wrote in my first post.  I've checked the .ini file and the
configuration seems fine, I've done the things Steve suggested and still
nothing seems to happen.  I;ve had someone who knows about Linux and Povray
to have a look at it and they're mystified by the error.  I was just
wondering if anyone else out there has encountered the same problem.

Cheers for your time and comments.


Post a reply to this message

From: Andreas Kreisig
Subject: Re: Povray Linux installation in Mandrake 9
Date: 25 May 2003 16:46:49
Message: <3ed12bb9@news.povray.org>
Loop wrote:

> 
> 
> 
> Dear Chris,
> 
> All i have done is unzipped the folder which contained Povray, I then
> attempted to click on the Povray icon but nothing happended so I tried the
> Install icon.

You unzipped the folder and try to click on the POV-Ray icon? How about 
that: open an xterm, change the active directory to the directory where 
your POV files resides, become root (type "su" and enter the root password) 
and to install this stuff, just type "./install". Don't try to install POV 
by clicking on an icon in KDE or whatever you use. This should be work.

Regards,
Andreas 

-- 
http://www.render-zone.com


Post a reply to this message

From: Bill Hails
Subject: Re: Povray Linux installation in Mandrake 9
Date: 5 Jun 2003 16:41:38
Message: <3edfab02@news.povray.org>
Andreas Kreisig wrote:

> Loop wrote:
> 
>> 
>> 
>> 
>> Dear Chris,
>> 
>> All i have done is unzipped the folder which contained Povray, I then
>> attempted to click on the Povray icon but nothing happended so I tried
>> the Install icon.
> 
> You unzipped the folder and try to click on the POV-Ray icon? How about
> that: open an xterm, change the active directory to the directory where
> your POV files resides, become root (type "su" and enter the root
> password) and to install this stuff, just type "./install". Don't try to
> install POV by clicking on an icon in KDE or whatever you use. This should
> be work.
> 
> Regards,
> Andreas
> 

If as Loop says it's the first thing he's tried to install, he may hit the
same problem I did when I installed povray with the install script, that
is that the install script assumes /usr/local/etc already exists.

so as a prelude to your instructions he should, after becoming root but 
before running ./install do:

        test -f /usr/local/etc && rm /usr/local/etc
        test -d /usr/local/etc || mkdir /usr/local/etc

the first command fixes the problem if ./install has already been run
and created a *file* called /usr/local/etc

-- 
Bill Hails


Post a reply to this message

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