Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile #171

Open
chrilith opened this issue Oct 15, 2015 · 9 comments
Open

Doesn't compile #171

chrilith opened this issue Oct 15, 2015 · 9 comments

Comments

@chrilith
Copy link

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

@chrilith
Copy link
Author

chrilith commented Nov 4, 2015

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

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

Any clue?

@adityab
Copy link
Member

adityab commented Nov 4, 2015

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?

@chrilith
Copy link
Author

chrilith commented Nov 4, 2015

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.

@chrilith
Copy link
Author

chrilith commented Nov 4, 2015

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

@chrilith
Copy link
Author

chrilith commented Nov 4, 2015

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

@SergioReis97
Copy link

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

git clone http://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

@sougiovn
Copy link

sougiovn commented Nov 7, 2018

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

@renierdbruyn
Copy link

renierdbruyn commented Jul 11, 2019

Has anybody found a solution for this?

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

@Nimdoc
Copy link

Nimdoc commented Jun 22, 2020

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants