Menu

#115 No such file or directory: '../version'

Next_release
open
nobody
3.1.3 (1)
1
2015-08-18
2015-08-18
Anonymous
No

I try to build by this unstruction http://roxterm.sourceforge.net/index.php?page=installation&lang=en#Installing

I have this error:

/usr/bin/python ./mscript.py configure
make[0]: Entering directory "/usr/src/RPM/BUILD/roxterm-3.1.3/build"
Searching for program g++... /usr/bin/g++
Searching for program gcc... /usr/bin/gcc
Searching for program cpp... /usr/bin/cpp
Searching for program libtool... /usr/bin/libtool
Searching for program pkg-config... /usr/bin/pkg-config
Searching for program install... /bin/install
Searching for program sed... /bin/sed
Searching for program gpg... /usr/bin/gpg
Searching for program git... /usr/bin/git
Traceback (most recent call last):
File "./mscript.py", line 81, in <module>
fp = open(vfile, 'r')
IOError: [Errno 2] No such file or directory: '../version'
--
The file '../version' is found in . gitignore
--
$cat .gitignore | grep version
src/version.h
version
--
How to build correctly?</module>

Discussion

  • Tony Houghton

    Tony Houghton - 2015-08-18

    If you've got a tarball the version file should have come with it. If you downloaded with git mscript should create it using git describe.

    A quick fix is to create it with:

    echo 3.1.3 > version

     
  • Anonymous

    Anonymous - 2015-08-18

    Thanks for quickfix!

    But i downloaded with git and mscript didn't create the vesion file. What did i miss?

     
  • Tony Houghton

    Tony Houghton - 2015-08-18

    Can you attach a log? It should be in /usr/src/RPM/BUILD/roxterm-3.1.3/build/.maitch/log

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB