#Read the output and if everything went ok the folder should have .deb file.
cd ../
dpkg -i email2trac_X.XX.XX-XX_amd64.deb
---
The resulting run_email2trac executable in the debian package was configured with the incorrect defaults:
prefix=/usr/local --- has to be /usr/
exec_prefix=$prefix/bin
sysconfdir=$prefix/etc --- has to be /etc
MTA_USER=nobody --- has to be fetchmail
TRAC_USER=www-data
Of course, on ubuntu these values are different, so I hat to execute
./configure --with-mta_user=fetchmail --with-trac_user=www-data --prefix=/usr --sysconfdir=/etc
buildpackage executes a make clean (resetting the above config change), so it is not directly possible to build a correct debian package.
After executing configure as above, I compiled using "make" and copied the newly compiled run_email2trac to /usr/bin/run_email2trac
cp run_email2trac /usr/bin/
I followed the instructions on /subtrac. sara.nl/ oss/email2trac/ wiki/Email2trac Installation# Debianpackage sara.nl/ pub/outgoing/ email2trac. tar.gz
https:/
which are:
---
wget ftp://ftp.
tar -xzvf email2trac.tar.gz
cd email2trac-1.6.0/
#Now we need to install required packages to build the .deb file
aptitude install build-essential cdbs chrpath
dpkg-buildpackage -B
#Read the output and if everything went ok the folder should have .deb file. X.XX.XX- XX_amd64. deb
cd ../
dpkg -i email2trac_
---
The resulting run_email2trac executable in the debian package was configured with the incorrect defaults: $prefix/ bin $prefix/ etc --- has to be /etc
prefix=/usr/local --- has to be /usr/
exec_prefix=
sysconfdir=
MTA_USER=nobody --- has to be fetchmail
TRAC_USER=www-data
Of course, on ubuntu these values are different, so I hat to execute mta_user= fetchmail --with- trac_user= www-data --prefix=/usr --sysconfdir=/etc
./configure --with-
buildpackage executes a make clean (resetting the above config change), so it is not directly possible to build a correct debian package.
After executing configure as above, I compiled using "make" and copied the newly compiled run_email2trac to /usr/bin/ run_email2trac
cp run_email2trac /usr/bin/
This now works.
For more info, see also my attempts to use email2trac with an older version of ubuntu /subtrac. sara.nl/ oss/email2trac/ ticket/ 263
https:/