Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
squirrelmail setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
chaotycenygma
n00b
n00b


Joined: 31 Jan 2004
Posts: 16

PostPosted: Sat Mar 27, 2004 8:11 pm    Post subject: squirrelmail setup Reply with quote

i was following the gentoo docs for setting up squirrelmail and ran into a snag. First, postfix then imap was installed. Then, i began the squirrelmail install, but when its time to go to the squirrelmail folder in /var/www/localhost/htdocs/squirrelmail and run
Code:
./configure
it gives me an error that says
Code:
-bash ./configure: Permission denied


Has anyone ever ran into this problem and know how to fix it. Also, im running 2.4.24 kernel on an Ultra 5.
Back to top
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Sat Mar 27, 2004 8:19 pm    Post subject: Reply with quote

what user do you try to run this as and what are the permissions on the file?
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
chaotycenygma
n00b
n00b


Joined: 31 Jan 2004
Posts: 16

PostPosted: Sat Mar 27, 2004 8:31 pm    Post subject: Reply with quote

trying to do it as root. how do i check the permissions?
Back to top
View user's profile Send private message
chaotycenygma
n00b
n00b


Joined: 31 Jan 2004
Posts: 16

PostPosted: Sat Mar 27, 2004 8:35 pm    Post subject: Reply with quote

ok, i got it. i chmodded it to 777 and it worked. thnx
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sat Mar 27, 2004 8:39 pm    Post subject: Reply with quote

The doc says to run ./conf.pl. Is what you posted above a typo or is that what you were actually trying to do?

Between looking at the docs and a squirrelmail install, looks like there are two problems;

    1) the directory to cd to is /var/www/localhost/htdocs/mail/config
    2) the conf.pl script doesn't have the executable bit set


so you can either do the following to fix that;

set the executable bit on the file
Code:
chmod +x conf.pl


or prefix the command with perl
Code:
perl ./conf.pl


Let us know how it goes.
Back to top
View user's profile Send private message
chaotycenygma
n00b
n00b


Joined: 31 Jan 2004
Posts: 16

PostPosted: Sat Mar 27, 2004 8:47 pm    Post subject: Reply with quote

i was following the Gentoo Linux Desktop Configuration Guide. It states to:

Code:
# emerge squirrelmail
# cd /var/www/localhost/htdocs
# cd squirrelmail
# ./configure


i did read the configure script to see where it was leading, but when i tried to run the conf.pl file by itself, it said that i did not have permission. so, like shakti said, i changed the permission and had no problems after that.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sat Mar 27, 2004 8:52 pm    Post subject: Reply with quote

Glad to hear it :)

I've submitted bug #45921 to have the documentation updated.
Back to top
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Sun Mar 28, 2004 6:44 am    Post subject: Reply with quote

it seems the instructions differ between the desktop guide and the virtual mailhosting system guide.

Desktop guide 8.14:
Code:
# emerge squirrelmail
# cd /var/www/localhost/htdocs
# cd squirrelmail
# ./configure


Mailhost Guide:
Code:
# ln -s /var/www/localhost/htdocs/squirrelmail/ /var/www/localhost/htdocs/mail
# cd /var/www/localhost/htdocs/mail/conf
# ./conf.pl

_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum