Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#143 closed defect (fixed)

make install fails

Reported by: Markus Tacker Owned by: Bas van der Vlies
Priority: normal Component: EmailtoTracScript
Severity: blocker Keywords:
Cc: Trac Release:


Trying to install on Gentoo Linux make install fails (see last dump)

# ./configure --with-trac_user=apache --sysconfdir=/etc
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating
config.status: creating
# make
gcc -DMTA_USER=\"nobody\" -DTRAC_USER=\"apache\" -DTRAC_SCRIPT_NAME=\"\" -DTRAC_SCRIPT_PATH=\"/bin\" -DDEBUG=0 -o run_email2trac run_email2trac.c
# make install
install --mode=4700 --owner=root run_email2trac /bin
for script in ; \
do \
          name=`basename $script '.py'` ; \
  install --mode=755 --owner=root $script  /bin/$name
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [install] Error 2

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by kilian.cavalotti@…

Fix (WorksForMe(tm)):

--    2006-01-20 15:01:46.000000000 +0100
+++ 2006-01-20 15:15:56.000000000 +0100
@@ -29,12 +29,8 @@
        $(CC) $(CFLAGS) -o $@ run_email2trac.c

 install: all
-       install --mode=4700 --owner=root run_email2trac $(EXEC_PREFIX)
-       for script in $(PYTHON_FILES) ; \
-       do \
-          name=`basename $$script '.py'` ; \
-         install --mode=755 --owner=root $$script  $(EXEC_PREFIX)/$$name
-       done
+       install -D --mode=4700 --owner=root run_email2trac $(EXEC_PREFIX)/run_email2trac
+       for script in $(PYTHON_FILES) ; do install --mode=755 --owner=root $$script  $(EXEC_PREFIX)/$$script; done

        rm run_email2trac

comment:2 Changed 13 years ago by Markus Tacker

Patch works for me too.

comment:3 Changed 13 years ago by anonymous

Keywords: fixed in 0.4.2 added
Resolution: fixed
Status: newclosed

Fixed the make install in the trunk version. There were serveral errors. Thanks for reporting

comment:4 Changed 13 years ago by Alec Thomas

Keywords: fixed in 0.4.2 removed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Bas van der Vlies.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.