Skip to content

building has issues #147

@hwroitzsch

Description

@hwroitzsch

Today I tried building morituri again and this is what happened:

+ aclocal -I m4
+ autoconf
+ automake -a
Makefile.am:45: warning: '%'-style pattern rules are a GNU make extension
m4/pychecker.mk:26: warning: shell basename `pwd`: non-POSIX variable name
m4/pychecker.mk:26: (probably a GNU make extension)
Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:27: warning: if $(subst _build,,$(thisdir: non-POSIX variable name
m4/pychecker.mk:27: (probably a GNU make extension)
Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:27: warning: shell pwd: non-POSIX variable name
m4/pychecker.mk:27: (probably a GNU make extension)
Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:29: warning: filter-out $(PYCHECKER_BLACKLIST: non-POSIX variable name
m4/pychecker.mk:29: (probably a GNU make extension)
Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:29: warning: wildcard $(PYCHECKER_WHITELIST: non-POSIX variable name
m4/pychecker.mk:29: (probably a GNU make extension)
Makefile.am:48:   'm4/pychecker.mk' included from here
configure.ac:58: error: required file 'morituri/rip/Makefile.in' not found
configure.ac:58: error: required file 'morituri/common/Makefile.in' not found
configure.ac:58: error: required file 'morituri/configure/Makefile.in' not found
configure.ac:58: error: required file 'morituri/configure/uninstalled.py.in' not found
configure.ac:58: error: required file 'morituri/configure/installed.py.in' not found
configure.ac:58: error: required file 'morituri/extern/Makefile.in' not found
configure.ac:58: error: required file 'morituri/image/Makefile.in' not found
configure.ac:58: error: required file 'morituri/program/Makefile.in' not found
configure.ac:58: error: required file 'morituri/result/Makefile.in' not found
configure.ac:58: error: required file 'morituri/test/Makefile.in' not found
morituri/Makefile.am:45: warning: '%'-style pattern rules are a GNU make extension
m4/pychecker.mk:26: warning: shell basename `pwd`: non-POSIX variable name
m4/pychecker.mk:26: (probably a GNU make extension)
morituri/Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:27: warning: if $(subst _build,,$(thisdir: non-POSIX variable name
m4/pychecker.mk:27: (probably a GNU make extension)
morituri/Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:27: warning: shell pwd: non-POSIX variable name
m4/pychecker.mk:27: (probably a GNU make extension)
morituri/Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:29: warning: filter-out $(PYCHECKER_BLACKLIST: non-POSIX variable name
m4/pychecker.mk:29: (probably a GNU make extension)
morituri/Makefile.am:48:   'm4/pychecker.mk' included from here
m4/pychecker.mk:29: warning: wildcard $(PYCHECKER_WHITELIST: non-POSIX variable name
m4/pychecker.mk:29: (probably a GNU make extension)
morituri/Makefile.am:48:   'm4/pychecker.mk' included from here
+ exit 1
xiaolong@xiaolong-VPCF13J0E:~/applications/morituri-master$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking nano version... 1
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a Python interpreter with version >= 2.3... python
checking for python... /home/xiaolong/development/anaconda3/bin/python
checking for python version... 3.4
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.4/site-packages
  File "<string>", line 1
    import sys ; print sys.version[:3]
                         ^
SyntaxError: invalid syntax
configure: Installing python code in /usr/local/lib/python/site-packages
configure: Setting plugins directory to /usr/local/lib/morituri/plugins
  File "<string>", line 1
    from morituri.configure import configure; print configure.revision
                                                            ^
SyntaxError: invalid syntax
configure: Setting revision to 
checking for epydoc... no
checking for pychecker... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating bin/rip
config.status: creating etc/bash_completion.d/bash-compgen
config.status: creating Makefile
config.status: creating bin/Makefile
config.status: creating etc/Makefile
config.status: creating etc/bash_completion.d/Makefile
config.status: creating m4/Makefile
config.status: error: cannot find input file: `morituri/Makefile.in'

There seem to be several issues. This is how I tried:

  1. download the zip from master branch and extract it
  2. cd into the extracted folder (morituri-master)
  3. git clone git://github.com/thomasvs/morituri.git
  4. cd morituri
  5. git submodule init
  6. git submodule update
  7. cd .. (! This step is not in the guide, but in the morituri folder there was no autogen.sh, so I think I have to go up again.)
  8. ./autogen.sh

EDIT: Could it be that you coded some of it in old python 2 style and some of it in new style? I have python 2.7 as well as 3.4 and 3.5 on my system, so it should have plenty to choose from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions