[pypy-dev] [Fwd: Re: Building pypy from sources: partial build support ?]

Yury V. Zaytsev yury at shurup.com
Thu Oct 15 19:18:50 CEST 2015


-------- Forwarded Message --------
From: David Cournapeau <cournape at gmail.com>
To: Yury V. Zaytsev <yury at shurup.com>
Subject: Re: [pypy-dev] Building pypy from sources: partial build
support ?
Date: Thu, 15 Oct 2015 16:37:15 +0100

Thank Yury.


It seems my error happens after that stage actually:

* _tkinter/tklib_build.py
 /usr/bin/ld: cannot find -ltcl
collect2: ld returned 1 exit status
Traceback (most recent call last):
  File "_tkinter/tklib_build.py", line 51, in <module>
    library_dirs = libdirs
  File "/home/vagrant/src/tmp/pypy-2.6.1-src/lib_pypy/cffi/api.py", line
405, in verify
    lib = self.verifier.load_library()
  File "/home/vagrant/src/tmp/pypy-2.6.1-src/lib_pypy/cffi/verifier.py",
line 100, in load_library
    self._compile_module()
  File "/home/vagrant/src/tmp/pypy-2.6.1-src/lib_pypy/cffi/verifier.py",
line 196, in _compile_module
    outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
  File
"/home/vagrant/src/tmp/pypy-2.6.1-src/lib_pypy/cffi/ffiplatform.py",
line 38, in compile
    outputfilename = _build(tmpdir, ext)
  File
"/home/vagrant/src/tmp/pypy-2.6.1-src/lib_pypy/cffi/ffiplatform.py",
line 65, in _build
    raise VerificationError('%s: %s' % (e.__class__.__name__, e))
VerificationError: LinkError: command 'cc' failed with exit status 1

/home/vagrant/src/tmp/pypy-2.6.1-src/pypy/goal/pypy-c successfully
built, but errors while building the above modules will be ignored


Is there any way for to fix my build environment and restart the build
without starting from scratch there ?


David


On Thu, Oct 15, 2015 at 1:03 PM, Yury V. Zaytsev <yury at shurup.com>
wrote:
        Hi David,
        
        On Thu, 15 Oct 2015, David Cournapeau wrote:
        
                Is there a way to restart the compilation from the last
                point it failed ? The docs did not seem to mention
                anything,
        
        I don't think that there is a way to do it via the translation
        driver, but if the translation itself was succesfull, what you
        can do is to change into the directory in /tmp where the
        generated sources were written, edit the files directly and run
        make to continue the build from the point where it was
        interrupted.
        
        Hope that helps!
        
        -- 
        Sincerely yours,
        Yury V. Zaytsev
        




-- 
Sincerely yours,
Yury V. Zaytsev




More information about the pypy-dev mailing list