Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2021, 01:18 PM   #1
thyworld
Junior Member
thyworld began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2021
Device: none
Calibre final build error

Building the dependencies worked seamless output as below

ladmin@ubuntu:/dev/mapper/elib/calibre$ sudo python3.7 setup.py build_dep linux

*
* Running build_dep
*

truncate -s 2G /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img
mkfs.ext4 /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks: done
Creating filesystem with 524288 4k blocks and 131072 inodes
Filesystem UUID: 77f9cf73-e951-4202-a4b1-7fc00510c410
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

sudo mount /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img /dev/mapper/elib/calibre/bypy/b/linux/64/chroot
in-chroot groupadd -f -g 0 crusers
in-chroot useradd --home-dir=/home/root --create-home --uid=0 --gid=0 root
useradd: user 'root' already exists
sudo umount /dev/mapper/elib/calibre/bypy/b/linux/64/chroot




Now building the actual calibre itself I'm getting the below error, trying to understand what is missing here.


ladmin@ubuntu:/dev/mapper/elib/calibre$ sudo python3.7 setup.py linux64

*
* Running linux64
*

sudo mount /dev/mapper/elib/calibre/bypy/b/linux/64/chroot.img /dev/mapper/elib/calibre/bypy/b/linux/64/chroot
in-chroot python3.7 /bypy main /dev/mapper/elib/bypy program --sign-installers --notarize --compression-level=9
linux64: python3.7: No such file or directory


I have even downgraded my python from 3.8 to 3.7 for this. What am I missing?
@kovidgoyal
please help...
thyworld is offline   Reply With Quote
Old 06-28-2021, 05:47 AM   #2
thyworld
Junior Member
thyworld began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2021
Device: none
Bumping the thread,

Kindly help me with this
thyworld is offline   Reply With Quote
Advert
Old 06-28-2021, 07:49 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,994
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Follow the instruction exactly, do not make your own additions to them. Its a very clear set of commands to run, run exactly those commands.

https://github.com/kovidgoyal/calibr...ypy/README.rst
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device elfed Devices 4 07-21-2017 05:33 AM
Calibre Companion 3 final released (Android) Alexander Turcic News 1 08-20-2013 08:15 AM
Help Needed: Kindle 3 LIMITED BUILD ERROR Recovery-Util dasmoover Kindle Developer's Corner 6 06-27-2012 09:53 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM


All times are GMT -4. The time now is 09:38 AM.


MobileRead.com is a privately owned, operated and funded community.