--prefix does not work (ejabberd 1.0.0 and older)

Error

Installation of ejabberd in a manually specified directory is not possible.

Explanation

There is a bug in the file Makefile.in that breaks the --prefix command.

Solutions

There are two solutions:

  1. Edit Makefile.in

    1. Open with a text editor the file Makefile.in and change the line

      DESTDIR =

      into

      DESTDIR = @prefix@
    2. Run the configure script again with the prefered prefix.

  2. Upgrade to a Newer ejabberd Version

    As this bug is fixed since version 1.1.0, you also can upgrade to ejabberd 1.1.1 or higher.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hello, This has been fixed

Hello,

This has been fixed in the current Subversion repository. The modification has been made differently to support the packaging scripts (Debian, RPM) and retain the previous default behaviour (default target is not /usr/local but /)

See:
https://support.process-one.net/browse/EJAB-43

--
Mickaël Rémond
http://www.process-one.net/

Syndicate content