On Sun, 2003-04-06 at 06:10, Doug Gorley wrote:
> Hello list,
> 
> I'm creating an ebuild for GRASS GIS, and I'm having sandbox problems
> that my inexperience is preventing me from fixing.  GRASS wants to
> create a directory called grass5, and the directory creation is what's
> causing the errors.
> 
> Currently, the part of my ebuild that sets the install dir looks like
> this:
> 
>   ${S}/configure \
>     --prefix=/opt \
>     --bindir=/usr/bin \
>     --mandir=/usr/share/man \
>     ${myconf} || die "./configure failed"
> 
> The error I'm getting is as follows:
>     
> ----------------- ACCESS VIOLATION SUMMARY-----------------
> LOG FILE = "/tmp/sandbox-grass-5.0.1-31564.log"
> 
> mkdir:     /opt/grass5
> -----------------------------------------------------------
> 
> How can I fix this?
> 

That seems fine, but the problem is probably rather install
time.  You need to figure out how to set DEST or whatever.

Try:

--------------------------
src_install() {
        einstall
}
--------------------------

If that do not work, try:

--------------------------
src_install() {
        make DESTDIR=${D} install || die
}
--------------------------

If that fails, you need to look at the Makefile and figure
out why ....


Regards,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to