You are not logged in.

#1 2006-01-22 22:33:47

wt
Member
From: Poland
Registered: 2006-01-17
Posts: 14

Unable to access /opt/ after building and installing a pkg

Hi
I builded and installed OpenOffice package (polish version) with this PKGBUILD file:

pkgname=openoffice2-uxpl
pkgver=2.0.1
_uxver=2.0.1-1
pkgrel=1
pkgdesc="Polish version of OpenOffice.org prepared and improved by ux.pl"
url="http://www.ux.pl"
depends=('x-server' 'libart-lgpl' 'j2re')
makedepends=('gzip' 'cpio' 'rpmunpack')
source=(ftp://sunsite.icm.edu.pl/packages/OpenOffice/ux/OOo-${_uxver}-rpm-linux-ux.pl.tar.bz2)
md5sums=('35a16e6f63d7fb33cf01d829b7376e3e')

build() {

    cd $startdir/src/RPMS

    for rpmfile in *.rpm
    do
        rpmunpack $rpmfile
        rm -f $rpmfile
    done

    for gzfile in *.gz
    do
        gzip -d $gzfile
    done

    for cpiofile in *.cpio
    do
        cpio -id < $cpiofile
        rm $cpiofile
    done

    mv opt $startdir/pkg

} 

the software has installed, but i don't have access to it since /opt/ is now blocked for user account. KDE doesn't start either... what is the problem?  :cry:

Offline

#2 2006-01-23 00:03:49

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Unable to access /opt/ after building and installing a pkg

Probably the permissions of /opt were messed up. As root:
# chmod 755  /opt
should fix it.

Adding:
chmod 755  $startdir/pkg/opt
at the end of PKGBUILD will probably fix it.

Offline

#3 2006-01-23 13:15:33

wt
Member
From: Poland
Registered: 2006-01-17
Posts: 14

Re: Unable to access /opt/ after building and installing a pkg

that was it, thank you very much

Offline

Board footer

Powered by FluxBB