Skip to content

Doesn't compile #171

Description

@chrilith

Hi,

I'm trying to build my own version but the script is stuck on:

HEAD is now at 3fd44fd... Import l10n files
Submodule 'test/ttx/fonttools-code' (git://git.code.sf.net/p/fonttools/code) registered for path 'test/ttx/fonttools-code'
Cloning into 'test/ttx/fonttools-code'...
github --credentials get: github: command not found

Any clue?
Thanks

Activity

  1. chrilith commented on Nov 4, 2015

    @chrilith
    Author

    Tested again today with a new configuration, still hangs at:

    Cloning into 'test/ttx/fonttools-code'...

    Any clue?

  2. adityab commented on Nov 4, 2015

    @adityab
    Member

    I'm not sure why your output says github when the repository is hosted on git.code.sf.net. Are you perhaps using a nonstandard git interface, like github's scripts?

  3. chrilith commented on Nov 4, 2015

    @chrilith
    Author

    Well it seems I'm using GitHub "PortableGit" as client.

    Now, if I authenticate on sf.net first with git, I'm able to clone this repo. Seems that this build script expect a same credential for different GIT repos.

  4. chrilith commented on Nov 4, 2015

    @chrilith
    Author

    $ git --version
    git version 1.9.5.github.0

  5. chrilith commented on Nov 4, 2015

    @chrilith
    Author

    OK, well, seems that this cannot be built on Windows. I give up.

    CMake Error at webodf/CMakeLists.txt:12 (include):
    include could not find load file:

    C:/DEV/GitHub/build/WebODF-build/jsfileslist.txt
    

    -- Configuring incomplete, errors occurred!
    See also "C:/DEV/GitHub/build/WebODF-build/CMakeFiles/CMakeOutput.log".
    mingw32-make[2]: *** [WebODF-prefix/src/WebODF-stamp/WebODF-configure] Error 1
    mingw32-make[1]: *** [CMakeFiles/WebODF.dir/all] Error 2
    mingw32-make: *** [all] Error 2

  6. SergioReis97 commented on Nov 3, 2017

    @SergioReis97

    Having same problem, linux min 18.2, git version 2.7.4.
    Trying to build like in readme says

    git clone https://github.com/kogmbh/ViewerJS.git
    mkdir build
    cd build
    cmake ../ViewerJS
    make  
    

    returns this error on the make command :

    .
    .
    .
    [ 63%] Performing download step (git clone) for 'PDFjs'
    Cloning into 'PDFJS-source'...
    Note: checking out 'v1.1.114'.
    
    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.
    
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:
    
      git checkout -b <new-branch-name>
    
    HEAD is now at 3fd44fd... Import l10n files
    Submodule 'test/ttx/fonttools-code' (git://git.code.sf.net/p/fonttools/code) registered for path 'test/ttx/fonttools-code'
    Cloning into 'test/ttx/fonttools-code'...
    fatal: remote error: access denied or repository not exported: /p/fonttools/code
    fatal: clone of 'git://git.code.sf.net/p/fonttools/code' into submodule path 'test/ttx/fonttools-code' failed
    CMake Error at PDFjs-prefix/tmp/PDFjs-gitclone.cmake:67 (message):
      Failed to update submodules in:
      '/home/sergio/Desktop/javascript/build/PDFJS-source'
    
    
    CMakeFiles/PDFjs.dir/build.make:89: recipe for target 'PDFjs-prefix/src/PDFjs-stamp/PDFjs-download' failed
    make[2]: *** [PDFjs-prefix/src/PDFjs-stamp/PDFjs-download] Error 1
    CMakeFiles/Makefile2:139: recipe for target 'CMakeFiles/PDFjs.dir/all' failed
    make[1]: *** [CMakeFiles/PDFjs.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    
    
  7. sougiovn commented on Nov 7, 2018

    @sougiovn

    Same error in macOS Mojave 10.14
    git git version 2.17.1 (Apple Git-112)

  8. renierdbruyn commented on Jul 11, 2019

    @renierdbruyn

    Has anybody found a solution for this?

    This is still an issue.. I am using ubuntu 18.04

  9. Nimdoc commented on Jun 22, 2020

    @Nimdoc

    @renierdbruyn I'm not sure if you're still trying to use this almost a year later, but the problem was that the repository for a submodule of pdf.js no longer exists. I made a pull request that has a later version of pdf.js with the submodule fixed.

    #287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions