Quote:
Originally posted by jlliagre
Most of Solaris packages can't be installed in a non root user owned directory, moreover, the pkgadd command is restricted to root.
Your best options are either to build perl from the source code, specifying an install directory of yours, or to forget about perl and use a real programming language ...
|
Thanks. I tried to build Perl from the sourcecode and I get some errors. I think I am probably not setting the path correctly. Some of the errors I get are as follows.
NDBM_File.xs:4: ndbm.h: Permission denied
NDBM_File.xs:7: parse error before `DBM'
NDBM_File.xs:7: warning: no semicolon at end of struct or union
NDBM_File.xs:13: parse error before `}'
NDBM_File.xs:13: warning: data definition has no type or storage class
NDBM_File.xs:15: parse error before `*'
NDBM_File.xs:15: warning: data definition has no type or storage class
NDBM_File.xs:16: parse error before `datum_key'
NDBM_File.xs:16: warning: data definition has no type or storage class
NDBM_File.xs:17: parse error before `datum_value'
NDBM_File.xs:17: warning: data definition has no type or storage class
NDBM_File.c: In function `XS_NDBM_File_TIEHASH':
NDBM_File.c:40: `NDBM_File' undeclared (first use in this function)
NDBM_File.c:40: (Each undeclared identifier is reported only once
NDBM_File.c:40: for each function it appears in.)
NDBM_File.c:40: parse error before `RETVAL'
NDBM_File.xs:29: `DBM' undeclared (first use in this function)
NDBM_File.xs:29: `dbp' undeclared (first use in this function)
NDBM_File.xs:31: `RETVAL' undeclared (first use in this function)
NDBM_File.xs:33: parse error before `Perl_safesysmalloc'
NDBM_File.c: In function `XS_NDBM_File_DESTROY':
NDBM_File.c:67: `NDBM_File' undeclared (first use in this function)
NDBM_File.c:67: parse error before `db'
NDBM_File.c:71: `db' undeclared (first use in this function)
NDBM_File.c: In function `XS_NDBM_File_FETCH':
NDBM_File.c:91: `NDBM_File' undeclared (first use in this function)
NDBM_File.c:91: parse error before `db'
-----------------------------------------------------------------------------------
I see that most of the errors have to do NDBM_File. Could someone please help?
Thanks in advance.