Menu

#15 Problems installing in non-default areas

open
None
5
2002-08-15
2000-09-14
Anonymous
No

I tried to install theackage in $HOME/local and had problems.

1. I changed the line
ac_default_prefix=/usr/local
to
ac_default_prefix=/home/raj/local

and did a ./configure

When I then tried doing make install it choked because
it tried to install the file "aliases" in /etc

/usr/bin/install -c -m 644 aliases /etc/sgml/aliases.new; \
echo "** Installed distributed aliases as /etc/sgml/aliases.new"; \
else \
/usr/bin/install -c -m 644 aliases /etc/sgml; \
fi;
/usr/bin/install: cannot create regular file `/etc/sgml': Permission denied
make: *** [install] Error 1

Discussion

  • Cees de Groot

    Cees de Groot - 2000-10-26

    /etc/ is hardcoded, although I'm not sure whether that is still necessary. You may want to try to edit the definition of 'etcdir' in the makefile and see what happens.

    (btw: you really should use ./configure --prefix instead of hacking configure's data files)

     
  • David Nedrow

    David Nedrow - 2002-08-15
    • assigned_to: nobody --> dnedrow
     
  • Mark A. Flacy

    Mark A. Flacy - 2002-11-02

    Logged In: YES
    user_id=459222

    Why not:

    ./configure --prefix=/home/raj/local
    --with-etcsgml=/home/raj/local/etc/sgml

     

Log in to post a comment.

MongoDB Logo MongoDB