missing lib/pear

Bug #1438760 reported by Andrew Reis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eventum
Won't Fix
Low
Elan Ruusamäe

Bug Description

when installing, receiving error when running 'sudo make install'

install -d /usr/share/eventum/config
touch /usr/share/eventum/config/{config.php,private_key.php,setup.php}
install -d /usr/share/eventum/lib
cp -a lib/eventum /usr/share/eventum/lib
cp -a htdocs /usr/share/eventum
cp -a templates /usr/share/eventum
cp -a upgrade /usr/share/eventum
cp -a bin /usr/share/eventum
cp -a *.php /usr/share/eventum
install -d /var/log/eventum
touch /var/log/eventum/{cli.log,errors.log,irc_bot.log,login_attempts.log}
install -d /usr/bin
install -p cli/eventum.phar /usr/bin/eventum
install -d /usr/sbin
cp -a irc/eventum-irc-bot.php /usr/sbin/eventum-irc-bot
install -d /usr/sbin
install -p scm/eventum-cvs-hook.php /usr/sbin/eventum-cvs-hook
install -p scm/eventum-svn-hook.php /usr/sbin/eventum-svn-hook
install -d /usr/share/eventum/lib
cp -a lib/pear /usr/share/eventum/lib
cp: cannot stat ‘lib/pear’: No such file or directory
make: *** [install-pear] Error 1

Looking in the source, there is no lib/pear folder. Is this expected?

Version 3.0.0-pre1 on Ubuntu 14.04
Apache 2.4.7
PHP 5.5.9
MariaDB 5.5.41

Revision history for this message
Elan Ruusamäe (glen666) wrote :

"make install" is for internal use. it's probably not working well.
we have switched to use composer as dependency solver. the lib/pear and other bundled libraries from vcs will be cleaned up once 3.0.0 is out.

use released tarballs and follow doc/INSTALL instructions

aside, if you want to make tarball yourself, you should do "make dist" in git checkout. you will need to have necessary tools installed (like composer.phar and box.phar)

other than that, you should be able to use eventum straight from git checkout if you do composer install. probably should update doc/INSTALL regarding that (pull requests are welcome :).

Changed in eventum:
assignee: nobody → Elan Ruusamäe (glen666)
importance: Undecided → Low
milestone: none → 3.0
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.