Problem with compiling courier

Discussion in 'Installation/Configuration' started by sojic, May 28, 2010.

  1. sojic

    sojic New Member

    I following http://www.howtoforge.com/perfect-server-centos-5.2-ispconfig-3-p4

    Here is the "last normal" (successfull) command:
    Code:
    sudo rpm -ivh courier-authlib-0.62.1-1.x86_64.rpm courier-authlib-mysql-0.62.1-1.x86_64.rpm courier-authlib-devel-0.62.1-1.x86_64.rpm
    
    Next is
    Code:
    cd /tmp/
    rpmbuild -ta courier-imap-4.4.1.tar.bz2
    
    and get error
    Code:
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/courier-imap-4.4.1-1-buildroot
    Wrote: /home/compileuser/rpm/SRPMS/courier-imap-4.4.1-1.src.rpm
    error: Could not open /home/compileuser/rpm/RPMS/x86_64/courier-imap-4.4.1-1.x86_64.rpm: Permission denied
    
    
    RPM build errors:
        Could not open /home/compileuser/rpm/RPMS/x86_64/courier-imap-4.4.1-1.x86_64.rpm: Permission denied
    
    
     
  2. mike_p

    mike_p New Member

    whats the output of :
    ls -l /tmp
    (so we can see what files + ownerships + permissions)

    what's the output of :
    ls -l /home/compileuser/rpm/
    when running "mkdir $HOME/rpm" etc which user were you logged in as?

    I would also recommend using courier-imap-4.6.0.tar.bz2
     
    Last edited: May 28, 2010
  3. sojic

    sojic New Member

    Code:
    [root@ve ~]# ls -l /tmp
    total 12480
    -rw-rw-r-- 1 compileuser compileuser 7133214 Mar 16 16:54 courier-0.64.2.tar.bz2
    -rw-rw-r-- 1 compileuser compileuser 2232590 Dec 25  2008 courier-authlib-0.62.1.tar.bz2
    -rw-rw-r-- 1 compileuser compileuser 3383036 Jul 16  2008 courier-imap-4.4.1.tar.bz2
    drwx------ 2 root        root           4096 May 27 05:35 mc-root
    [root@ve ~]#
    
    Code:
    [root@ve ~]# ls -l /home/compileuser/rpm/
    total 20
    drwxrwxr-x 4 compileuser compileuser 4096 May 27 15:00 BUILD
    drwxrwxr-x 4 compileuser compileuser 4096 May 27 14:49 RPMS
    drwxrwxr-x 2 compileuser compileuser 4096 May 27 14:19 SOURCES
    drwxrwxr-x 2 compileuser compileuser 4096 May 27 15:00 SPECS
    drwxrwxr-x 2 compileuser compileuser 4096 May 27 15:03 SRPMS
    [root@ve ~]#
    
    How to "reset" (or continue) this step?
     
  4. sojic

    sojic New Member

    Solved... I have another version of Centos.
     

Share This Page